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.001201/0.001201, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009486/0.0009486, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.8848/0.8848, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.7448/0.7448, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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.313e-06/1.313e-06, allocations: 0 / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.638e-05, allocations: 9.812 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004252/0.004268, allocations: 4.859 MB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.006912, allocations: 1.712 MB / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.007191, allocations: 35.69 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.007829, allocations: 216.4 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005886/0.008418, allocations: 448.5 kB / 0.5274 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.009014, allocations: 402.5 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00098/0.009995, allocations: 1.275 MB / 0.529 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006059/0.0106, allocations: 0.5411 MB / 0.5296 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.01124, allocations: 0.6604 MB / 0.5302 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.01178, allocations: 0.4948 MB / 0.5307 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.01186, allocations: 65.53 kB / 0.5308 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.01209, allocations: 147.7 kB / 0.5309 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.0123, allocations: 331.1 kB / 0.5312 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.01253, allocations: 311.2 kB / 0.5315 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.01316, allocations: 0.742 MB / 0.5322 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.01316, allocations: 0 / 0.5322 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.01316, allocations: 0 / 0.5322 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.01317, allocations: 0 / 0.5322 GB, free: 5.988 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001405/0.01457, allocations: 1.175 MB / 0.5334 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.01461, allocations: 12.03 kB / 0.5334 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007694/0.01538, allocations: 317.7 kB / 0.5337 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.01596, allocations: 0.5599 MB / 0.5342 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.01599, allocations: 51.14 kB / 0.5343 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.01606, allocations: 72.31 kB / 0.5344 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.01689, allocations: 1.08 MB / 0.5354 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.01691, allocations: 8.125 kB / 0.5354 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.01695, allocations: 32.86 kB / 0.5355 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.831e-05/0.01705, allocations: 89.78 kB / 0.5355 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.01767, allocations: 354.2 kB / 0.5359 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.02081, allocations: 5.717 MB / 0.5415 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.02127, allocations: 285.7 kB / 0.5417 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.02144, allocations: 136.3 kB / 0.5419 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.02146, allocations: 12.09 kB / 0.5419 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.02149, allocations: 45.88 kB / 0.5419 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 1.482e-06/0.02149, allocations: 0 / 0.5419 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001712/0.0232, allocations: 1.087 MB / 0.543 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.02323, allocations: 60.84 kB / 0.543 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.02358, allocations: 0.5336 MB / 0.5436 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.0236, allocations: 34.23 kB / 0.5436 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.02378, allocations: 470.6 kB / 0.544 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/0.02387, allocations: 179.2 kB / 0.5442 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.024, allocations: 136.2 kB / 0.5443 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.02413, allocations: 0.5368 MB / 0.5449 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.02429, allocations: 113.9 kB / 0.545 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.02457, allocations: 428.6 kB / 0.5454 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.02504, allocations: 0.584 MB / 0.546 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02504, allocations: 0 / 0.546 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001119/0.02616, allocations: 0.7514 MB / 0.5467 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.02618, allocations: 10.03 kB / 0.5467 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.02618, allocations: 7.938 kB / 0.5467 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/0.0269, allocations: 309.4 kB / 0.547 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.02715, allocations: 124.5 kB / 0.5471 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.03086, allocations: 7.607 MB / 0.5545 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.0311, allocations: 46.33 kB / 0.5546 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.03113, allocations: 31.94 kB / 0.5546 GB, free: 13.77 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 (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.0001397/0.03127, allocations: 196.4 kB / 0.5548 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.03134, allocations: 92.95 kB / 0.5549 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.03201, allocations: 0.5431 MB / 0.5554 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.03202, allocations: 4 kB / 0.5554 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.03202, allocations: 4 kB / 0.5554 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.03202, allocations: 5.891 kB / 0.5554 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.03318, allocations: 1.169 MB / 0.5566 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.03318, allocations: 0 / 0.5566 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.03331, allocations: 59.89 kB / 0.5566 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000624/0.03394, allocations: 294.7 kB / 0.5569 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.03396, allocations: 11.94 kB / 0.5569 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.03759, allocations: 7.602 MB / 0.5644 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03759, allocations: 0 / 0.5644 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.03827, allocations: 0.7379 MB / 0.5651 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.03839, allocations: 103.5 kB / 0.5652 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.03844, allocations: 16.92 kB / 0.5652 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.03861, allocations: 35.91 kB / 0.5652 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.03868, allocations: 43.8 kB / 0.5653 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.0387, allocations: 18.09 kB / 0.5653 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002075/0.0389, allocations: 346.8 kB / 0.5656 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.0389, allocations: 0 / 0.5656 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004261/0.03933, allocations: 224 kB / 0.5658 GB, free: 1.637 MB / 0.5261 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 9.7e-05/0.03943, allocations: 114 kB / 0.5659 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009402/0.04037, allocations: 1.196 MB / 0.5671 GB, free: 264 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.04037, allocations: 0 / 0.5671 GB, free: 264 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008449/0.04122, allocations: 0.9687 MB / 0.5681 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.04175, allocations: 200.8 kB / 0.5682 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.04313, allocations: 1.276 MB / 0.5695 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.04325, allocations: 212.6 kB / 0.5697 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.04344, allocations: 99.58 kB / 0.5698 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.04352, allocations: 40.5 kB / 0.5698 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.04352, allocations: 0 / 0.5698 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of Templates: time 0.01313/0.05664, allocations: 11.95 MB / 0.5815 GB, free: 1.695 MB / 0.5417 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: 3.6146166613325477]