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.001303/0.001303, allocations: 82.48 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001369/0.001369, allocations: 168.4 kB / 22.46 MB, free: 4.984 MB / 14.72 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.414/1.414, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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-531:686: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-531:694: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.189/1.189, allocations: 154.7 MB / 413.9 MB, free: 5.164 MB / 382.1 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_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 2.044e-06/2.044e-06, allocations: 0 / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.138e-05, allocations: 9.719 kB / 0.6188 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009365/0.009396, allocations: 6.442 MB / 0.625 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005651/0.01505, allocations: 3.028 MB / 0.628 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005344/0.01558, allocations: 35.69 kB / 0.628 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.01838, allocations: 0.9485 MB / 0.629 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.01976, allocations: 0.528 MB / 0.6295 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.02095, allocations: 442.8 kB / 0.6299 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.02237, allocations: 1.232 MB / 0.6311 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.0232, allocations: 0.5333 MB / 0.6316 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008783/0.02408, allocations: 0.6625 MB / 0.6323 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/0.02479, allocations: 478.7 kB / 0.6327 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.0249, allocations: 68 kB / 0.6328 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.02557, allocations: 347.1 kB / 0.6331 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003283/0.0259, allocations: 323 kB / 0.6334 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.02626, allocations: 307.3 kB / 0.6337 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.02767, allocations: 1.254 MB / 0.6349 GB, free: 3.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.02768, allocations: 3.938 kB / 0.6349 GB, free: 3.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.694e-06/0.02768, allocations: 0 / 0.6349 GB, free: 3.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.02769, allocations: 4 kB / 0.635 GB, free: 3.906 MB / 0.545 GB 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.001972/0.02966, allocations: 1.115 MB / 0.636 GB, free: 2.754 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.0297, allocations: 12.03 kB / 0.6361 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.03125, allocations: 240.1 kB / 0.6363 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009833/0.03223, allocations: 0.5468 MB / 0.6368 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.03228, allocations: 53.67 kB / 0.6369 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.03241, allocations: 64.36 kB / 0.6369 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.0342, allocations: 1.332 MB / 0.6382 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.03423, allocations: 8.125 kB / 0.6382 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.03431, allocations: 32.36 kB / 0.6383 GB, free: 288 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/0.03448, allocations: 89.19 kB / 0.6384 GB, free: 200 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.03575, allocations: 0.7465 MB / 0.6391 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005186/0.04094, allocations: 4.519 MB / 0.6435 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.04198, allocations: 0.501 MB / 0.644 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.04243, allocations: 290.2 kB / 0.6443 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.04246, allocations: 4.5 kB / 0.6443 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.0425, allocations: 43.05 kB / 0.6443 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/0.0425, allocations: 4 kB / 0.6443 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003941/0.04644, allocations: 1.677 MB / 0.6459 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.04649, allocations: 55.91 kB / 0.646 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.04713, allocations: 0.5144 MB / 0.6465 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.04717, allocations: 37.7 kB / 0.6465 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.04749, allocations: 427.8 kB / 0.6469 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.04765, allocations: 178.5 kB / 0.6471 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.04786, allocations: 130.6 kB / 0.6472 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.04807, allocations: 370.8 kB / 0.6476 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.04852, allocations: 269.8 kB / 0.6479 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.04915, allocations: 496.9 kB / 0.6483 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.05026, allocations: 0.8086 MB / 0.6491 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.05027, allocations: 7.984 kB / 0.6491 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00197/0.05224, allocations: 1.074 MB / 0.6502 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.05226, allocations: 8 kB / 0.6502 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.05228, allocations: 8 kB / 0.6502 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008843/0.05316, allocations: 275.8 kB / 0.6505 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.05365, allocations: 131.7 kB / 0.6506 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007241/0.06089, allocations: 6.598 MB / 0.657 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.06152, allocations: 36.09 kB / 0.6571 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.06157, allocations: 39.94 kB / 0.6571 GB, free: 12.12 MB / 0.5762 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 (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.0003969/0.06197, allocations: 246.6 kB / 0.6573 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.06208, allocations: 71.58 kB / 0.6574 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.06376, allocations: 0.8779 MB / 0.6583 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.06377, allocations: 4 kB / 0.6583 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.06377, allocations: 4 kB / 0.6583 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.06378, allocations: 3.984 kB / 0.6583 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.06649, allocations: 1.523 MB / 0.6598 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.0665, allocations: 8.188 kB / 0.6598 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.06677, allocations: 67.88 kB / 0.6598 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007791/0.06755, allocations: 267.2 kB / 0.6601 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.06758, allocations: 12 kB / 0.6601 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007473/0.07505, allocations: 6.572 MB / 0.6665 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.07506, allocations: 12.02 kB / 0.6665 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.07684, allocations: 0.9737 MB / 0.6675 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.07719, allocations: 111.6 kB / 0.6676 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.07731, allocations: 8 kB / 0.6676 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.07771, allocations: 27.97 kB / 0.6676 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.07785, allocations: 47.86 kB / 0.6677 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.07789, allocations: 15.94 kB / 0.6677 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004757/0.07837, allocations: 346.8 kB / 0.668 GB, free: 400 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.07837, allocations: 0 / 0.668 GB, free: 400 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009239/0.07929, allocations: 220 kB / 0.6682 GB, free: 180 kB / 0.5762 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.0001849/0.07948, allocations: 123.1 kB / 0.6683 GB, free: 44 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.08168, allocations: 1.228 MB / 0.6695 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.08168, allocations: 0 / 0.6695 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.083, allocations: 0.858 MB / 0.6704 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.08406, allocations: 208.2 kB / 0.6706 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.0866, allocations: 1.343 MB / 0.6719 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.0871, allocations: 416.8 kB / 0.6723 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003775/0.08748, allocations: 117.5 kB / 0.6724 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.0876, allocations: 40.5 kB / 0.6724 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.0876, allocations: 0 / 0.6724 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.0211/0.1087, allocations: 11.39 MB / 0.6836 GB, free: 0.5742 MB / 0.5919 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.011072175577283] Failed to read output from testmodel.py, exit status != 0: 0.11792337335646152 0.133850846 0.102896607 Calling exit ...