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.0009329/0.0009329, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.0009858/0.0009858, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9649/0.9649, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.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-535:34: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-535:42: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.7957/0.7957, allocations: 154.9 MB / 415.9 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5219 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.389e-05, allocations: 3.188 kB / 0.5219 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004998/0.005032, allocations: 4.102 MB / 0.5259 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.007744, allocations: 1.526 MB / 0.5274 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.008113, allocations: 35.69 kB / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.008709, allocations: 172.1 kB / 0.5276 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000703/0.009412, allocations: 365 kB / 0.5279 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.01009, allocations: 345.8 kB / 0.5283 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.01112, allocations: 0.9902 MB / 0.5292 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.01164, allocations: 386.4 kB / 0.5296 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000713/0.01236, allocations: 0.5203 MB / 0.5301 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005431/0.0129, allocations: 386.9 kB / 0.5305 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.01298, allocations: 48 kB / 0.5305 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.01325, allocations: 137.2 kB / 0.5306 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.01347, allocations: 263.2 kB / 0.5309 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.01369, allocations: 235.4 kB / 0.5311 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.01442, allocations: 0.5916 MB / 0.5317 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01442, allocations: 1.031 kB / 0.5317 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.163e-06/0.01442, allocations: 4 kB / 0.5317 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.01443, allocations: 0 / 0.5317 GB, free: 7.484 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001164/0.0156, allocations: 0.989 MB / 0.5327 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.01563, allocations: 8.031 kB / 0.5327 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009424/0.01657, allocations: 248.4 kB / 0.5329 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.01717, allocations: 463.5 kB / 0.5334 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.0172, allocations: 38.22 kB / 0.5334 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.01733, allocations: 64.44 kB / 0.5335 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.01801, allocations: 0.7523 MB / 0.5342 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.01803, allocations: 8.125 kB / 0.5342 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.01808, allocations: 28.11 kB / 0.5342 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.01822, allocations: 63.8 kB / 0.5343 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.01854, allocations: 225.2 kB / 0.5345 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.02148, allocations: 4.294 MB / 0.5387 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.0217, allocations: 132.4 kB / 0.5388 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.02181, allocations: 80.92 kB / 0.5389 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.02184, allocations: 8.281 kB / 0.5389 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.02187, allocations: 38.42 kB / 0.5389 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.02187, allocations: 4 kB / 0.5389 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.002848/0.02472, allocations: 1.349 MB / 0.5403 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.02475, allocations: 59.34 kB / 0.5403 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.02518, allocations: 466.1 kB / 0.5408 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.02521, allocations: 33.7 kB / 0.5408 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.02541, allocations: 407 kB / 0.5412 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.0255, allocations: 154.7 kB / 0.5413 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.02564, allocations: 111.9 kB / 0.5414 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.02579, allocations: 0.539 MB / 0.542 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.02591, allocations: 74.12 kB / 0.542 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.02616, allocations: 323.3 kB / 0.5423 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.02658, allocations: 443.1 kB / 0.5428 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.02658, allocations: 3.938 kB / 0.5428 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008792/0.02746, allocations: 0.5757 MB / 0.5433 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.02748, allocations: 11.98 kB / 0.5433 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.02749, allocations: 9.5 kB / 0.5434 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/0.02818, allocations: 223.9 kB / 0.5436 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.02846, allocations: 99.84 kB / 0.5437 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.03189, allocations: 5.554 MB / 0.5491 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.03215, allocations: 19.98 kB / 0.5491 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.03218, allocations: 16.62 kB / 0.5491 GB, free: 4.633 MB / 0.5105 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.0001762/0.03236, allocations: 190.8 kB / 0.5493 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.03245, allocations: 67.61 kB / 0.5494 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.03321, allocations: 462 kB / 0.5498 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.03322, allocations: 4.938 kB / 0.5498 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.03322, allocations: 4 kB / 0.5498 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.03322, allocations: 3.984 kB / 0.5498 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.03456, allocations: 0.9282 MB / 0.5507 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.03457, allocations: 8 kB / 0.5507 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.03477, allocations: 58.55 kB / 0.5508 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000622/0.03539, allocations: 216.8 kB / 0.551 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.03542, allocations: 17.56 kB / 0.551 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.03845, allocations: 5.536 MB / 0.5564 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.03845, allocations: 4 kB / 0.5564 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.03921, allocations: 0.7003 MB / 0.5571 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.03934, allocations: 79.62 kB / 0.5572 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.03938, allocations: 9.219 kB / 0.5572 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.03952, allocations: 8 kB / 0.5572 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.03959, allocations: 39.92 kB / 0.5572 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.03961, allocations: 8.938 kB / 0.5572 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00017/0.03978, allocations: 290.7 kB / 0.5575 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.03978, allocations: 0 / 0.5575 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004794/0.04026, allocations: 169.1 kB / 0.5577 GB, free: 11.37 MB / 0.5261 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.0001308/0.04039, allocations: 112.6 kB / 0.5578 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.04142, allocations: 0.8836 MB / 0.5587 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.04142, allocations: 1.688 kB / 0.5587 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.04191, allocations: 0.7213 MB / 0.5594 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.04249, allocations: 173.7 kB / 0.5595 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.044, allocations: 1.146 MB / 0.5606 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.04413, allocations: 186.9 kB / 0.5608 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.04431, allocations: 67.84 kB / 0.5609 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.04455, allocations: 206.1 kB / 0.5611 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/0.04455, allocations: 0 / 0.5611 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.01157/0.05612, allocations: 9.976 MB / 0.5708 GB, free: 14.04 MB / 0.5417 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.901026461739093]