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.001498/0.001498, allocations: 199.3 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 226.5 MB / 245.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008408/0.0008408, allocations: 92.83 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003021, allocations: 4 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3301, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4542, allocations: 82.62 MB / 492 MB, free: 8.895 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.4546, allocations: 79.94 kB / 492.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4757/0.9303, allocations: 79.28 MB / 0.558 GB, free: 53.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.018e-06/0.9304, allocations: 0 / 0.558 GB, free: 53.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005831/0.931, allocations: 104 kB / 0.5581 GB, free: 53.36 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.01729/0.9483, allocations: 4.909 MB / 0.5629 GB, free: 48.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.9484, allocations: 8.031 kB / 0.5629 GB, free: 48.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.9513, allocations: 0.5031 MB / 0.5634 GB, free: 47.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009004/0.9603, allocations: 3.102 MB / 0.5664 GB, free: 44.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.9607, allocations: 320.5 kB / 0.5667 GB, free: 44.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.9627, allocations: 436.2 kB / 0.5671 GB, free: 43.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.9796, allocations: 5.831 MB / 0.5728 GB, free: 38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/0.9798, allocations: 192 / 0.5728 GB, free: 38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001867/0.9817, allocations: 175.9 kB / 0.573 GB, free: 37.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.941e-05/0.9818, allocations: 96 kB / 0.5731 GB, free: 37.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.994, allocations: 5.161 MB / 0.5781 GB, free: 32.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04516/1.039, allocations: 18.14 MB / 0.5958 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006575/1.046, allocations: 3.694 MB / 0.5994 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004414/1.05, allocations: 3.029 MB / 0.6024 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/1.051, allocations: 34.36 kB / 0.6024 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.561e-05/1.051, allocations: 81.5 kB / 0.6025 GB, free: 7.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=301): time 7.364e-06/1.051, allocations: 3.938 kB / 0.6025 GB, free: 7.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=304): time 0.0224/1.073, allocations: 10.07 MB / 0.6123 GB, free: 12.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/1.073, allocations: 291.4 kB / 0.6126 GB, free: 12.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007679/1.081, allocations: 3.182 MB / 0.6157 GB, free: 9.344 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009714/1.082, allocations: 97.7 kB / 0.6158 GB, free: 9.242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.084, allocations: 1.667 MB / 0.6174 GB, free: 7.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.086, allocations: 1.086 MB / 0.6185 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007409/1.087, allocations: 64 kB / 0.6186 GB, free: 6.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005178/1.087, allocations: 448.9 kB / 0.619 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005268/1.092, allocations: 2.005 MB / 0.621 GB, free: 3.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/1.097, allocations: 2.297 MB / 0.6232 GB, free: 1.605 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.021/1.118, allocations: 8.576 MB / 0.6316 GB, free: 8.957 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/1.118, allocations: 0 / 0.6316 GB, free: 8.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01289/1.131, allocations: 5.248 MB / 0.6367 GB, free: 3.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/1.131, allocations: 8 kB / 0.6367 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.131, allocations: 0 / 0.6367 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/1.133, allocations: 351.1 kB / 0.637 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00432/1.137, allocations: 0.8266 MB / 0.6378 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/1.146, allocations: 7.304 MB / 0.645 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004339/1.15, allocations: 163.8 kB / 0.6451 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008682/1.151, allocations: 96 kB / 0.6452 GB, free: 10.39 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: oLine1.L[8].i = 0.0 oLine2.L[8].i = 0.0 oLine3.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%) 5,(1,100.0%) 5,(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004503/1.156, allocations: 1.356 MB / 0.6465 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001856/1.157, allocations: 316.4 kB / 0.6469 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/1.159, allocations: 421.8 kB / 0.6473 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/1.159, allocations: 28 kB / 0.6473 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-05/1.159, allocations: 15.92 kB / 0.6473 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-05/1.159, allocations: 11.95 kB / 0.6473 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02498/1.184, allocations: 9.195 MB / 0.6563 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.184, allocations: 0 / 0.6563 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003671/1.188, allocations: 0.7137 MB / 0.657 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008825/1.189, allocations: 285.8 kB / 0.6573 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005787/1.189, allocations: 99.94 kB / 0.6574 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00872/1.198, allocations: 10.28 MB / 0.6674 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.198, allocations: 7.969 kB / 0.6674 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3473/1.545, allocations: 6.074 MB / 0.6733 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003235/1.549, allocations: 462.6 kB / 0.6738 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003537/1.552, allocations: 101.8 kB / 0.6739 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007059/1.56, allocations: 421.4 kB / 0.6743 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00143/1.561, allocations: 211.8 kB / 0.6745 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005832/1.562, allocations: 91.03 kB / 0.6746 GB, free: 115.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006095/1.568, allocations: 2.263 MB / 0.6768 GB, free: 115.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.568, allocations: 0 / 0.6768 GB, free: 115.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007202/1.575, allocations: 1.038 MB / 0.6778 GB, free: 115.2 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.001395/1.577, allocations: 256.4 kB / 0.678 GB, free: 115.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01126/1.588, allocations: 4.709 MB / 0.6826 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.528e-05/1.588, allocations: 9.844 kB / 0.6826 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00592/1.594, allocations: 2.764 MB / 0.6853 GB, free: 113.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/1.604, allocations: 0.7325 MB / 0.686 GB, free: 113.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/1.639, allocations: 13.76 MB / 0.6995 GB, free: 108 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006853/1.646, allocations: 3.125 MB / 0.7025 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005366/1.651, allocations: 1.227 MB / 0.7037 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.652, allocations: 225.6 kB / 0.7039 GB, free: 107.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.903e-06/1.652, allocations: 0 / 0.7039 GB, free: 107.1 MB / 442.7 MB Notification: Performance of Templates: time 0.09287/1.745, allocations: 49.18 MB / 0.752 GB, free: 73.79 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)