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.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.0009876/0.0009876, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001434/0.001434, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9793/0.9793, allocations: 177.1 MB / 205 MB, free: 5.215 MB / 186.7 MB " [Timeout remaining time 179] 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.2252/0.2252, allocations: 29.41 MB / 290.9 MB, free: 2.461 MB / 266.7 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_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 1.814e-06/1.814e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.102e-05, allocations: 6.25 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003802/0.003833, allocations: 2.211 MB / 371.9 MB, free: 8.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009672/0.004801, allocations: 0.5533 MB / 372.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.004854, allocations: 0 / 372.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.005019, allocations: 11.86 kB / 372.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.005149, allocations: 31.77 kB / 372.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.005602, allocations: 67.81 kB / 372.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.005753, allocations: 71.64 kB / 372.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.005802, allocations: 4 kB / 372.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.005987, allocations: 39.89 kB / 372.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.00605, allocations: 27.89 kB / 372.7 MB, free: 7.977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.006066, allocations: 0 / 372.7 MB, free: 7.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.006323, allocations: 99.78 kB / 372.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.006403, allocations: 39.86 kB / 372.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.006444, allocations: 19.88 kB / 372.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.006708, allocations: 155.4 kB / 373 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.006713, allocations: 0 / 373 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.006715, allocations: 0 / 373 MB, free: 7.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.006722, allocations: 0 / 373 MB, free: 7.668 MB / 346.7 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.0005973/0.007319, allocations: 0.5014 MB / 373.5 MB, free: 7.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.582e-05/0.007395, allocations: 11.98 kB / 373.5 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/0.007478, allocations: 20.8 kB / 373.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.007701, allocations: 152.1 kB / 373.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.007715, allocations: 384 / 373.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.007727, allocations: 384 / 373.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.007959, allocations: 125.2 kB / 373.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.00797, allocations: 0 / 373.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.007982, allocations: 0 / 373.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.007992, allocations: 0 / 373.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.008072, allocations: 82.02 kB / 373.8 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.008258, allocations: 153.1 kB / 374 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.008385, allocations: 105.1 kB / 374.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.00847, allocations: 89.73 kB / 374.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.008476, allocations: 0 / 374.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.00851, allocations: 45.27 kB / 374.2 MB, free: 6.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.973e-06/0.008512, allocations: 0 / 374.2 MB, free: 6.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005133/0.009026, allocations: 439.5 kB / 374.7 MB, free: 5.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.009105, allocations: 105.1 kB / 374.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.009258, allocations: 201.9 kB / 375 MB, free: 5.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.009272, allocations: 25.7 kB / 375 MB, free: 5.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.009335, allocations: 147.6 kB / 375.1 MB, free: 5.273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.009451, allocations: 138.8 kB / 375.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.009513, allocations: 47.36 kB / 375.3 MB, free: 5.082 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.009685, allocations: 0.5079 MB / 375.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.009774, allocations: 85.67 kB / 375.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.009848, allocations: 82.67 kB / 376 MB, free: 4.387 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.01005, allocations: 211.2 kB / 376.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01005, allocations: 0 / 376.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003166/0.01037, allocations: 308.7 kB / 376.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.648e-05/0.01045, allocations: 73.64 kB / 376.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.01046, allocations: 7.984 kB / 376.6 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01048, allocations: 4 kB / 376.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-06/0.01048, allocations: 0 / 376.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01049, allocations: 0 / 376.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.01054, allocations: 23.84 kB / 376.6 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.01057, allocations: 4 kB / 376.6 MB, free: 3.727 MB / 346.7 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.0001643/0.01074, allocations: 246.2 kB / 376.8 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.01078, allocations: 35.84 kB / 376.9 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.0108, allocations: 5.969 kB / 376.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.0108, allocations: 0 / 376.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.01081, allocations: 0 / 376.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01081, allocations: 11.94 kB / 376.9 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.01095, allocations: 164.4 kB / 377.1 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01095, allocations: 0 / 377.1 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-06/0.01095, allocations: 4 kB / 377.1 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.01096, allocations: 3.938 kB / 377.1 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.01098, allocations: 8 kB / 377.1 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01098, allocations: 0 / 377.1 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01098, allocations: 0 / 377.1 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/0.01151, allocations: 475.5 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01153, allocations: 31.77 kB / 377.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.01156, allocations: 4 kB / 377.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.503e-05/0.0116, allocations: 12.03 kB / 377.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.01162, allocations: 0 / 377.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.01164, allocations: 11.98 kB / 377.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.376e-05/0.01171, allocations: 150 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01171, allocations: 0 / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003268/0.01204, allocations: 63.94 kB / 377.8 MB, free: 2.441 MB / 346.7 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.0002025/0.01224, allocations: 119.1 kB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.0127, allocations: 394.3 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.0127, allocations: 0 / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.01293, allocations: 264.7 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.01322, allocations: 27.92 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007378/0.01396, allocations: 0.4931 MB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.472e-05/0.01404, allocations: 87.81 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.01406, allocations: 15.86 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.01408, allocations: 12.56 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01408, allocations: 0 / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of Templates: time 0.006896/0.02098, allocations: 2.967 MB / 382.2 MB, free: 13.99 MB / 362.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.917001375928521]