Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001122/0.001122, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005225/0.005225, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 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.8872/0.8872, allocations: 177.1 MB / 205 MB, free: 5.73 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.2084/0.2084, allocations: 29.41 MB / 290.8 MB, free: 2.414 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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.046e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002428/0.002458, allocations: 2.144 MB / 433.6 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005867/0.003045, allocations: 0.5376 MB / 434.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.003088, allocations: 7.938 kB / 434.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.003227, allocations: 7.922 kB / 434.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.093e-05/0.003318, allocations: 23.84 kB / 434.2 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.003657, allocations: 83.67 kB / 434.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.003762, allocations: 63.75 kB / 434.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.003807, allocations: 0 / 434.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.00393, allocations: 43.83 kB / 434.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.003969, allocations: 23.91 kB / 434.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.003978, allocations: 4 kB / 434.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.004134, allocations: 99.73 kB / 434.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.004188, allocations: 31.91 kB / 434.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.004215, allocations: 15.88 kB / 434.6 MB, free: 9.973 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.004377, allocations: 127.6 kB / 434.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.004384, allocations: 0 / 434.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.004386, allocations: 0 / 434.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.004391, allocations: 0 / 434.7 MB, free: 9.848 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003299/0.004721, allocations: 363.5 kB / 435 MB, free: 9.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.004758, allocations: 11.98 kB / 435.1 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.004794, allocations: 12.84 kB / 435.1 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004926, allocations: 136.3 kB / 435.2 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.004934, allocations: 384 / 435.2 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.004943, allocations: 4.375 kB / 435.2 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.005096, allocations: 147.9 kB / 435.3 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005104, allocations: 7.875 kB / 435.4 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.005114, allocations: 4 kB / 435.4 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005118, allocations: 0 / 435.4 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.005196, allocations: 129.5 kB / 435.5 MB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.005304, allocations: 125.2 kB / 435.6 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.005408, allocations: 140.2 kB / 435.7 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.005484, allocations: 134.5 kB / 435.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.005492, allocations: 0 / 435.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.005515, allocations: 30.56 kB / 435.9 MB, free: 8.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 8.31e-07/0.005516, allocations: 0 / 435.9 MB, free: 8.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003916/0.005907, allocations: 458 kB / 436.4 MB, free: 8.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.005952, allocations: 97.09 kB / 436.4 MB, free: 7.906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.006031, allocations: 129.8 kB / 436.6 MB, free: 7.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.006041, allocations: 29.69 kB / 436.6 MB, free: 7.734 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.006077, allocations: 92.64 kB / 436.7 MB, free: 7.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.006128, allocations: 83.22 kB / 436.8 MB, free: 7.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.006158, allocations: 25.7 kB / 436.8 MB, free: 7.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.006237, allocations: 334.9 kB / 437.1 MB, free: 7.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.006315, allocations: 121.5 kB / 437.2 MB, free: 7.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.006382, allocations: 121.7 kB / 437.4 MB, free: 6.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.006545, allocations: 290.2 kB / 437.6 MB, free: 6.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006547, allocations: 0 / 437.6 MB, free: 6.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001919/0.006739, allocations: 313.5 kB / 438 MB, free: 6.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.006786, allocations: 65.66 kB / 438 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.006792, allocations: 3.938 kB / 438 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006804, allocations: 0 / 438 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-06/0.006806, allocations: 3.984 kB / 438 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.00681, allocations: 4.062 kB / 438 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.006837, allocations: 11.89 kB / 438 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.006855, allocations: 8 kB / 438 MB, free: 6.219 MB / 410.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 9.981e-05/0.006955, allocations: 191.5 kB / 438.2 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.006967, allocations: 11.95 kB / 438.2 MB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.462e-05/0.006981, allocations: 13.22 kB / 438.3 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.006983, allocations: 0 / 438.3 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006987, allocations: 0 / 438.3 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006989, allocations: 0 / 438.3 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.018e-05/0.007059, allocations: 137.1 kB / 438.4 MB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.00706, allocations: 4 kB / 438.4 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.007061, allocations: 0 / 438.4 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.007061, allocations: 0 / 438.4 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.007073, allocations: 7.984 kB / 438.4 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007075, allocations: 7.938 kB / 438.4 MB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007076, allocations: 0 / 438.4 MB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.007419, allocations: 0.4961 MB / 438.9 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.007433, allocations: 19.84 kB / 438.9 MB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.007446, allocations: 4 kB / 438.9 MB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.007462, allocations: 7.938 kB / 438.9 MB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.007478, allocations: 3.984 kB / 438.9 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.007485, allocations: 8.031 kB / 439 MB, free: 5.234 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.007529, allocations: 106.4 kB / 439.1 MB, free: 5.133 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007529, allocations: 0 / 439.1 MB, free: 5.133 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.007698, allocations: 43.94 kB / 439.1 MB, free: 5.09 MB / 410.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.0001571/0.007855, allocations: 115.2 kB / 439.2 MB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.008216, allocations: 0.4984 MB / 439.7 MB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.008218, allocations: 0 / 439.7 MB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.008376, allocations: 289 kB / 440 MB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.00856, allocations: 28.06 kB / 440 MB, free: 4.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.009069, allocations: 0.5207 MB / 440.5 MB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.603e-05/0.009135, allocations: 105.1 kB / 440.6 MB, free: 3.434 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.00915, allocations: 8.5 kB / 440.7 MB, free: 3.422 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009151, allocations: 0 / 440.7 MB, free: 3.422 MB / 410.7 MB Notification: Performance of Templates: time 0.002613/0.01176, allocations: 1.758 MB / 442.4 MB, free: 1.668 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.84900435898453] Failed to read output from testmodel.py, exit status != 0: 0.01798931509256363 0.19060336900000002 0.184791743 Calling exit ...