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.0007589/0.0007589, allocations: 96.38 kB / 19.7 MB, free: 460 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.0008048/0.0008048, allocations: 211.3 kB / 23 MB, free: 2.988 MB / 13.93 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.8883/0.8883, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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-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 0.7628/0.7628, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 75.83 kB / 0.719 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4814, allocations: 102 MB / 0.8186 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006961/0.4884, allocations: 6.551 MB / 0.825 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005042/0.4934, allocations: 3.074 MB / 0.828 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006695/0.4941, allocations: 42.34 kB / 0.828 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.4958, allocations: 0.9538 MB / 0.829 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.497, allocations: 0.5139 MB / 0.8295 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.4981, allocations: 453.7 kB / 0.8299 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.4996, allocations: 1.228 MB / 0.8311 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5007, allocations: 0.532 MB / 0.8316 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.5018, allocations: 496.2 kB / 0.8321 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008862/0.5027, allocations: 0.5162 MB / 0.8326 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.5028, allocations: 67.25 kB / 0.8327 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007194/0.5036, allocations: 338.5 kB / 0.833 GB, free: 9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.5039, allocations: 321.5 kB / 0.8333 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.5044, allocations: 376.1 kB / 0.8337 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.506, allocations: 1.24 MB / 0.8349 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.506, allocations: 0.7969 kB / 0.8349 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.215e-06/0.506, allocations: 0 / 0.8349 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.519e-05/0.506, allocations: 0 / 0.8349 GB, free: 8.238 MB / 0.6198 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.002033/0.508, allocations: 1.126 MB / 0.836 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5081, allocations: 8.406 kB / 0.836 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.5092, allocations: 240.6 kB / 0.8362 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.51, allocations: 0.5423 MB / 0.8367 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.5101, allocations: 51.36 kB / 0.8368 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.5102, allocations: 65.55 kB / 0.8368 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.5116, allocations: 1.338 MB / 0.8381 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.5116, allocations: 7.125 kB / 0.8382 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/0.5116, allocations: 29.16 kB / 0.8382 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.5118, allocations: 85.34 kB / 0.8383 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5128, allocations: 0.7505 MB / 0.839 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.5165, allocations: 4.523 MB / 0.8434 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.5173, allocations: 0.5136 MB / 0.8439 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.5176, allocations: 286.3 kB / 0.8442 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.5176, allocations: 5.125 kB / 0.8442 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.5176, allocations: 39.28 kB / 0.8442 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.813e-06/0.5176, allocations: 4 kB / 0.8442 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.00252/0.5201, allocations: 1.672 MB / 0.8459 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.5202, allocations: 57.22 kB / 0.8459 GB, free: 468 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.5207, allocations: 0.5206 MB / 0.8464 GB, free: 136 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.5207, allocations: 39.83 kB / 0.8465 GB, free: 92 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.5209, allocations: 426.8 kB / 0.8469 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.521, allocations: 172.7 kB / 0.847 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.5212, allocations: 136.3 kB / 0.8472 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5213, allocations: 368.8 kB / 0.8475 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.5216, allocations: 275.7 kB / 0.8478 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.522, allocations: 0.49 MB / 0.8483 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.5227, allocations: 0.8047 MB / 0.8491 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5227, allocations: 1.812 kB / 0.8491 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001327/0.5241, allocations: 1.069 MB / 0.8501 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.5241, allocations: 12.88 kB / 0.8501 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5241, allocations: 6.719 kB / 0.8501 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009278/0.525, allocations: 290.1 kB / 0.8504 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.5254, allocations: 125 kB / 0.8505 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004791/0.5302, allocations: 6.592 MB / 0.8569 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.5307, allocations: 38.62 kB / 0.857 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.5307, allocations: 30.81 kB / 0.857 GB, free: 7.227 MB / 0.6355 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.0003793/0.5311, allocations: 250.9 kB / 0.8573 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.5312, allocations: 73.91 kB / 0.8573 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.5322, allocations: 0.8743 MB / 0.8582 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5322, allocations: 5.281 kB / 0.8582 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5322, allocations: 7.812 kB / 0.8582 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.5322, allocations: 3.984 kB / 0.8582 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.5344, allocations: 1.523 MB / 0.8597 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5345, allocations: 6.281 kB / 0.8597 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.5346, allocations: 63.86 kB / 0.8598 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.5351, allocations: 270.4 kB / 0.86 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.5351, allocations: 12.19 kB / 0.86 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.5394, allocations: 6.577 MB / 0.8664 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5394, allocations: 1.344 kB / 0.8664 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.5406, allocations: 0.9684 MB / 0.8674 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.5409, allocations: 120.1 kB / 0.8675 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.5409, allocations: 15.88 kB / 0.8675 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.5411, allocations: 28.64 kB / 0.8675 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.5412, allocations: 52.05 kB / 0.8676 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.5413, allocations: 14.81 kB / 0.8676 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004242/0.5417, allocations: 340.9 kB / 0.8679 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5417, allocations: 0 / 0.8679 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007806/0.5425, allocations: 228.1 kB / 0.8682 GB, free: 14.34 MB / 0.6511 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.0003691/0.5428, allocations: 117.9 kB / 0.8683 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.5442, allocations: 1.232 MB / 0.8695 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5442, allocations: 1.125 kB / 0.8695 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.545, allocations: 0.8626 MB / 0.8703 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.5456, allocations: 212 kB / 0.8705 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.5476, allocations: 1.422 MB / 0.8719 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.548, allocations: 418.3 kB / 0.8723 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5481, allocations: 46.33 kB / 0.8723 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.533e-06/0.5481, allocations: 0 / 0.8723 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.01888/0.567, allocations: 20.92 MB / 0.8928 GB, free: 8.301 MB / 0.6667 GB " [Timeout remaining time 659] 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: 7.5515582649968565] Failed to read output from testmodel.py, exit status != 0: 0.5743001499213278 0.5811707349999999 0.073399499 Calling exit ...