Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.LargerNetwork.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.0009264/0.0009264, allocations: 80.06 kB / 20.76 MB, free: 3.727 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.0009729/0.0009729, allocations: 177 kB / 24.19 MB, free: 312 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.9776/0.9776, allocations: 177.1 MB / 204.6 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02202/0.02202, allocations: 4.489 MB / 265.6 MB, free: 8.285 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 283.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.576e-05, allocations: 6.312 kB / 283.7 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.1179/0.1179, allocations: 13.12 MB / 296.9 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00638/0.1243, allocations: 4.144 MB / 301 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.1255, allocations: 43.34 kB / 301.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1265, allocations: 0.7345 MB / 301.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.1292, allocations: 1.616 MB / 303.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.1318, allocations: 2.048 MB / 305.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003475/0.1352, allocations: 3.658 MB / 309.1 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.1363, allocations: 0.8058 MB / 309.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.1385, allocations: 2.131 MB / 312.1 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.1398, allocations: 1.422 MB / 313.5 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004187/0.1402, allocations: 299 kB / 313.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008621/0.1411, allocations: 0.5464 MB / 314.3 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.1414, allocations: 0.7665 MB / 315.1 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007882/0.1422, allocations: 1.149 MB / 316.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.144, allocations: 2.853 MB / 319.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.144, allocations: 0 / 319.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.144, allocations: 4 kB / 319.1 MB, free: 1.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.945e-05/0.1441, allocations: 0 / 319.1 MB, free: 1.508 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.01516/0.1592, allocations: 8.663 MB / 327.7 MB, free: 8.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1592, allocations: 12.03 kB / 327.8 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005713/0.1598, allocations: 476.5 kB / 328.2 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.161, allocations: 0.851 MB / 329.1 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.1613, allocations: 0.7503 MB / 329.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.1616, allocations: 312.1 kB / 330.1 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.1643, allocations: 3.256 MB / 333.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.1643, allocations: 192 / 333.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.1645, allocations: 116.3 kB / 333.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.1645, allocations: 60.12 kB / 333.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.1666, allocations: 1.124 MB / 334.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007595/0.1742, allocations: 5.21 MB / 339.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.1771, allocations: 3.223 MB / 343.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009919/0.1781, allocations: 0.9698 MB / 344.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.1784, allocations: 95.36 kB / 344.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00191/0.1803, allocations: 2.694 MB / 346.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=453): time 8.025e-06/0.1803, allocations: 0 / 346.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=453): time 0.004759/0.1851, allocations: 3.285 MB / 350.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.1852, allocations: 180.1 kB / 350.3 MB, free: 1.336 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.186, allocations: 1.28 MB / 351.6 MB, free: 44 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002308/0.1863, allocations: 137.8 kB / 351.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.1866, allocations: 0.6579 MB / 352.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000777/0.1873, allocations: 1.506 MB / 353.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000772/0.1881, allocations: 0.7576 MB / 354.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.1882, allocations: 301.1 kB / 355 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.1895, allocations: 0.8628 MB / 355.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.1907, allocations: 1.235 MB / 357.1 MB, free: 10.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/0.193, allocations: 2.436 MB / 359.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.193, allocations: 0 / 359.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.004518/0.1975, allocations: 3.367 MB / 362.9 MB, free: 4.543 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1976, allocations: 8 kB / 362.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1976, allocations: 0 / 362.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01547/0.213, allocations: 9.037 MB / 371.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2142, allocations: 0.5304 MB / 372.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.2188, allocations: 3.235 MB / 375.7 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.2202, allocations: 397 kB / 376.1 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.2204, allocations: 112 kB / 376.2 MB, free: 7.18 MB / 330.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: 60 (b61106.degradedMode,$PRE.b61106.degradedMode,b87656.degradedMode,$PRE.b87656.degradedMode,b56131.degradedMode,$PRE.b56131.degradedMode,b61275.degradedMode,$PRE.b61275.degradedMode,b61273.degradedMode,$PRE.b61273.degradedMode,b61274.degradedMode,$PRE.b61274.degradedMode,b61089.degradedMode,$PRE.b61089.degradedMode,b61227.degradedMode,$PRE.b61227.degradedMode,b11403.degradedMode,$PRE.b11403.degradedMode,b11407.degradedMode,$PRE.b11407.degradedMode,b61254.degradedMode,$PRE.b61254.degradedMode,b61260.degradedMode,$PRE.b61260.degradedMode,b11465.degradedMode,$PRE.b11465.degradedMode,b87694.degradedMode,$PRE.b87694.degradedMode,b61121.degradedMode,$PRE.b61121.degradedMode,b61232.degradedMode,$PRE.b61232.degradedMode,b11480.degradedMode,$PRE.b11480.degradedMode,b61256.degradedMode,$PRE.b61256.degradedMode,b11458.degradedMode,$PRE.b11458.degradedMode,b61280.degradedMode,$PRE.b61280.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (375): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(79,137)} Notification: Performance of prepare postOptimizeDAE: time 0.000692/0.2211, allocations: 350.5 kB / 376.5 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/0.2215, allocations: 343.6 kB / 376.8 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/0.2255, allocations: 3.328 MB / 380.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.2255, allocations: 48 kB / 380.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2255, allocations: 0 / 380.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.2256, allocations: 23.91 kB / 380.2 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006808/0.2324, allocations: 5.352 MB / 385.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.2324, allocations: 4 kB / 385.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.2331, allocations: 399.4 kB / 386 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01484/0.2479, allocations: 8.808 MB / 394.8 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/0.2481, allocations: 91.97 kB / 394.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/0.2527, allocations: 3.382 MB / 398.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2527, allocations: 0 / 398.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.2573, allocations: 3.371 MB / 401.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.2584, allocations: 420.8 kB / 402.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.2587, allocations: 84 kB / 402.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.2598, allocations: 214.7 kB / 402.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/0.2602, allocations: 319.3 kB / 402.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/0.2604, allocations: 112 kB / 402.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004559/0.2608, allocations: 0.623 MB / 403.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2608, allocations: 0 / 403.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001459/0.2623, allocations: 1.042 MB / 404.4 MB, free: 10.79 MB / 362.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: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Number of discrete states: 20 (b61089.degradedMode,b11407.degradedMode,b11403.degradedMode,b61275.degradedMode,b61273.degradedMode,b61254.degradedMode,b61274.degradedMode,b61260.degradedMode,b11465.degradedMode,b61227.degradedMode,b87656.degradedMode,b56131.degradedMode,b61256.degradedMode,b11480.degradedMode,b87694.degradedMode,b61232.degradedMode,b11458.degradedMode,b61121.degradedMode,b61280.degradedMode,b61106.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(80,156)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000433/0.2627, allocations: 265 kB / 404.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006181/0.2689, allocations: 3.742 MB / 408.4 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/0.2689, allocations: 23 kB / 408.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004238/0.2731, allocations: 2.541 MB / 411 MB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.2743, allocations: 427.4 kB / 411.4 MB, free: 3.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006512/0.2808, allocations: 5.24 MB / 416.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2811, allocations: 0.4954 MB / 417.2 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000657/0.2818, allocations: 333.5 kB / 417.5 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008032/0.2826, allocations: 0.5264 MB / 418 MB, free: 13.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.816e-06/0.2826, allocations: 0 / 418 MB, free: 13.14 MB / 378.7 MB Notification: Performance of Templates: time 0.1744/0.457, allocations: 65.91 MB / 483.9 MB, free: 73.86 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.LargerNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.LargerNetwork -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.299053426831961]