Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001956/0.001956, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002071/0.002071, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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 178] 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.869e-05, allocations: 2.969 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009927/0.009956, allocations: 6.171 MB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006743/0.0167, allocations: 3.242 MB / 0.5288 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.01713, allocations: 39.62 kB / 0.5289 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002766/0.0199, allocations: 0.9658 MB / 0.5298 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.02152, allocations: 0.4921 MB / 0.5303 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.02281, allocations: 0.5099 MB / 0.5308 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.02436, allocations: 1.127 MB / 0.5319 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008599/0.02522, allocations: 0.5061 MB / 0.5324 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009822/0.0262, allocations: 0.617 MB / 0.533 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007162/0.02692, allocations: 430.8 kB / 0.5334 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.02703, allocations: 56.56 kB / 0.5334 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009607/0.02799, allocations: 450.7 kB / 0.5339 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003578/0.02834, allocations: 312.3 kB / 0.5342 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.02873, allocations: 275.3 kB / 0.5344 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.03044, allocations: 1.215 MB / 0.5356 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.03044, allocations: 2.75 kB / 0.5356 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.03045, allocations: 0 / 0.5356 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.03046, allocations: 3.938 kB / 0.5356 GB, free: 2.172 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002082/0.03254, allocations: 1.144 MB / 0.5367 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.03258, allocations: 15.97 kB / 0.5368 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.03427, allocations: 335.7 kB / 0.5371 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.03561, allocations: 0.5517 MB / 0.5376 GB, free: 80 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.03567, allocations: 45.67 kB / 0.5377 GB, free: 36 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.0358, allocations: 64.38 kB / 0.5377 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.03728, allocations: 0.9716 MB / 0.5387 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.03731, allocations: 4.75 kB / 0.5387 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.03739, allocations: 38.86 kB / 0.5387 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.03749, allocations: 69.2 kB / 0.5388 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.03831, allocations: 380.5 kB / 0.5391 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0066/0.04491, allocations: 5.804 MB / 0.5448 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.04559, allocations: 258.5 kB / 0.5451 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.04634, allocations: 262.3 kB / 0.5453 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.04639, allocations: 8.688 kB / 0.5453 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.04643, allocations: 41.39 kB / 0.5453 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.04643, allocations: 0.9062 kB / 0.5454 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.003985/0.05041, allocations: 1.196 MB / 0.5465 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.05046, allocations: 55.41 kB / 0.5466 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006603/0.05112, allocations: 0.5453 MB / 0.5471 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.05117, allocations: 38.42 kB / 0.5471 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.05158, allocations: 466.7 kB / 0.5476 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.05176, allocations: 167.6 kB / 0.5477 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.05196, allocations: 120 kB / 0.5479 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003446/0.05231, allocations: 0.5547 MB / 0.5484 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.05258, allocations: 126.2 kB / 0.5485 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.05315, allocations: 440.7 kB / 0.5489 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009043/0.05406, allocations: 0.6033 MB / 0.5495 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.05406, allocations: 0 / 0.5495 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001791/0.05585, allocations: 0.7762 MB / 0.5503 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.05587, allocations: 10.81 kB / 0.5503 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.05589, allocations: 8 kB / 0.5503 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.05711, allocations: 273 kB / 0.5506 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.05747, allocations: 103.8 kB / 0.5507 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009414/0.06688, allocations: 7.886 MB / 0.5584 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.0675, allocations: 35.97 kB / 0.5584 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.06757, allocations: 25.34 kB / 0.5584 GB, free: 9.562 MB / 0.5261 GB 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004489/0.06802, allocations: 221.9 kB / 0.5586 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.06822, allocations: 75.56 kB / 0.5587 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.06994, allocations: 0.5915 MB / 0.5593 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.06994, allocations: 4 kB / 0.5593 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.06995, allocations: 7.984 kB / 0.5593 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.06996, allocations: 3.938 kB / 0.5593 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.07264, allocations: 1.286 MB / 0.5606 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.07264, allocations: 0 / 0.5606 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.07283, allocations: 51.89 kB / 0.5606 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.07393, allocations: 270.3 kB / 0.5609 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.07397, allocations: 8.781 kB / 0.5609 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0086/0.08257, allocations: 7.884 MB / 0.5686 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.08257, allocations: 7.938 kB / 0.5686 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.08421, allocations: 0.7744 MB / 0.5693 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.08454, allocations: 99.56 kB / 0.5694 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.0846, allocations: 8 kB / 0.5694 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.08489, allocations: 24.81 kB / 0.5695 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.08501, allocations: 39.92 kB / 0.5695 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.08505, allocations: 13.59 kB / 0.5695 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004548/0.08551, allocations: 346.8 kB / 0.5698 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.08551, allocations: 0 / 0.5698 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008963/0.0864, allocations: 196 kB / 0.57 GB, free: 13.03 MB / 0.5417 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,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.0001669/0.08657, allocations: 109.2 kB / 0.5701 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.08865, allocations: 1.201 MB / 0.5713 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.08865, allocations: 0 / 0.5713 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.09041, allocations: 0.9794 MB / 0.5723 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.09152, allocations: 208.1 kB / 0.5725 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.09376, allocations: 1.179 MB / 0.5736 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.09428, allocations: 387.8 kB / 0.574 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002741/0.09456, allocations: 85.98 kB / 0.5741 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.09464, allocations: 32.5 kB / 0.5741 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of SimCode: time 1.362e-06/0.09464, allocations: 0 / 0.5741 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of Templates: time 0.02091/0.1156, allocations: 10.51 MB / 0.5844 GB, free: 14.4 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.557301593013108]