Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 199.9 kB / 17.05 MB, free: 4.965 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 226.6 MB / 244.3 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007847/0.0007846, allocations: 98.47 kB / 296.4 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002773, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2476, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.004124/0.2518, allocations: 5.727 MB / 413.2 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.2542, allocations: 1.651 MB / 414.9 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.2546, allocations: 25.03 kB / 414.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.255, allocations: 190.7 kB / 415.1 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.2557, allocations: 426.1 kB / 415.5 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.2563, allocations: 315.5 kB / 415.8 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004404/0.2607, allocations: 8.148 MB / 424 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.2627, allocations: 2.02 MB / 426 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.265, allocations: 1.825 MB / 427.8 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.2671, allocations: 2.128 MB / 429.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.2675, allocations: 280 kB / 430.2 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006306/0.2682, allocations: 280 kB / 430.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.2688, allocations: 1.008 MB / 431.5 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008528/0.2697, allocations: 0.933 MB / 432.4 MB, free: 2.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004848/0.2745, allocations: 6.297 MB / 438.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2746, allocations: 4 kB / 438.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2746, allocations: 0 / 438.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002538/0.2748, allocations: 0 / 438.7 MB, free: 12.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01149/0.2863, allocations: 5.011 MB / 443.7 MB, free: 7.414 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2864, allocations: 8.031 kB / 443.7 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.2878, allocations: 0.506 MB / 444.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/0.2924, allocations: 2.487 MB / 446.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.2926, allocations: 320 kB / 447.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000678/0.2933, allocations: 439.8 kB / 447.5 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.3052, allocations: 6.017 MB / 453.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.3053, allocations: 0 / 453.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000471/0.3058, allocations: 180 kB / 453.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-05/0.3059, allocations: 99.98 kB / 453.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.3159, allocations: 5.352 MB / 459.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03555/0.3514, allocations: 18.23 MB / 477.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005691/0.3572, allocations: 3.694 MB / 481 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004233/0.3615, allocations: 3.028 MB / 484.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.3617, allocations: 38.36 kB / 484.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.3618, allocations: 81.5 kB / 484.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=301): time 1.178e-05/0.3618, allocations: 3.984 kB / 484.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=304): time 0.01915/0.381, allocations: 10.01 MB / 494.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/0.3812, allocations: 291.4 kB / 494.5 MB, free: 3.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006132/0.3874, allocations: 3.189 MB / 497.7 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006567/0.388, allocations: 93.7 kB / 497.8 MB, free: 476 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.3894, allocations: 1.671 MB / 499.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/0.3907, allocations: 1.078 MB / 0.4888 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005208/0.3913, allocations: 75.98 kB / 0.4889 GB, free: 13.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002733/0.3916, allocations: 440.9 kB / 0.4893 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/0.3951, allocations: 2.005 MB / 0.4912 GB, free: 11.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/0.3992, allocations: 2.298 MB / 0.4935 GB, free: 8.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.411, allocations: 4.775 MB / 0.4982 GB, free: 4.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4111, allocations: 0 / 0.4982 GB, free: 4.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.2115/0.6226, allocations: 5.282 MB / 0.5033 GB, free: 88.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.6226, allocations: 5.375 kB / 0.5033 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.6227, allocations: 1.594 kB / 0.5033 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.6239, allocations: 350.6 kB / 0.5037 GB, free: 88.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/0.6276, allocations: 0.8164 MB / 0.5044 GB, free: 88.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/0.6336, allocations: 7.284 MB / 0.5116 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/0.637, allocations: 165.8 kB / 0.5117 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000603/0.6376, allocations: 99.03 kB / 0.5118 GB, free: 82.22 MB / 378.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: oLine3.L[8].i = 0.0 oLine2.L[8].i = 0.0 oLine1.L[8].i = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 15,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003334/0.6409, allocations: 1.362 MB / 0.5131 GB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/0.6424, allocations: 318.6 kB / 0.5134 GB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.6434, allocations: 418.6 kB / 0.5138 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/0.6435, allocations: 29 kB / 0.5139 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.744e-05/0.6435, allocations: 3 kB / 0.5139 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/0.6436, allocations: 20.28 kB / 0.5139 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.6576, allocations: 9.162 MB / 0.5228 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6576, allocations: 0 / 0.5228 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002975/0.6606, allocations: 0.7262 MB / 0.5236 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006679/0.6613, allocations: 291.4 kB / 0.5238 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002532/0.6616, allocations: 101.5 kB / 0.5239 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/0.6667, allocations: 10.3 MB / 0.534 GB, free: 65.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6667, allocations: 0 / 0.534 GB, free: 65.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00779/0.6745, allocations: 6.084 MB / 0.5399 GB, free: 59.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.6756, allocations: 465.8 kB / 0.5404 GB, free: 59.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/0.6764, allocations: 103.4 kB / 0.5405 GB, free: 59.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/0.6791, allocations: 423.6 kB / 0.5409 GB, free: 58.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.6794, allocations: 178.1 kB / 0.541 GB, free: 58.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/0.6797, allocations: 87.98 kB / 0.5411 GB, free: 58.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003148/0.6829, allocations: 2.267 MB / 0.5433 GB, free: 56.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6829, allocations: 0 / 0.5433 GB, free: 56.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002829/0.6857, allocations: 1.027 MB / 0.5443 GB, free: 55.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 57 (oLine1.L[1].i,oLine1.L[2].i,oLine1.L[3].i,oLine1.L[4].i,oLine1.L[5].i,oLine1.L[6].i,oLine1.L[7].i,oLine1.C[1].v,oLine1.C[2].v,oLine1.C[3].v,oLine1.C[4].v,oLine1.C[5].v,oLine1.C[6].v,oLine1.C[7].v,oLine2.L[1].i,oLine2.L[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.C[1].v,oLine2.C[2].v,oLine2.C[3].v,oLine2.C[4].v,oLine2.C[5].v,oLine2.C[6].v,oLine2.C[7].v,oLine3.L[1].i,oLine3.L[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.C[1].v,oLine3.C[2].v,oLine3.C[3].v,oLine3.C[4].v,oLine3.C[5].v,oLine3.C[6].v,oLine3.C[7].v,oLine4.L[1].i,oLine4.L[2].i,oLine4.L[3].i,oLine4.L[4].i,oLine4.L[5].i,oLine4.L[6].i,oLine4.L[7].i,oLine4.L[8].i,oLine4.C[1].v,oLine4.C[2].v,oLine4.C[3].v,oLine4.C[4].v,oLine4.C[5].v,oLine4.C[6].v,oLine4.C[7].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000456/0.6862, allocations: 261 kB / 0.5446 GB, free: 55.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005628/0.6918, allocations: 4.707 MB / 0.5492 GB, free: 50.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.6919, allocations: 6.562 kB / 0.5492 GB, free: 50.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002736/0.6946, allocations: 2.708 MB / 0.5518 GB, free: 47.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.6984, allocations: 0.7473 MB / 0.5526 GB, free: 46.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/0.717, allocations: 13.77 MB / 0.566 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/0.7202, allocations: 3.061 MB / 0.569 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001967/0.7222, allocations: 243.4 kB / 0.5692 GB, free: 29.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7222, allocations: 0 / 0.5692 GB, free: 29.74 MB / 378.7 MB Notification: Performance of Templates: time 0.3389/1.061, allocations: 167.1 MB / 0.7324 GB, free: 116.5 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)