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.001379/0.001379, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001532/0.001532, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.522/1.522, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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.1838/0.1838, allocations: 29.44 MB / 290.1 MB, free: 3.297 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.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.202e-06/1.202e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.367e-05, allocations: 6.281 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003213/0.003237, allocations: 2.145 MB / 432.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008551/0.004092, allocations: 0.5298 MB / 433.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.00413, allocations: 0 / 433.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.004279, allocations: 7.922 kB / 433.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.335e-05/0.004372, allocations: 23.89 kB / 433.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.004795, allocations: 83.67 kB / 433.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.004925, allocations: 59.77 kB / 433.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.004978, allocations: 4 kB / 433.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.005146, allocations: 51.77 kB / 433.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.005203, allocations: 23.91 kB / 433.6 MB, free: 15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.005214, allocations: 0 / 433.6 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.005439, allocations: 107.7 kB / 433.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.005506, allocations: 39.84 kB / 433.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.005544, allocations: 19.88 kB / 433.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.005779, allocations: 147.5 kB / 434 MB, free: 14.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005783, allocations: 0 / 434 MB, free: 14.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005783, allocations: 0 / 434 MB, free: 14.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.005794, allocations: 0 / 434 MB, free: 14.69 MB / 366.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.0005027/0.006297, allocations: 410.5 kB / 434.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.006329, allocations: 19.97 kB / 434.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.006381, allocations: 12.84 kB / 434.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.006578, allocations: 153.2 kB / 434.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.006585, allocations: 384 / 434.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.006599, allocations: 384 / 434.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.006906, allocations: 224.2 kB / 434.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.006915, allocations: 0 / 434.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.006925, allocations: 0 / 434.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.006932, allocations: 4 kB / 434.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.007134, allocations: 182 kB / 434.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.007291, allocations: 133.8 kB / 435.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.00752, allocations: 204.5 kB / 435.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.007717, allocations: 190.8 kB / 435.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.007723, allocations: 4 kB / 435.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.007755, allocations: 34.5 kB / 435.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.252e-06/0.007757, allocations: 3.938 kB / 435.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008189/0.008576, allocations: 0.6789 MB / 436.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.008656, allocations: 109.1 kB / 436.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.00881, allocations: 146.4 kB / 436.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.008829, allocations: 29.64 kB / 436.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.008886, allocations: 96.8 kB / 436.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.009013, allocations: 138.8 kB / 436.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.009066, allocations: 33.7 kB / 436.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.009221, allocations: 334.8 kB / 437 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.009408, allocations: 177.6 kB / 437.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.009592, allocations: 185.6 kB / 437.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.01002, allocations: 429.3 kB / 437.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01002, allocations: 0 / 437.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004979/0.01052, allocations: 456.7 kB / 438.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.724e-05/0.01061, allocations: 77.64 kB / 438.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.01061, allocations: 0 / 438.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01063, allocations: 4.062 kB / 438.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-06/0.01063, allocations: 11.92 kB / 438.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01064, allocations: 3.984 kB / 438.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.01069, allocations: 23.78 kB / 438.4 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.01072, allocations: 8 kB / 438.4 MB, free: 9.984 MB / 366.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.0002253/0.01095, allocations: 231.4 kB / 438.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.01099, allocations: 31.78 kB / 438.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.011, allocations: 9.969 kB / 438.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.01101, allocations: 0 / 438.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01101, allocations: 0 / 438.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01101, allocations: 7.984 kB / 438.7 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.01115, allocations: 149.1 kB / 438.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01116, allocations: 0 / 438.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.01116, allocations: 3.938 kB / 438.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01116, allocations: 3.938 kB / 438.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.01118, allocations: 8 kB / 438.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01118, allocations: 0 / 438.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01118, allocations: 0 / 438.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.01211, allocations: 0.7577 MB / 439.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.01214, allocations: 31.67 kB / 439.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.01217, allocations: 15.88 kB / 439.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.01221, allocations: 8.031 kB / 439.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.01225, allocations: 11.98 kB / 439.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.01227, allocations: 8 kB / 439.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.114e-05/0.01236, allocations: 114.2 kB / 439.8 MB, free: 8.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01236, allocations: 0 / 439.8 MB, free: 8.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.01265, allocations: 59.94 kB / 439.8 MB, free: 8.473 MB / 366.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.0002042/0.01285, allocations: 115.2 kB / 439.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009081/0.01376, allocations: 0.7406 MB / 440.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01376, allocations: 0 / 440.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.01423, allocations: 437 kB / 441.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.0145, allocations: 27.92 kB / 441.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009881/0.01548, allocations: 0.7112 MB / 441.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.01563, allocations: 135.7 kB / 442 MB, free: 6.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.98e-05/0.01565, allocations: 4 kB / 442 MB, free: 6.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.01567, allocations: 8.5 kB / 442 MB, free: 6.191 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.01567, allocations: 4.062 kB / 442 MB, free: 6.188 MB / 366.1 MB Notification: Performance of Templates: time 0.00677/0.02244, allocations: 2.774 MB / 444.8 MB, free: 3.438 MB / 366.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: 4.8430033922195435] Failed to read output from testmodel.py, exit status != 0: 0.030637044459581375 0.22995479300000002 0.221454229 Calling exit ...