Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001293/0.001293, allocations: 81.06 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001424/0.001424, allocations: 167.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.228/1.228, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.853e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009449/0.009478, allocations: 5.89 MB / 0.6243 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005823/0.0153, allocations: 3.106 MB / 0.6273 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.01584, allocations: 43.62 kB / 0.6274 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.01848, allocations: 0.9335 MB / 0.6283 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.01983, allocations: 0.4892 MB / 0.6287 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.02117, allocations: 0.5079 MB / 0.6292 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.02258, allocations: 1.131 MB / 0.6303 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007679/0.02335, allocations: 0.51 MB / 0.6308 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000837/0.02419, allocations: 0.6194 MB / 0.6314 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.02481, allocations: 426.8 kB / 0.6318 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.736e-05/0.02491, allocations: 60 kB / 0.6319 GB, free: 6.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008145/0.02572, allocations: 450.7 kB / 0.6323 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.02603, allocations: 307.1 kB / 0.6326 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.02638, allocations: 275.3 kB / 0.6329 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.02781, allocations: 1.211 MB / 0.6341 GB, free: 4.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.02782, allocations: 0 / 0.6341 GB, free: 4.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.02782, allocations: 0 / 0.6341 GB, free: 4.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.02783, allocations: 0 / 0.6341 GB, free: 4.68 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001635/0.02946, allocations: 0.9986 MB / 0.6351 GB, free: 3.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.0295, allocations: 13.47 kB / 0.6351 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.031, allocations: 232.1 kB / 0.6353 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.03192, allocations: 0.5314 MB / 0.6358 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.03196, allocations: 45.67 kB / 0.6358 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.03206, allocations: 64.33 kB / 0.6359 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.03368, allocations: 1.13 MB / 0.637 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.03372, allocations: 8.125 kB / 0.637 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.03379, allocations: 32.36 kB / 0.6371 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.917e-05/0.03389, allocations: 73.2 kB / 0.6371 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.03496, allocations: 0.6956 MB / 0.6378 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.03982, allocations: 4.398 MB / 0.6421 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008371/0.04065, allocations: 402.1 kB / 0.6425 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009146/0.04157, allocations: 392.4 kB / 0.6429 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.0416, allocations: 4 kB / 0.6429 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.04165, allocations: 38.56 kB / 0.6429 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.713e-06/0.04165, allocations: 0 / 0.6429 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004514/0.04616, allocations: 1.723 MB / 0.6446 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.0462, allocations: 59.34 kB / 0.6446 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.04667, allocations: 445.8 kB / 0.6451 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.04671, allocations: 29.7 kB / 0.6451 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.04701, allocations: 396 kB / 0.6455 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.04717, allocations: 154.7 kB / 0.6456 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.04734, allocations: 110.2 kB / 0.6457 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.04753, allocations: 358.8 kB / 0.6461 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.04791, allocations: 253.2 kB / 0.6463 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.04847, allocations: 457 kB / 0.6467 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.04957, allocations: 0.7519 MB / 0.6475 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.04957, allocations: 0 / 0.6475 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001941/0.05151, allocations: 1.042 MB / 0.6485 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.05153, allocations: 8.875 kB / 0.6485 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.05155, allocations: 8 kB / 0.6485 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.05256, allocations: 323.1 kB / 0.6488 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.0529, allocations: 107.8 kB / 0.6489 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008009/0.0609, allocations: 6.969 MB / 0.6557 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.06147, allocations: 27.98 kB / 0.6557 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.06153, allocations: 24 kB / 0.6558 GB, free: 13.38 MB / 0.5762 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004169/0.06195, allocations: 254.5 kB / 0.656 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.06205, allocations: 63.61 kB / 0.6561 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.06388, allocations: 0.8845 MB / 0.6569 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.06389, allocations: 8 kB / 0.6569 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.0639, allocations: 7.938 kB / 0.657 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.06392, allocations: 7.922 kB / 0.657 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.06659, allocations: 1.511 MB / 0.6584 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.06659, allocations: 0 / 0.6584 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.06676, allocations: 44.16 kB / 0.6585 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009815/0.06774, allocations: 319.2 kB / 0.6588 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.06778, allocations: 8 kB / 0.6588 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007765/0.07554, allocations: 6.965 MB / 0.6656 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.07555, allocations: 7.938 kB / 0.6656 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.07737, allocations: 0.976 MB / 0.6666 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.07764, allocations: 103.5 kB / 0.6666 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.0777, allocations: 12 kB / 0.6667 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.07798, allocations: 23.97 kB / 0.6667 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.07813, allocations: 43.92 kB / 0.6667 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.07815, allocations: 11.94 kB / 0.6667 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003609/0.07851, allocations: 286.9 kB / 0.667 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.07851, allocations: 0 / 0.667 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008671/0.07938, allocations: 192 kB / 0.6672 GB, free: 1.121 MB / 0.5762 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001876/0.07957, allocations: 115.2 kB / 0.6673 GB, free: 1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.08156, allocations: 1.164 MB / 0.6684 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.08157, allocations: 0 / 0.6684 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.08283, allocations: 0.8385 MB / 0.6693 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009758/0.08381, allocations: 200.1 kB / 0.6694 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.08585, allocations: 1.244 MB / 0.6707 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.08629, allocations: 398.9 kB / 0.671 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.08655, allocations: 97 kB / 0.6711 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.08664, allocations: 36.5 kB / 0.6712 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.08664, allocations: 0 / 0.6712 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.01875/0.1054, allocations: 10.36 MB / 0.6813 GB, free: 2.758 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.166583493351936] Failed to read output from testmodel.py, exit status != 0: 0.1144506111741066 0.132341646 0.10044369700000001 Calling exit ...