Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8307/0.8307, allocations: 154.6 MB / 414.9 MB, free: 0.6797 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5203 GB, free: 1.445 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.13e-05, allocations: 2.312 kB / 0.5203 GB, free: 1.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01321/0.01323, allocations: 6.895 MB / 0.5271 GB, free: 10.54 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.01691, allocations: 3.136 MB / 0.5301 GB, free: 7.406 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.01719, allocations: 39.62 kB / 0.5302 GB, free: 7.367 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01844, allocations: 0.9759 MB / 0.5311 GB, free: 6.391 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006428/0.01908, allocations: 0.5402 MB / 0.5317 GB, free: 5.852 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.01965, allocations: 454.4 kB / 0.5321 GB, free: 5.41 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008557/0.0205, allocations: 1.266 MB / 0.5333 GB, free: 4.141 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005653/0.02107, allocations: 0.5333 MB / 0.5338 GB, free: 3.605 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.0216, allocations: 0.6702 MB / 0.5345 GB, free: 2.934 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.02202, allocations: 478.7 kB / 0.535 GB, free: 2.465 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.02209, allocations: 64 kB / 0.535 GB, free: 2.402 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.02242, allocations: 347.1 kB / 0.5353 GB, free: 2.062 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004615/0.02288, allocations: 344.8 kB / 0.5357 GB, free: 1.727 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.0231, allocations: 311.3 kB / 0.536 GB, free: 1.422 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007051/0.0238, allocations: 0.872 MB / 0.5368 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.02381, allocations: 4 kB / 0.5368 GB, free: 0.543 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02381, allocations: 0 / 0.5368 GB, free: 0.543 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.02382, allocations: 0.9375 kB / 0.5368 GB, free: 0.543 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001139/0.02496, allocations: 1.214 MB / 0.538 GB, free: 15.29 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.02499, allocations: 15.06 kB / 0.538 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.02602, allocations: 339.7 kB / 0.5384 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.02661, allocations: 0.5672 MB / 0.5389 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.02664, allocations: 57.61 kB / 0.539 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.02672, allocations: 72.31 kB / 0.539 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.02758, allocations: 1.076 MB / 0.5401 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.0276, allocations: 8.125 kB / 0.5401 GB, free: 12.94 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.02765, allocations: 32.36 kB / 0.5401 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.02776, allocations: 93.17 kB / 0.5402 GB, free: 12.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.02822, allocations: 354.4 kB / 0.5405 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.03172, allocations: 5.708 MB / 0.5461 GB, free: 6.578 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.03219, allocations: 288.6 kB / 0.5464 GB, free: 6.281 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.03237, allocations: 133.1 kB / 0.5465 GB, free: 6.148 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.03239, allocations: 5.031 kB / 0.5465 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.03241, allocations: 45.88 kB / 0.5466 GB, free: 6.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.03241, allocations: 1.5 kB / 0.5466 GB, free: 6.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.00176/0.03417, allocations: 1.093 MB / 0.5476 GB, free: 4.988 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.0342, allocations: 55.91 kB / 0.5477 GB, free: 4.922 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.03456, allocations: 0.5375 MB / 0.5482 GB, free: 4.367 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.03459, allocations: 35.33 kB / 0.5483 GB, free: 4.328 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.03478, allocations: 470.6 kB / 0.5487 GB, free: 3.863 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.214e-05/0.03488, allocations: 178.5 kB / 0.5489 GB, free: 3.688 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.035, allocations: 136.2 kB / 0.549 GB, free: 3.547 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.03513, allocations: 0.5402 MB / 0.5495 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.03556, allocations: 117.9 kB / 0.5496 GB, free: 2.879 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.03585, allocations: 424.6 kB / 0.55 GB, free: 2.336 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.03633, allocations: 0.5759 MB / 0.5506 GB, free: 1.641 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.03633, allocations: 4 kB / 0.5506 GB, free: 1.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000858/0.03719, allocations: 0.7481 MB / 0.5513 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.03721, allocations: 10.75 kB / 0.5514 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.03722, allocations: 8 kB / 0.5514 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/0.03794, allocations: 312.2 kB / 0.5517 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.03818, allocations: 125.2 kB / 0.5518 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/0.04212, allocations: 7.607 MB / 0.5592 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.04236, allocations: 39.95 kB / 0.5592 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.0424, allocations: 33.94 kB / 0.5593 GB, free: 8.258 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.04254, allocations: 197.7 kB / 0.5595 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.04262, allocations: 83.58 kB / 0.5595 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/0.04332, allocations: 0.5467 MB / 0.5601 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.04332, allocations: 4.844 kB / 0.5601 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.04332, allocations: 4 kB / 0.5601 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.04333, allocations: 5.141 kB / 0.5601 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.04452, allocations: 1.165 MB / 0.5612 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.04453, allocations: 6.344 kB / 0.5612 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.04466, allocations: 63.83 kB / 0.5613 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006292/0.04529, allocations: 292.8 kB / 0.5616 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.04531, allocations: 15.62 kB / 0.5616 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.04901, allocations: 7.602 MB / 0.569 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.04901, allocations: 4 kB / 0.569 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.04972, allocations: 0.7343 MB / 0.5697 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.04985, allocations: 103.5 kB / 0.5698 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.04989, allocations: 12.8 kB / 0.5698 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.05007, allocations: 27.97 kB / 0.5699 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.05014, allocations: 48.36 kB / 0.5699 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.05016, allocations: 17.44 kB / 0.5699 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002124/0.05037, allocations: 342.8 kB / 0.5703 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.05037, allocations: 0 / 0.5703 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007449/0.05112, allocations: 224 kB / 0.5705 GB, free: 12.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/0.05124, allocations: 113.6 kB / 0.5706 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.05225, allocations: 1.197 MB / 0.5718 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.05225, allocations: 0 / 0.5718 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.05289, allocations: 0.968 MB / 0.5727 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.0535, allocations: 199.4 kB / 0.5729 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.05501, allocations: 1.278 MB / 0.5741 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.05515, allocations: 211.4 kB / 0.5743 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.05534, allocations: 107.1 kB / 0.5744 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.05542, allocations: 36.5 kB / 0.5745 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.05542, allocations: 0 / 0.5745 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of Templates: time 0.01295/0.06837, allocations: 11.45 MB / 0.5857 GB, free: 12.69 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.101033532060683]