Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009041/0.0009041, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009522/0.0009522, allocations: 169 kB / 23.27 MB, free: 1.223 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.9544/0.9544, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7174/0.7174, allocations: 154.9 MB / 415.1 MB, free: 260 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.686e-05, allocations: 6.203 kB / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004419/0.004446, allocations: 4.783 MB / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.007045, allocations: 1.701 MB / 0.5275 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/0.00759, allocations: 39.62 kB / 0.5275 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.008206, allocations: 214.4 kB / 0.5277 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007426/0.008949, allocations: 458.2 kB / 0.5281 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.009614, allocations: 402.6 kB / 0.5285 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009808/0.0106, allocations: 1.279 MB / 0.5298 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006024/0.0112, allocations: 0.5294 MB / 0.5303 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.01188, allocations: 0.6673 MB / 0.5309 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005217/0.0124, allocations: 0.4935 MB / 0.5314 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-05/0.01247, allocations: 64 kB / 0.5315 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.0127, allocations: 143.7 kB / 0.5316 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.01289, allocations: 331 kB / 0.5319 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.01311, allocations: 311.2 kB / 0.5322 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.01377, allocations: 0.7358 MB / 0.533 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01378, allocations: 0 / 0.533 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01378, allocations: 2.75 kB / 0.533 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.01378, allocations: 0 / 0.533 GB, free: 5.414 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.001037/0.01482, allocations: 1.174 MB / 0.5341 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.01486, allocations: 12.03 kB / 0.5341 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007444/0.0156, allocations: 285.4 kB / 0.5344 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.01615, allocations: 0.5451 MB / 0.5349 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.01618, allocations: 53.67 kB / 0.535 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.01624, allocations: 64.36 kB / 0.535 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.01699, allocations: 1.029 MB / 0.536 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.01701, allocations: 12.08 kB / 0.536 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.01705, allocations: 32.36 kB / 0.5361 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.697e-05/0.01715, allocations: 89.19 kB / 0.5362 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.01744, allocations: 287.5 kB / 0.5364 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.0206, allocations: 5.58 MB / 0.5419 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.02104, allocations: 253.7 kB / 0.5421 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.02117, allocations: 117.1 kB / 0.5422 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.0212, allocations: 8.5 kB / 0.5422 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.02123, allocations: 43.14 kB / 0.5423 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.02123, allocations: 0 / 0.5423 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001561/0.02279, allocations: 0.8984 MB / 0.5432 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.02282, allocations: 55.91 kB / 0.5432 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.02312, allocations: 0.5299 MB / 0.5437 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.02314, allocations: 38.3 kB / 0.5438 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.02333, allocations: 486.5 kB / 0.5442 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.02342, allocations: 179.5 kB / 0.5444 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.02354, allocations: 136.2 kB / 0.5445 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.02368, allocations: 0.5429 MB / 0.5451 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.02378, allocations: 91.14 kB / 0.5452 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.024, allocations: 400.6 kB / 0.5455 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.02438, allocations: 0.5334 MB / 0.5461 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.02438, allocations: 4 kB / 0.5461 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008777/0.02526, allocations: 0.6811 MB / 0.5467 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.02528, allocations: 8 kB / 0.5467 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.02529, allocations: 6.281 kB / 0.5467 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.02592, allocations: 301 kB / 0.547 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.02615, allocations: 111.8 kB / 0.5471 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.02966, allocations: 7.48 MB / 0.5544 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.02999, allocations: 17 kB / 0.5545 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.03002, allocations: 32.17 kB / 0.5545 GB, free: 14.11 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.0001895/0.03021, allocations: 194.9 kB / 0.5547 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.03029, allocations: 91.52 kB / 0.5548 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.03085, allocations: 0.4967 MB / 0.5552 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.03085, allocations: 8 kB / 0.5553 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.03086, allocations: 7.938 kB / 0.5553 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.03087, allocations: 5.641 kB / 0.5553 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.03196, allocations: 1.013 MB / 0.5563 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.03196, allocations: 0 / 0.5563 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.03208, allocations: 43.92 kB / 0.5563 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/0.03266, allocations: 284.2 kB / 0.5566 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.03268, allocations: 12 kB / 0.5566 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.03603, allocations: 7.473 MB / 0.5639 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.03603, allocations: 4 kB / 0.5639 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007054/0.03674, allocations: 0.6883 MB / 0.5646 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.0369, allocations: 95.52 kB / 0.5646 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.03694, allocations: 16 kB / 0.5647 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.0371, allocations: 17.72 kB / 0.5647 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.03718, allocations: 43.8 kB / 0.5647 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.0372, allocations: 12 kB / 0.5647 GB, free: 3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001804/0.03738, allocations: 330.6 kB / 0.565 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/0.03738, allocations: 0 / 0.565 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005803/0.03796, allocations: 225 kB / 0.5653 GB, free: 2.461 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 0.0001162/0.03807, allocations: 112.6 kB / 0.5654 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009053/0.03898, allocations: 1.146 MB / 0.5665 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.03898, allocations: 1.938 kB / 0.5665 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.03969, allocations: 0.9445 MB / 0.5674 GB, free: 120 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.04031, allocations: 200.9 kB / 0.5676 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.04191, allocations: 1.264 MB / 0.5688 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.04207, allocations: 219.4 kB / 0.569 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.04228, allocations: 79.59 kB / 0.5691 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.04256, allocations: 246.1 kB / 0.5694 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.273e-06/0.04257, allocations: 0 / 0.5694 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.015/0.05757, allocations: 12.09 MB / 0.5812 GB, free: 2.289 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.691786971408874]