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.0009709/0.0009709, 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.0009597/0.0009597, 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.9751/0.9751, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.8272/0.8272, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.413e-06/1.413e-06, allocations: 0.9844 kB / 0.5203 GB, free: 1.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.829e-05, allocations: 4.141 kB / 0.5203 GB, free: 1.109 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004833/0.004861, allocations: 4.871 MB / 0.5251 GB, free: 12.24 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.00719, allocations: 1.715 MB / 0.5268 GB, free: 10.53 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.007434, allocations: 39.62 kB / 0.5268 GB, free: 10.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.007988, allocations: 211.4 kB / 0.527 GB, free: 10.28 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.008512, allocations: 449.6 kB / 0.5274 GB, free: 9.844 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.009052, allocations: 394.3 kB / 0.5278 GB, free: 9.461 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007932/0.009845, allocations: 1.283 MB / 0.529 GB, free: 8.172 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00055/0.01039, allocations: 0.54 MB / 0.5296 GB, free: 7.633 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.01092, allocations: 0.6703 MB / 0.5302 GB, free: 6.961 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.01135, allocations: 478.7 kB / 0.5307 GB, free: 6.492 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.127e-05/0.01142, allocations: 68 kB / 0.5308 GB, free: 6.426 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.01161, allocations: 139.8 kB / 0.5309 GB, free: 6.289 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.01183, allocations: 331.1 kB / 0.5312 GB, free: 5.965 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.01205, allocations: 316.5 kB / 0.5315 GB, free: 5.656 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.01265, allocations: 0.7552 MB / 0.5322 GB, free: 4.898 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01265, allocations: 0 / 0.5322 GB, free: 4.898 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01265, allocations: 0.5 kB / 0.5322 GB, free: 4.898 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.01266, allocations: 0 / 0.5322 GB, free: 4.898 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.001107/0.01377, allocations: 1.177 MB / 0.5334 GB, free: 3.684 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.0138, allocations: 12.03 kB / 0.5334 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009013/0.0147, allocations: 342 kB / 0.5337 GB, free: 3.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.0153, allocations: 0.5653 MB / 0.5343 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.01533, allocations: 53.66 kB / 0.5343 GB, free: 2.703 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.01541, allocations: 72.31 kB / 0.5344 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.01623, allocations: 1.078 MB / 0.5355 GB, free: 1.348 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.01625, allocations: 8.125 kB / 0.5355 GB, free: 1.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.01629, allocations: 28.36 kB / 0.5355 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-05/0.01639, allocations: 93.12 kB / 0.5356 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.01686, allocations: 359.2 kB / 0.5359 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.01981, allocations: 5.711 MB / 0.5415 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.02032, allocations: 289.3 kB / 0.5418 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.0205, allocations: 137.1 kB / 0.5419 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.02052, allocations: 4.5 kB / 0.5419 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.02055, allocations: 43.45 kB / 0.5419 GB, free: 10.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 1.643e-06/0.02055, allocations: 0 / 0.5419 GB, free: 10.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.001798/0.02235, allocations: 1.088 MB / 0.543 GB, free: 9.387 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.02238, allocations: 57.38 kB / 0.5431 GB, free: 9.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.02275, allocations: 0.5375 MB / 0.5436 GB, free: 8.766 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.02278, allocations: 29.7 kB / 0.5436 GB, free: 8.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.02297, allocations: 474.6 kB / 0.5441 GB, free: 8.262 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.02308, allocations: 187 kB / 0.5442 GB, free: 8.078 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.0232, allocations: 129.2 kB / 0.5444 GB, free: 7.945 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.02334, allocations: 0.543 MB / 0.5449 GB, free: 7.391 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.02351, allocations: 109.9 kB / 0.545 GB, free: 7.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.0238, allocations: 435.1 kB / 0.5454 GB, free: 6.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.02432, allocations: 0.5833 MB / 0.546 GB, free: 6.027 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.02433, allocations: 7.938 kB / 0.546 GB, free: 6.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009259/0.02525, allocations: 0.7433 MB / 0.5467 GB, free: 5.254 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.02527, allocations: 8 kB / 0.5467 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.02528, allocations: 11.98 kB / 0.5467 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007594/0.02604, allocations: 308.3 kB / 0.547 GB, free: 4.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.0263, allocations: 123.8 kB / 0.5472 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.03, allocations: 7.599 MB / 0.5546 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.03025, allocations: 47.95 kB / 0.5546 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.03028, allocations: 27.94 kB / 0.5546 GB, free: 12.65 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.0001583/0.03044, allocations: 203.8 kB / 0.5548 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/0.03052, allocations: 87.58 kB / 0.5549 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009063/0.03143, allocations: 0.5466 MB / 0.5555 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.03144, allocations: 8 kB / 0.5555 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.03144, allocations: 0 / 0.5555 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.03145, allocations: 4.953 kB / 0.5555 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.03277, allocations: 1.167 MB / 0.5566 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.03277, allocations: 4 kB / 0.5566 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.03292, allocations: 67.88 kB / 0.5567 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006647/0.03358, allocations: 290 kB / 0.557 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.03361, allocations: 8 kB / 0.557 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003805/0.03741, allocations: 7.601 MB / 0.5644 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.03741, allocations: 8 kB / 0.5644 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.03819, allocations: 0.7382 MB / 0.5651 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.03833, allocations: 108.6 kB / 0.5652 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.03837, allocations: 12 kB / 0.5652 GB, free: 1.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.03855, allocations: 28.69 kB / 0.5653 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.03863, allocations: 51.78 kB / 0.5653 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.03865, allocations: 16.69 kB / 0.5653 GB, free: 1.066 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002362/0.03888, allocations: 346.8 kB / 0.5657 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03888, allocations: 1.156 kB / 0.5657 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005024/0.03939, allocations: 220 kB / 0.5659 GB, free: 0.5156 MB / 490.7 MB 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.0001316/0.03952, allocations: 113.7 kB / 0.566 GB, free: 404 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.04059, allocations: 1.193 MB / 0.5671 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.04059, allocations: 0 / 0.5671 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006348/0.04123, allocations: 0.9684 MB / 0.5681 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.0418, allocations: 202.7 kB / 0.5683 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.04344, allocations: 1.274 MB / 0.5695 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.04361, allocations: 216.4 kB / 0.5697 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.04383, allocations: 99.12 kB / 0.5698 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.04392, allocations: 44.44 kB / 0.5699 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.04392, allocations: 0 / 0.5699 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.01338/0.0573, allocations: 11.43 MB / 0.581 GB, free: 1.082 MB / 0.4948 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.05018539307639]