Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0008964/0.0008964, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 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.0007145/0.0007145, allocations: 203.2 kB / 23 MB, free: 3.129 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.8373/0.8373, allocations: 230.6 MB / 256.8 MB, free: 3.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7384/0.7384, allocations: 203.8 MB / 0.5049 GB, free: 0.7578 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [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.0009343/0.0009343, allocations: 63.91 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4254, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004972/0.4304, allocations: 5.749 MB / 0.8247 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.4333, allocations: 2.779 MB / 0.8274 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.4337, allocations: 33.28 kB / 0.8275 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.4347, allocations: 0.7129 MB / 0.8281 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000799/0.4355, allocations: 425 kB / 0.8286 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.4363, allocations: 411.5 kB / 0.8289 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000952/0.4373, allocations: 0.9604 MB / 0.8299 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.4378, allocations: 380.5 kB / 0.8302 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/0.4383, allocations: 384.6 kB / 0.8306 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.4388, allocations: 435.4 kB / 0.831 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.4389, allocations: 51.41 kB / 0.8311 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005877/0.4394, allocations: 369.9 kB / 0.8314 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.4396, allocations: 255.8 kB / 0.8317 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.4399, allocations: 353.3 kB / 0.832 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.4409, allocations: 0.9846 MB / 0.833 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4409, allocations: 0.7031 kB / 0.833 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4409, allocations: 1.281 kB / 0.833 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.4409, allocations: 0 / 0.833 GB, free: 16.97 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001196/0.4421, allocations: 0.9182 MB / 0.8339 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4421, allocations: 10.78 kB / 0.8339 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007919/0.4429, allocations: 206.7 kB / 0.8341 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.4435, allocations: 465.3 kB / 0.8345 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.4436, allocations: 41.77 kB / 0.8346 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.4437, allocations: 47.73 kB / 0.8346 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.4445, allocations: 0.8315 MB / 0.8354 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.4445, allocations: 6.625 kB / 0.8354 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.4446, allocations: 28.05 kB / 0.8355 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.4447, allocations: 63.75 kB / 0.8355 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/0.4454, allocations: 0.5722 MB / 0.8361 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.4479, allocations: 4.497 MB / 0.8405 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.4483, allocations: 276.8 kB / 0.8407 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.4485, allocations: 215.2 kB / 0.8409 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4485, allocations: 3.781 kB / 0.8409 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4486, allocations: 38.03 kB / 0.841 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.4486, allocations: 0 / 0.841 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.003367/0.4519, allocations: 2.355 MB / 0.8433 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.452, allocations: 55.47 kB / 0.8433 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.4523, allocations: 468.8 kB / 0.8438 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.4523, allocations: 33.08 kB / 0.8438 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4525, allocations: 355 kB / 0.8441 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.4525, allocations: 150.3 kB / 0.8443 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4526, allocations: 106.2 kB / 0.8444 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.4527, allocations: 363.9 kB / 0.8447 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4529, allocations: 238.8 kB / 0.845 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.4532, allocations: 414.4 kB / 0.8454 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.4538, allocations: 0.6727 MB / 0.846 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4538, allocations: 5.219 kB / 0.846 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001022/0.4548, allocations: 0.9117 MB / 0.8469 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4548, allocations: 8.594 kB / 0.8469 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4548, allocations: 9.375 kB / 0.8469 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004596/0.4553, allocations: 224 kB / 0.8471 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.4556, allocations: 116.1 kB / 0.8473 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.4583, allocations: 5.036 MB / 0.8522 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.4587, allocations: 30.25 kB / 0.8522 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.4587, allocations: 23.22 kB / 0.8522 GB, free: 3.414 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002318/0.4589, allocations: 222.1 kB / 0.8524 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.459, allocations: 65.34 kB / 0.8525 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/0.4599, allocations: 0.7625 MB / 0.8532 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4599, allocations: 3.969 kB / 0.8532 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4599, allocations: 2.156 kB / 0.8532 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4599, allocations: 7.75 kB / 0.8533 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.4616, allocations: 1.454 MB / 0.8547 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4616, allocations: 3.234 kB / 0.8547 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.4618, allocations: 70.8 kB / 0.8547 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.4622, allocations: 202.3 kB / 0.8549 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.4622, allocations: 9.891 kB / 0.8549 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/0.4649, allocations: 4.975 MB / 0.8598 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.465, allocations: 7.031 kB / 0.8598 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.4662, allocations: 1.133 MB / 0.8609 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4664, allocations: 93.97 kB / 0.861 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.4664, allocations: 14.19 kB / 0.861 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.4666, allocations: 27.75 kB / 0.861 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.4667, allocations: 40.62 kB / 0.8611 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.4667, allocations: 14 kB / 0.8611 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002897/0.467, allocations: 316.2 kB / 0.8614 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.467, allocations: 0 / 0.8614 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005538/0.4675, allocations: 167.8 kB / 0.8616 GB, free: 12.96 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.4676, allocations: 115.4 kB / 0.8617 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.4687, allocations: 0.9664 MB / 0.8626 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4687, allocations: 1.312 kB / 0.8626 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.4693, allocations: 0.6717 MB / 0.8633 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.4699, allocations: 189 kB / 0.8635 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.4715, allocations: 1.335 MB / 0.8648 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4719, allocations: 0.9538 MB / 0.8657 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.472, allocations: 40.16 kB / 0.8657 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of SimCode: time 8.51e-07/0.472, allocations: 1.219 kB / 0.8657 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.01408/0.4861, allocations: 14.99 MB / 0.8804 GB, free: 2.25 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.936469049891457] Failed to read output from testmodel.py, exit status != 0: 0.4922855729237199 0.49987835700000005 0.05728758900000001 Calling exit ...