Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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: 109.5 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.001332/0.001332, allocations: 187.4 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.534/1.534, allocations: 225.6 MB / 252.5 MB, free: 13 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.191/0.191, allocations: 38.54 MB / 346.3 MB, free: 2.062 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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003024/0.3727, allocations: 2.134 MB / 0.5351 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006865/0.3734, allocations: 0.5379 MB / 0.5356 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.3735, allocations: 1.25 kB / 0.5356 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.3736, allocations: 14.98 kB / 0.5357 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3737, allocations: 29.03 kB / 0.5357 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.374, allocations: 71.92 kB / 0.5358 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3741, allocations: 63.27 kB / 0.5358 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.3741, allocations: 6.047 kB / 0.5358 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.3742, allocations: 26.2 kB / 0.5358 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.3742, allocations: 36.44 kB / 0.5359 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.3743, allocations: 0.9375 kB / 0.5359 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.3745, allocations: 136.2 kB / 0.536 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.3745, allocations: 19.45 kB / 0.536 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.3745, allocations: 26.3 kB / 0.5361 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.3747, allocations: 101.7 kB / 0.5362 GB, free: 3.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3747, allocations: 0 / 0.5362 GB, free: 3.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3747, allocations: 1.344 kB / 0.5362 GB, free: 3.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3747, allocations: 0 / 0.5362 GB, free: 3.426 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000296/0.375, allocations: 326.5 kB / 0.5365 GB, free: 3.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.375, allocations: 8.844 kB / 0.5365 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3751, allocations: 7.922 kB / 0.5365 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3752, allocations: 137.6 kB / 0.5366 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3752, allocations: 1.625 kB / 0.5366 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3752, allocations: 5.25 kB / 0.5366 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.3753, allocations: 61.33 kB / 0.5367 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3753, allocations: 0 / 0.5367 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.3753, allocations: 0 / 0.5367 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-06/0.3753, allocations: 5.688 kB / 0.5367 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.3754, allocations: 28.83 kB / 0.5367 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.34e-05/0.3755, allocations: 145.4 kB / 0.5368 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.3755, allocations: 47.66 kB / 0.5369 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.3756, allocations: 38.72 kB / 0.5369 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.3756, allocations: 0 / 0.5369 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.3756, allocations: 31.59 kB / 0.537 GB, free: 2.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 7.31e-07/0.3756, allocations: 0 / 0.537 GB, free: 2.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002349/0.3758, allocations: 184.2 kB / 0.5371 GB, free: 2.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.3759, allocations: 86.36 kB / 0.5372 GB, free: 2.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.3759, allocations: 130.2 kB / 0.5373 GB, free: 2.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.3759, allocations: 25.7 kB / 0.5374 GB, free: 2.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.9e-05/0.376, allocations: 85.7 kB / 0.5375 GB, free: 2.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.376, allocations: 37.09 kB / 0.5375 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.376, allocations: 28.45 kB / 0.5375 GB, free: 2.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.3761, allocations: 317.5 kB / 0.5378 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.3761, allocations: 28.64 kB / 0.5378 GB, free: 1.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.3761, allocations: 29.98 kB / 0.5379 GB, free: 1.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.3762, allocations: 154.4 kB / 0.538 GB, free: 1.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3762, allocations: 0 / 0.538 GB, free: 1.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001307/0.3764, allocations: 154.6 kB / 0.5382 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.3764, allocations: 48.8 kB / 0.5382 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3764, allocations: 0 / 0.5382 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3764, allocations: 0 / 0.5382 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3764, allocations: 0 / 0.5382 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.3764, allocations: 1.375 kB / 0.5382 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.3764, allocations: 10.64 kB / 0.5382 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3765, allocations: 6.688 kB / 0.5382 GB, free: 1.543 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 7.561e-05/0.3765, allocations: 172.1 kB / 0.5384 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.3766, allocations: 13.39 kB / 0.5384 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.048e-05/0.3766, allocations: 5.75 kB / 0.5384 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.3766, allocations: 0 / 0.5384 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3766, allocations: 5.359 kB / 0.5384 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3766, allocations: 0 / 0.5384 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.485e-05/0.3766, allocations: 149 kB / 0.5386 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3766, allocations: 4 kB / 0.5386 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3766, allocations: 0 / 0.5386 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3766, allocations: 7.984 kB / 0.5386 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.3766, allocations: 4.125 kB / 0.5386 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3766, allocations: 0 / 0.5386 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3766, allocations: 0 / 0.5386 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3769, allocations: 278.7 kB / 0.5388 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.3769, allocations: 6.703 kB / 0.5388 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3769, allocations: 2.75 kB / 0.5389 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.873e-05/0.3769, allocations: 2.75 kB / 0.5389 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.377, allocations: 13.39 kB / 0.5389 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.377, allocations: 2.75 kB / 0.5389 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.377, allocations: 97.38 kB / 0.539 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.377, allocations: 0 / 0.539 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3772, allocations: 32.59 kB / 0.539 GB, free: 0.9023 MB / 382.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.000137/0.3774, allocations: 110.2 kB / 0.5391 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.3776, allocations: 228.1 kB / 0.5393 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3776, allocations: 0 / 0.5393 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3778, allocations: 161.9 kB / 0.5395 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.378, allocations: 24.83 kB / 0.5395 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.3783, allocations: 269.8 kB / 0.5398 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3786, allocations: 0.701 MB / 0.5404 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.41e-05/0.3786, allocations: 0 / 0.5404 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.141e-05/0.3786, allocations: 8.906 kB / 0.5404 GB, free: 15.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3786, allocations: 4 kB / 0.5404 GB, free: 15.68 MB / 398.1 MB Notification: Performance of Templates: time 0.004153/0.3827, allocations: 1.395 MB / 0.5418 GB, free: 14.98 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1837994726374745] Failed to read output from testmodel.py, exit status != 0: 0.39083735831081867 0.404780461 0.026950118000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5247d997b0>