Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.0008836/0.0008836, allocations: 79.36 kB / 20.46 MB, free: 4.105 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.0009164/0.0009164, allocations: 169 kB / 23.84 MB, free: 0.7305 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.9736/0.9736, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.02315/0.02315, allocations: 4.48 MB / 265.2 MB, free: 8.527 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.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 336.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.6e-05, allocations: 5.266 kB / 336.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.003172/0.003188, allocations: 5.438 MB / 341.9 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.00522, allocations: 2.353 MB / 344.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.005448, allocations: 16 kB / 344.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.005865, allocations: 321.7 kB / 344.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006531/0.006519, allocations: 0.6128 MB / 345.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.007743, allocations: 1.374 MB / 346.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.008381, allocations: 1.318 MB / 347.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.008639, allocations: 257.6 kB / 348.2 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003724/0.009011, allocations: 0.7638 MB / 348.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.009397, allocations: 0.5336 MB / 349.5 MB, free: 200 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.89e-05/0.009486, allocations: 104 kB / 349.6 MB, free: 96 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.009885, allocations: 339.5 kB / 349.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.01003, allocations: 262.9 kB / 350.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.0103, allocations: 430.8 kB / 350.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008256/0.01112, allocations: 1.117 MB / 351.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01113, allocations: 0 / 351.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01113, allocations: 0 / 351.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.01114, allocations: 4 kB / 351.7 MB, free: 13.96 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.006144/0.01728, allocations: 3.279 MB / 355 MB, free: 10.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.01732, allocations: 8.031 kB / 355 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.01758, allocations: 208.1 kB / 355.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/0.01823, allocations: 0.6106 MB / 355.8 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.01827, allocations: 70.38 kB / 355.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.01839, allocations: 108.4 kB / 356 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.0197, allocations: 1.57 MB / 357.6 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.01972, allocations: 4.188 kB / 357.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.0198, allocations: 36.36 kB / 357.6 MB, free: 7.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.01981, allocations: 23.94 kB / 357.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/0.02067, allocations: 0.5465 MB / 358.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.02401, allocations: 2.756 MB / 360.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.02536, allocations: 1.209 MB / 362.1 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.02596, allocations: 461.3 kB / 362.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.02609, allocations: 37.3 kB / 362.6 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.02613, allocations: 54.94 kB / 362.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=147): time 2.876e-06/0.02613, allocations: 4 kB / 362.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.01393/0.04006, allocations: 5.608 MB / 368.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.04011, allocations: 124.1 kB / 368.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.0406, allocations: 0.6361 MB / 369 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.488e-05/0.04069, allocations: 65.7 kB / 369.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.04087, allocations: 377.5 kB / 369.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.04113, allocations: 0.5151 MB / 370 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.04145, allocations: 297.2 kB / 370.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003957/0.04185, allocations: 0.5121 MB / 370.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.04248, allocations: 475.8 kB / 371.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.0432, allocations: 0.6486 MB / 371.9 MB, free: 9.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.04461, allocations: 1.161 MB / 373.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.04461, allocations: 0 / 373.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004868/0.04948, allocations: 2.799 MB / 375.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.0495, allocations: 4 kB / 375.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.0495, allocations: 0 / 375.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007528/0.05703, allocations: 3.828 MB / 379.7 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.05748, allocations: 223.7 kB / 379.9 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.0677, allocations: 6.973 MB / 386.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.0682, allocations: 131 kB / 387 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.06828, allocations: 55.98 kB / 387.1 MB, free: 10.05 MB / 314.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 (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002634/0.06854, allocations: 228.3 kB / 387.3 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.06872, allocations: 159.3 kB / 387.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.07337, allocations: 2.714 MB / 390.2 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.07338, allocations: 16 kB / 390.2 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.07339, allocations: 0 / 390.2 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.0734, allocations: 7.969 kB / 390.2 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006046/0.07944, allocations: 3.694 MB / 393.9 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.07946, allocations: 0 / 393.9 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.07986, allocations: 175.7 kB / 394.1 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008358/0.08822, allocations: 2.995 MB / 397 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/0.08846, allocations: 32 kB / 397.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/0.1025, allocations: 6.794 MB / 403.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1025, allocations: 0 / 403.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/0.1089, allocations: 2.711 MB / 406.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.1092, allocations: 134.9 kB / 406.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.1093, allocations: 24 kB / 406.7 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.1099, allocations: 67.95 kB / 406.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/0.1103, allocations: 134.4 kB / 406.9 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.1104, allocations: 52 kB / 407 MB, free: 5.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003919/0.1108, allocations: 399 kB / 407.4 MB, free: 5.492 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1108, allocations: 0 / 407.4 MB, free: 5.492 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001264/0.112, allocations: 0.531 MB / 407.9 MB, free: 4.961 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * 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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000296/0.1123, allocations: 155.7 kB / 408.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004834/0.1172, allocations: 2.394 MB / 410.5 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1172, allocations: 4.656 kB / 410.5 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003548/0.1207, allocations: 1.739 MB / 412.2 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.1215, allocations: 162.7 kB / 412.4 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1125/0.2339, allocations: 1.936 MB / 414.3 MB, free: 70.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2342, allocations: 245.9 kB / 414.5 MB, free: 70.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.2345, allocations: 151 kB / 414.7 MB, free: 70.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.2347, allocations: 91.27 kB / 414.8 MB, free: 70.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.853e-06/0.2347, allocations: 3.719 kB / 414.8 MB, free: 70.54 MB / 330.7 MB Notification: Performance of Templates: time 0.03318/0.2679, allocations: 37.08 MB / 451.9 MB, free: 44.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7394735240377486]