Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1904/0.1904, allocations: 38.54 MB / 346.3 MB, free: 2.07 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3889, allocations: 61.3 MB / 0.533 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003105/0.3921, allocations: 2.136 MB / 0.5351 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006977/0.3928, allocations: 0.5349 MB / 0.5356 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.3928, allocations: 5.656 kB / 0.5357 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3929, allocations: 9.719 kB / 0.5357 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.393, allocations: 25.3 kB / 0.5357 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.3934, allocations: 80.83 kB / 0.5358 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3935, allocations: 58.36 kB / 0.5358 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.3936, allocations: 2.891 kB / 0.5358 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.3936, allocations: 33.52 kB / 0.5359 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.3937, allocations: 31.48 kB / 0.5359 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.3937, allocations: 5.25 kB / 0.5359 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.3939, allocations: 130.8 kB / 0.536 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.394, allocations: 41.69 kB / 0.5361 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.394, allocations: 42.28 kB / 0.5361 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3942, allocations: 161.2 kB / 0.5362 GB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3942, allocations: 0 / 0.5362 GB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3942, allocations: 2.406 kB / 0.5362 GB, free: 3.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3942, allocations: 0 / 0.5362 GB, free: 3.363 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003588/0.3946, allocations: 410.5 kB / 0.5366 GB, free: 2.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.3946, allocations: 16.19 kB / 0.5367 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.3946, allocations: 18.3 kB / 0.5367 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3948, allocations: 144.6 kB / 0.5368 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3948, allocations: 5.312 kB / 0.5368 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.3948, allocations: 1.375 kB / 0.5368 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3949, allocations: 125.9 kB / 0.5369 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3949, allocations: 5.359 kB / 0.5369 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3949, allocations: 0 / 0.5369 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.395, allocations: 0 / 0.5369 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.395, allocations: 90.17 kB / 0.537 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.3951, allocations: 177.8 kB / 0.5372 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3952, allocations: 108.8 kB / 0.5373 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.3953, allocations: 98.12 kB / 0.5374 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3953, allocations: 0 / 0.5374 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3954, allocations: 31.59 kB / 0.5374 GB, free: 2.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 7.81e-07/0.3954, allocations: 0 / 0.5374 GB, free: 2.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.000506/0.3959, allocations: 482.1 kB / 0.5379 GB, free: 2.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.3959, allocations: 114.9 kB / 0.538 GB, free: 2.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.396, allocations: 145.9 kB / 0.5381 GB, free: 1.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.396, allocations: 27.2 kB / 0.5382 GB, free: 1.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.3961, allocations: 96.89 kB / 0.5383 GB, free: 1.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.3961, allocations: 133.6 kB / 0.5384 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3962, allocations: 31.83 kB / 0.5384 GB, free: 1.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.3962, allocations: 337.7 kB / 0.5387 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.3963, allocations: 95.78 kB / 0.5388 GB, free: 1.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.3964, allocations: 93.84 kB / 0.5389 GB, free: 1.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.3966, allocations: 362.8 kB / 0.5393 GB, free: 1.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3966, allocations: 0 / 0.5393 GB, free: 1.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002922/0.3969, allocations: 331 kB / 0.5396 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.397, allocations: 86.34 kB / 0.5397 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.397, allocations: 1.469 kB / 0.5397 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.397, allocations: 0 / 0.5397 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.397, allocations: 0 / 0.5397 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.397, allocations: 1.5 kB / 0.5397 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.3971, allocations: 31.47 kB / 0.5397 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3971, allocations: 6.906 kB / 0.5397 GB, free: 0.8906 MB / 382.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.000149/0.3972, allocations: 236.6 kB / 0.5399 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.3973, allocations: 20.19 kB / 0.5399 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/0.3973, allocations: 10.22 kB / 0.54 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3973, allocations: 0 / 0.54 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3973, allocations: 3.984 kB / 0.54 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.3973, allocations: 1.406 kB / 0.54 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.3974, allocations: 198.2 kB / 0.5401 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3974, allocations: 11.98 kB / 0.5402 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3974, allocations: 0 / 0.5402 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3974, allocations: 1.219 kB / 0.5402 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3974, allocations: 5.438 kB / 0.5402 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.3974, allocations: 1.156 kB / 0.5402 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3974, allocations: 3.984 kB / 0.5402 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.3982, allocations: 0.9127 MB / 0.5411 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.3982, allocations: 21.09 kB / 0.5411 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3983, allocations: 9.688 kB / 0.5411 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.3983, allocations: 6.188 kB / 0.5411 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3983, allocations: 6.562 kB / 0.5411 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3984, allocations: 6.906 kB / 0.5411 GB, free: 52 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3985, allocations: 119.4 kB / 0.5412 GB, free: 15.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3985, allocations: 0 / 0.5412 GB, free: 15.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3987, allocations: 62.06 kB / 0.5413 GB, free: 15.95 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.0001798/0.3989, allocations: 108.7 kB / 0.5414 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.3998, allocations: 0.8208 MB / 0.5422 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3998, allocations: 1.094 kB / 0.5422 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.4004, allocations: 0.6021 MB / 0.5428 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.4007, allocations: 22.34 kB / 0.5428 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.4015, allocations: 0.6223 MB / 0.5434 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.4019, allocations: 0.749 MB / 0.5441 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.4019, allocations: 1.156 kB / 0.5441 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.402, allocations: 8.625 kB / 0.5441 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.402, allocations: 0 / 0.5441 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.006953/0.4089, allocations: 2.918 MB / 0.547 GB, free: 12.83 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.136726823635399] Failed to read output from testmodel.py, exit status != 0: 0.41795007698237896 0.43166261100000003 0.034413934 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9d6f3bd7b0>