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.001379/0.001379, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008714/0.0008714, allocations: 111.8 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009668/0.0009669, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2158, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.0051/0.2209, allocations: 6.573 MB / 413.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.2237, allocations: 1.692 MB / 415.3 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005072/0.2243, allocations: 19.94 kB / 415.3 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.2248, allocations: 198.7 kB / 415.5 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007856/0.2256, allocations: 421.3 kB / 416 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.2262, allocations: 400.7 kB / 416.3 MB, free: 18.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.2306, allocations: 7.466 MB / 423.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.2328, allocations: 2.485 MB / 426.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.2355, allocations: 2.192 MB / 428.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/0.2398, allocations: 2.532 MB / 431 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.2413, allocations: 360 kB / 431.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2427, allocations: 360 kB / 431.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009043/0.2437, allocations: 1.136 MB / 432.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003098/0.2468, allocations: 2.508 MB / 435.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.2532, allocations: 7.649 MB / 443 MB, free: 7.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2532, allocations: 4 kB / 443 MB, free: 7.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2532, allocations: 0 / 443 MB, free: 7.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002723/0.2535, allocations: 0 / 443 MB, free: 7.691 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.01565/0.2691, allocations: 5.818 MB / 448.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2692, allocations: 8.031 kB / 448.8 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.2703, allocations: 0.5031 MB / 449.3 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/0.2752, allocations: 2.565 MB / 451.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.2754, allocations: 320.5 kB / 452.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006475/0.2761, allocations: 432.2 kB / 452.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.2867, allocations: 6.049 MB / 458.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.484e-05/0.2868, allocations: 0 / 458.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/0.2872, allocations: 180 kB / 458.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/0.2873, allocations: 96 kB / 459 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.2999, allocations: 5.375 MB / 464.3 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/0.3351, allocations: 18.01 MB / 482.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004997/0.3401, allocations: 3.706 MB / 486.1 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003783/0.344, allocations: 3.029 MB / 489.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.3441, allocations: 34.36 kB / 489.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.3443, allocations: 89.38 kB / 489.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=301): time 5.801e-06/0.3443, allocations: 3.938 kB / 489.2 MB, free: 8.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=304): time 0.01641/0.3607, allocations: 9.992 MB / 499.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.3609, allocations: 291.4 kB / 499.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004945/0.3658, allocations: 3.217 MB / 0.4909 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006403/0.3665, allocations: 93.7 kB / 0.491 GB, free: 10.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.3676, allocations: 1.667 MB / 0.4926 GB, free: 9.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.3687, allocations: 1.078 MB / 0.4937 GB, free: 8.145 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009841/0.3697, allocations: 0.5818 MB / 0.4943 GB, free: 7.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3698, allocations: 309.1 kB / 0.4946 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/0.3728, allocations: 2.005 MB / 0.4965 GB, free: 5.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.3759, allocations: 2.309 MB / 0.4988 GB, free: 2.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2142/0.5901, allocations: 8.581 MB / 0.5071 GB, free: 86.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.5902, allocations: 0.6562 kB / 0.5071 GB, free: 86.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.007006/0.5972, allocations: 5.277 MB / 0.5123 GB, free: 84.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5972, allocations: 3.906 kB / 0.5123 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.5973, allocations: 3.812 kB / 0.5123 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/0.5981, allocations: 343 kB / 0.5126 GB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.601, allocations: 0.8166 MB / 0.5134 GB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005125/0.6061, allocations: 7.305 MB / 0.5206 GB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/0.6091, allocations: 165.3 kB / 0.5207 GB, free: 78.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.6093, allocations: 93.03 kB / 0.5208 GB, free: 78.4 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 system: 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002424/0.6118, allocations: 1.362 MB / 0.5221 GB, free: 77.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/0.6124, allocations: 320.2 kB / 0.5224 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.6133, allocations: 419.1 kB / 0.5228 GB, free: 77.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.6134, allocations: 28 kB / 0.5229 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/0.6134, allocations: 7.938 kB / 0.5229 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.6134, allocations: 17.25 kB / 0.5229 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.6253, allocations: 9.163 MB / 0.5318 GB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6254, allocations: 4.094 kB / 0.5319 GB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/0.6283, allocations: 0.7232 MB / 0.5326 GB, free: 67.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.629, allocations: 289.9 kB / 0.5328 GB, free: 67.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.6292, allocations: 103.9 kB / 0.5329 GB, free: 66.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005042/0.6342, allocations: 10.29 MB / 0.543 GB, free: 55.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6343, allocations: 3.938 kB / 0.543 GB, free: 55.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03799/0.6723, allocations: 31.52 MB / 0.5738 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.673, allocations: 461.4 kB / 0.5742 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005288/0.6735, allocations: 108 kB / 0.5743 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/0.6762, allocations: 387.6 kB / 0.5747 GB, free: 23.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/0.6766, allocations: 210 kB / 0.5749 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.6768, allocations: 101.5 kB / 0.575 GB, free: 22.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002507/0.6793, allocations: 2.275 MB / 0.5772 GB, free: 20.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6793, allocations: 0 / 0.5772 GB, free: 20.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003243/0.6825, allocations: 1.441 MB / 0.5786 GB, free: 18.99 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003729/0.6829, allocations: 257.3 kB / 0.5788 GB, free: 18.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005095/0.688, allocations: 4.705 MB / 0.5834 GB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.688, allocations: 6.562 kB / 0.5834 GB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.6907, allocations: 2.76 MB / 0.5861 GB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/0.6939, allocations: 0.7332 MB / 0.5869 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/0.7132, allocations: 15.78 MB / 0.6023 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/0.7166, allocations: 3.191 MB / 0.6054 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00388/0.7205, allocations: 1.303 MB / 0.6067 GB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/0.7215, allocations: 243.4 kB / 0.6069 GB, free: 5.801 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7215, allocations: 0 / 0.6069 GB, free: 5.801 MB / 394.7 MB Notification: Performance of Templates: time 0.1042/0.8256, allocations: 59.99 MB / 0.6655 GB, free: 10.26 MB / 458.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)