Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001543/0.001543, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001759/0.001759, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1827/0.1827, allocations: 38.53 MB / 353.2 MB, free: 12.53 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: PowerSystems 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.002071/0.002071, allocations: 71.88 kB / 493.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3845, allocations: 62.47 MB / 0.5432 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003719/0.3882, allocations: 2.209 MB / 0.5454 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.3919, allocations: 2.098 MB / 0.5474 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.3919, allocations: 3.938 kB / 0.5474 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.3922, allocations: 19.3 kB / 0.5475 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3923, allocations: 30.64 kB / 0.5475 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.3953, allocations: 0.9838 MB / 0.5485 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3954, allocations: 75.62 kB / 0.5485 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.3955, allocations: 11.31 kB / 0.5485 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3957, allocations: 47.25 kB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3958, allocations: 50.5 kB / 0.5486 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3958, allocations: 1.094 kB / 0.5486 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.3998, allocations: 2.225 MB / 0.5508 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.3999, allocations: 17.92 kB / 0.5508 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.4, allocations: 19.08 kB / 0.5508 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.4022, allocations: 1.366 MB / 0.5522 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4022, allocations: 0 / 0.5522 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4022, allocations: 0 / 0.5522 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.4023, allocations: 5.156 kB / 0.5522 GB, free: 10.05 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007735/0.403, allocations: 445.5 kB / 0.5526 GB, free: 9.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4031, allocations: 13.17 kB / 0.5526 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.4031, allocations: 8.984 kB / 0.5526 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.4033, allocations: 132.3 kB / 0.5528 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.4033, allocations: 1.094 kB / 0.5528 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.4033, allocations: 1.344 kB / 0.5528 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4035, allocations: 56.98 kB / 0.5528 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4035, allocations: 4 kB / 0.5528 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4035, allocations: 1.062 kB / 0.5528 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4035, allocations: 3.938 kB / 0.5528 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.4035, allocations: 16.34 kB / 0.5528 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.4037, allocations: 140.7 kB / 0.553 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.4038, allocations: 39.03 kB / 0.553 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.4038, allocations: 24.97 kB / 0.553 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.4038, allocations: 0 / 0.553 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4039, allocations: 36.22 kB / 0.5531 GB, free: 9.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.4039, allocations: 0 / 0.5531 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002922/0.4042, allocations: 152.7 kB / 0.5532 GB, free: 9.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.4042, allocations: 87.5 kB / 0.5533 GB, free: 8.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4043, allocations: 119.2 kB / 0.5534 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4044, allocations: 26.98 kB / 0.5534 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.4044, allocations: 90.19 kB / 0.5535 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.4045, allocations: 26.91 kB / 0.5535 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.4045, allocations: 24.48 kB / 0.5536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4047, allocations: 320.8 kB / 0.5539 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.4047, allocations: 23.64 kB / 0.5539 GB, free: 8.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.4047, allocations: 24.48 kB / 0.5539 GB, free: 8.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.4049, allocations: 131.2 kB / 0.554 GB, free: 8.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4049, allocations: 0 / 0.554 GB, free: 8.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001656/0.4051, allocations: 123.2 kB / 0.5542 GB, free: 8.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.4051, allocations: 45.44 kB / 0.5542 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4051, allocations: 1 kB / 0.5542 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4052, allocations: 7.938 kB / 0.5542 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-06/0.4052, allocations: 5.062 kB / 0.5542 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4052, allocations: 0 / 0.5542 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.4052, allocations: 6.094 kB / 0.5542 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.4052, allocations: 11.23 kB / 0.5542 GB, free: 8.133 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.4054, allocations: 157.7 kB / 0.5544 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.4054, allocations: 8.641 kB / 0.5544 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.4054, allocations: 10.8 kB / 0.5544 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4054, allocations: 7.984 kB / 0.5544 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4054, allocations: 0 / 0.5544 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4054, allocations: 1.188 kB / 0.5544 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.4055, allocations: 143 kB / 0.5546 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4055, allocations: 0 / 0.5546 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4055, allocations: 0 / 0.5546 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4055, allocations: 1.219 kB / 0.5546 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.4056, allocations: 6.406 kB / 0.5546 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4056, allocations: 3.938 kB / 0.5546 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.4056, allocations: 5.141 kB / 0.5546 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.4058, allocations: 219.1 kB / 0.5548 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.4059, allocations: 6.172 kB / 0.5548 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.4059, allocations: 2.219 kB / 0.5548 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.4059, allocations: 1.156 kB / 0.5548 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.4059, allocations: 6.203 kB / 0.5548 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.4059, allocations: 3.375 kB / 0.5548 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.635e-05/0.406, allocations: 97.98 kB / 0.5549 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.406, allocations: 0 / 0.5549 GB, free: 7.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001034/0.407, allocations: 326.9 kB / 0.5552 GB, free: 7.473 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009922/0.408, allocations: 371.5 kB / 0.5556 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.4083, allocations: 172 kB / 0.5557 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4083, allocations: 0 / 0.5557 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4084, allocations: 120.9 kB / 0.5558 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4087, allocations: 20.62 kB / 0.5559 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.4093, allocations: 264.1 kB / 0.5561 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.4096, allocations: 0.6963 MB / 0.5568 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.4096, allocations: 11.44 kB / 0.5568 GB, free: 6.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4096, allocations: 3.938 kB / 0.5568 GB, free: 6.137 MB / 398.1 MB Notification: Performance of Templates: time 0.01082/0.4204, allocations: 5.726 MB / 0.5624 GB, free: 416 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.270738078048453] Failed to read output from testmodel.py, exit status != 0: 0.4300675329286605 0.445565121 0.039910057000000006 Calling exit ...