Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001623/0.001623, allocations: 120.5 kB / 18.41 MB, free: 4.664 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.001578/0.001578, allocations: 190.7 kB / 21.35 MB, free: 1.734 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.484/1.484, allocations: 222.9 MB / 247 MB, free: 4.199 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.2963/0.2963, allocations: 38 MB / 337.2 MB, free: 12.91 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 64.14 kB / 467.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1355, allocations: 58.07 MB / 0.5133 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.005943/0.1415, allocations: 2.102 MB / 0.5153 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005867/0.1474, allocations: 2.035 MB / 0.5173 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.1476, allocations: 4 kB / 0.5173 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.1478, allocations: 7.922 kB / 0.5173 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1479, allocations: 35.83 kB / 0.5174 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004254/0.1522, allocations: 0.8341 MB / 0.5182 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1525, allocations: 71.77 kB / 0.5183 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.1525, allocations: 8.172 kB / 0.5183 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1527, allocations: 35.78 kB / 0.5183 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1529, allocations: 55.81 kB / 0.5183 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.1529, allocations: 4 kB / 0.5184 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.1572, allocations: 1.407 MB / 0.5197 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1573, allocations: 47.83 kB / 0.5198 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1574, allocations: 47.55 kB / 0.5198 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.1608, allocations: 1.387 MB / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1608, allocations: 0 / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1609, allocations: 0 / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1609, allocations: 4 kB / 0.5212 GB, free: 1.598 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.001337/0.1622, allocations: 0.6161 MB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1623, allocations: 11.89 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.575e-05/0.1624, allocations: 24.8 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.1627, allocations: 215.5 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1628, allocations: 0 / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1628, allocations: 7.984 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.1631, allocations: 138.6 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1632, allocations: 4 kB / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1632, allocations: 0 / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1632, allocations: 0 / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.1634, allocations: 100.3 kB / 0.5223 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.1638, allocations: 210.1 kB / 0.5225 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.1641, allocations: 158.8 kB / 0.5226 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1644, allocations: 145.2 kB / 0.5227 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-06/0.1645, allocations: 0 / 0.5227 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.1645, allocations: 34.56 kB / 0.5228 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.1645, allocations: 0 / 0.5228 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001146/0.1657, allocations: 0.4912 MB / 0.5233 GB, free: 15.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.1658, allocations: 105.1 kB / 0.5234 GB, free: 15.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.1661, allocations: 170.4 kB / 0.5235 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.1662, allocations: 25.7 kB / 0.5235 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1663, allocations: 108.8 kB / 0.5237 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.1665, allocations: 134.7 kB / 0.5238 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1666, allocations: 41.73 kB / 0.5238 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.1669, allocations: 338.8 kB / 0.5241 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.1671, allocations: 95.95 kB / 0.5242 GB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1674, allocations: 104.9 kB / 0.5243 GB, free: 14.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008142/0.1682, allocations: 380.3 kB / 0.5247 GB, free: 13.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.1682, allocations: 0 / 0.5247 GB, free: 13.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007987/0.169, allocations: 339 kB / 0.525 GB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.1692, allocations: 85.62 kB / 0.5251 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1693, allocations: 4 kB / 0.5251 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1693, allocations: 4.062 kB / 0.5251 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.1693, allocations: 0 / 0.5251 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1693, allocations: 3.938 kB / 0.5251 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1695, allocations: 23.78 kB / 0.5251 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.1695, allocations: 8 kB / 0.5251 GB, free: 13.27 MB / 398.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.0003755/0.1699, allocations: 239.3 kB / 0.5254 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.17, allocations: 23.86 kB / 0.5254 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.1701, allocations: 18.64 kB / 0.5254 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1701, allocations: 4 kB / 0.5254 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1701, allocations: 4 kB / 0.5254 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1701, allocations: 0 / 0.5254 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.1705, allocations: 237.3 kB / 0.5256 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1705, allocations: 0 / 0.5256 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.1705, allocations: 0 / 0.5256 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1705, allocations: 0 / 0.5256 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.1706, allocations: 8 kB / 0.5257 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.1706, allocations: 0 / 0.5257 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1706, allocations: 4 kB / 0.5257 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.1726, allocations: 0.92 MB / 0.5266 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1728, allocations: 104.8 kB / 0.5267 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.1729, allocations: 8 kB / 0.5267 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.173, allocations: 4 kB / 0.5267 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.173, allocations: 11.94 kB / 0.5267 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.1731, allocations: 8 kB / 0.5267 GB, free: 11.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1733, allocations: 132.2 kB / 0.5268 GB, free: 11.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1733, allocations: 0 / 0.5268 GB, free: 11.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001738/0.175, allocations: 351.4 kB / 0.5271 GB, free: 11.1 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.001869/0.1769, allocations: 381.9 kB / 0.5275 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.1797, allocations: 1.6 MB / 0.5291 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1797, allocations: 0 / 0.5291 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.1819, allocations: 1.37 MB / 0.5304 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.1823, allocations: 20.12 kB / 0.5304 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.1841, allocations: 0.7026 MB / 0.5311 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.1848, allocations: 0.7594 MB / 0.5319 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.1848, allocations: 11.44 kB / 0.5319 GB, free: 6.172 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1849, allocations: 0 / 0.5319 GB, free: 6.172 MB / 398.1 MB Notification: Performance of Templates: time 0.02059/0.2055, allocations: 7.068 MB / 0.5388 GB, free: 15.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.709287456935272] Failed to read output from testmodel.py, exit status != 0: 0.21424279105849564 0.24403534500000001 0.077696363 Calling exit ...