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.00115/0.00115, allocations: 82.64 kB / 21.48 MB, free: 3.02 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.001165/0.001165, allocations: 167.8 kB / 24.88 MB, free: 8.758 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.9745/0.9745, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.02292/0.02292, allocations: 4.489 MB / 266.3 MB, free: 8.422 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.132e-06/1.132e-06, allocations: 0 / 337.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.373e-05, allocations: 9.344 kB / 337.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01913/0.01915, allocations: 13.12 MB / 350.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008327/0.02748, allocations: 3.938 MB / 354.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.03016, allocations: 44 kB / 354.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.03204, allocations: 0.69 MB / 355.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.03625, allocations: 1.606 MB / 357.2 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.03957, allocations: 2.013 MB / 359.2 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004968/0.04454, allocations: 3.664 MB / 362.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.04585, allocations: 0.7671 MB / 363.6 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.04918, allocations: 2.124 MB / 365.8 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.05118, allocations: 1.445 MB / 367.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006768/0.05186, allocations: 300 kB / 367.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.05304, allocations: 0.5465 MB / 368 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005962/0.05363, allocations: 0.7665 MB / 368.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.05537, allocations: 1.153 MB / 370 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.0587, allocations: 2.845 MB / 372.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.05871, allocations: 0 / 372.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.05871, allocations: 0 / 372.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.813e-05/0.05879, allocations: 0 / 372.8 MB, free: 9.73 MB / 298.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.01879/0.07757, allocations: 8.43 MB / 381.2 MB, free: 1.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.07761, allocations: 8.031 kB / 381.2 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.07858, allocations: 0.573 MB / 381.8 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.08039, allocations: 1.443 MB / 383.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00061/0.081, allocations: 0.7503 MB / 384 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/0.0814, allocations: 308.4 kB / 384.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.08452, allocations: 3.202 MB / 387.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.08456, allocations: 192 / 387.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.08479, allocations: 112.4 kB / 387.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.08482, allocations: 60.12 kB / 387.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.0868, allocations: 1.253 MB / 388.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.09719, allocations: 7.235 MB / 396.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/0.1003, allocations: 3.474 MB / 399.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.1015, allocations: 1.121 MB / 400.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.1018, allocations: 95.36 kB / 400.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002335/0.1041, allocations: 2.658 MB / 403.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=453): time 7.955e-06/0.1041, allocations: 0 / 403.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=453): time 0.005821/0.11, allocations: 4.24 MB / 407.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.11, allocations: 176.1 kB / 407.9 MB, free: 5.738 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1112, allocations: 1.384 MB / 409.3 MB, free: 4.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003363/0.1116, allocations: 137.7 kB / 409.4 MB, free: 4.199 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.1121, allocations: 0.9126 MB / 410.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.1131, allocations: 1.534 MB / 411.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.1143, allocations: 0.8292 MB / 412.7 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.1144, allocations: 488.7 kB / 413.2 MB, free: 416 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1271/0.2415, allocations: 0.9976 MB / 414.2 MB, free: 59.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.2432, allocations: 1.483 MB / 415.7 MB, free: 58.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.2461, allocations: 2.632 MB / 418.3 MB, free: 58.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.2461, allocations: 1.406 kB / 418.3 MB, free: 58.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.006061/0.2521, allocations: 4.351 MB / 422.7 MB, free: 58.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2522, allocations: 6.906 kB / 422.7 MB, free: 58.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2522, allocations: 0 / 422.7 MB, free: 58.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01848/0.2706, allocations: 16.43 MB / 439.1 MB, free: 47.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.2721, allocations: 0.5455 MB / 439.7 MB, free: 47.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/0.278, allocations: 3.857 MB / 443.5 MB, free: 44.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.2798, allocations: 405 kB / 443.9 MB, free: 44.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.28, allocations: 114 kB / 444 MB, free: 44.55 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.0007584/0.2807, allocations: 395.5 kB / 444.4 MB, free: 44.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/0.2813, allocations: 450.1 kB / 444.8 MB, free: 43.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.2856, allocations: 4.103 MB / 448.9 MB, free: 41.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.2856, allocations: 54.28 kB / 449 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2857, allocations: 0 / 449 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.2857, allocations: 28.14 kB / 449 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008038/0.2937, allocations: 6.858 MB / 455.9 MB, free: 35.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.2937, allocations: 0 / 455.9 MB, free: 35.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.2944, allocations: 409.8 kB / 456.3 MB, free: 35.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01903/0.3134, allocations: 8.91 MB / 465.2 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001066/0.3145, allocations: 91.98 kB / 465.3 MB, free: 26.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009263/0.3237, allocations: 4.019 MB / 469.3 MB, free: 22.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3237, allocations: 3.984 kB / 469.3 MB, free: 22.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008437/0.3322, allocations: 4.257 MB / 473.6 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002067/0.3342, allocations: 0.8948 MB / 474.5 MB, free: 17.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006653/0.3349, allocations: 84 kB / 474.5 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/0.3373, allocations: 209.8 kB / 474.7 MB, free: 17.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006551/0.338, allocations: 327.3 kB / 475.1 MB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003256/0.3383, allocations: 127.2 kB / 475.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007089/0.339, allocations: 0.7204 MB / 475.9 MB, free: 16.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.339, allocations: 0 / 475.9 MB, free: 16.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002209/0.3412, allocations: 1.046 MB / 477 MB, free: 15.31 MB / 330.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.0005809/0.3418, allocations: 280.8 kB / 477.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.009674/0.3515, allocations: 4.109 MB / 481.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.3515, allocations: 7 kB / 481.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006062/0.3576, allocations: 2.721 MB / 484.1 MB, free: 8.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.3593, allocations: 438.8 kB / 484.5 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.3666, allocations: 5.246 MB / 489.7 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3669, allocations: 0.4915 MB / 490.2 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008249/0.3677, allocations: 333.5 kB / 490.6 MB, free: 1.906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/0.3685, allocations: 0.5917 MB / 491.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3685, allocations: 0 / 491.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of Templates: time 0.07027/0.4387, allocations: 68.02 MB / 0.5461 GB, free: 13.91 MB / 410.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: 5.079275387804955]