Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008642/0.0008641, allocations: 89.02 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002048/0.0002048, allocations: 12 kB / 357.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1823, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08938/0.2717, allocations: 82.66 MB / 492.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.2719, allocations: 83.95 kB / 492.2 MB, free: 7.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3431/0.615, allocations: 79.26 MB / 0.558 GB, free: 51.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6151, allocations: 0 / 0.558 GB, free: 51.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003798/0.6155, allocations: 107.9 kB / 0.5581 GB, free: 51.7 MB / 378.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.01284/0.6283, allocations: 4.945 MB / 0.563 GB, free: 46.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6284, allocations: 11.97 kB / 0.563 GB, free: 46.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.6301, allocations: 0.5099 MB / 0.5635 GB, free: 46.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007147/0.6372, allocations: 3.025 MB / 0.5664 GB, free: 43.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.6374, allocations: 312.1 kB / 0.5667 GB, free: 42.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000756/0.6382, allocations: 443.7 kB / 0.5672 GB, free: 42.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007867/0.6461, allocations: 5.787 MB / 0.5728 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.366e-05/0.6462, allocations: 0 / 0.5728 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004856/0.6467, allocations: 176 kB / 0.573 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.6467, allocations: 96 kB / 0.5731 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006774/0.6535, allocations: 5.165 MB / 0.5781 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0258/0.6793, allocations: 18.12 MB / 0.5958 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.6831, allocations: 3.694 MB / 0.5994 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.974e-05/0.6832, allocations: 42.31 kB / 0.5995 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.6832, allocations: 85.45 kB / 0.5995 GB, free: 8.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=301): time 3.787e-06/0.6832, allocations: 0 / 0.5995 GB, free: 8.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=304): time 0.01266/0.6959, allocations: 10.07 MB / 0.6094 GB, free: 14.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.696, allocations: 291.4 kB / 0.6096 GB, free: 14.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.7, allocations: 2.928 MB / 0.6125 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003161/0.7003, allocations: 97.7 kB / 0.6126 GB, free: 10.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.7013, allocations: 1.671 MB / 0.6142 GB, free: 9.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007625/0.7021, allocations: 1.082 MB / 0.6153 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.7023, allocations: 68 kB / 0.6154 GB, free: 8.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.7025, allocations: 441 kB / 0.6158 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/0.7051, allocations: 2.001 MB / 0.6177 GB, free: 5.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.7079, allocations: 2.286 MB / 0.62 GB, free: 3.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008469/0.7164, allocations: 4.791 MB / 0.6246 GB, free: 14.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7164, allocations: 0 / 0.6246 GB, free: 14.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.007277/0.7237, allocations: 5.283 MB / 0.6298 GB, free: 9.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.7237, allocations: 6.5 kB / 0.6298 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7237, allocations: 3.938 kB / 0.6298 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000879/0.7246, allocations: 351.1 kB / 0.6301 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/0.7278, allocations: 0.8191 MB / 0.6309 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.7337, allocations: 7.383 MB / 0.6382 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.7365, allocations: 163.8 kB / 0.6383 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.7368, allocations: 96 kB / 0.6384 GB, free: 15.84 MB / 426.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.002507/0.7393, allocations: 1.364 MB / 0.6397 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/0.74, allocations: 316.4 kB / 0.64 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008756/0.7409, allocations: 421.6 kB / 0.6404 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.7409, allocations: 28 kB / 0.6405 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/0.7409, allocations: 4 kB / 0.6405 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.741, allocations: 15.94 kB / 0.6405 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.754, allocations: 9.199 MB / 0.6495 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.754, allocations: 4.125 kB / 0.6495 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/0.7571, allocations: 0.7139 MB / 0.6502 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006418/0.7578, allocations: 285.8 kB / 0.6504 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/0.758, allocations: 99.94 kB / 0.6505 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006568/0.7646, allocations: 10.32 MB / 0.6606 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7646, allocations: 0 / 0.6606 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0081/0.7727, allocations: 6.142 MB / 0.6666 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.7739, allocations: 461.4 kB / 0.6671 GB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/0.7743, allocations: 99.95 kB / 0.6671 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/0.7767, allocations: 427.6 kB / 0.6676 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.7771, allocations: 190 kB / 0.6677 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/0.7773, allocations: 91.98 kB / 0.6678 GB, free: 408 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.1682/0.9455, allocations: 2.258 MB / 0.67 GB, free: 114.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.9455, allocations: 0 / 0.67 GB, free: 114.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004275/0.9498, allocations: 1.034 MB / 0.671 GB, free: 114.7 MB / 442.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.0007104/0.9505, allocations: 254.9 kB / 0.6713 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00536/0.9559, allocations: 4.712 MB / 0.6759 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.9559, allocations: 6.375 kB / 0.6759 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.9584, allocations: 2.708 MB / 0.6785 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.9613, allocations: 0.6938 MB / 0.6792 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.9776, allocations: 13.74 MB / 0.6926 GB, free: 107.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/0.9801, allocations: 3.203 MB / 0.6958 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003568/0.9837, allocations: 1.226 MB / 0.697 GB, free: 106.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007135/0.9844, allocations: 222.7 kB / 0.6972 GB, free: 106.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.253e-06/0.9845, allocations: 4 kB / 0.6972 GB, free: 106.6 MB / 442.7 MB Notification: Performance of Templates: time 0.06136/1.046, allocations: 48.12 MB / 0.7442 GB, free: 77.67 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)