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.001014/0.001014, allocations: 85.84 kB / 21.48 MB, free: 3.027 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.001195/0.001195, allocations: 174.3 kB / 24.88 MB, free: 8.832 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.9914/0.9914, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.02466/0.02466, allocations: 4.488 MB / 266.3 MB, free: 8.418 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.923e-06/1.923e-06, allocations: 0 / 337.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.799e-05, allocations: 2.312 kB / 337.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005525/0.005553, allocations: 5.348 MB / 343.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.009509, allocations: 2.345 MB / 345.4 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008603/0.01037, allocations: 16 kB / 345.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.01101, allocations: 313.8 kB / 345.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.01203, allocations: 0.6089 MB / 346.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.01347, allocations: 1.353 MB / 347.7 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.01453, allocations: 1.31 MB / 349 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.01489, allocations: 265.6 kB / 349.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.01556, allocations: 0.7599 MB / 350 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005223/0.01608, allocations: 0.5414 MB / 350.6 MB, free: 56 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.01624, allocations: 100 kB / 350.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.01684, allocations: 335.5 kB / 351 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.017, allocations: 274.9 kB / 351.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.01733, allocations: 418.8 kB / 351.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.01839, allocations: 1.129 MB / 352.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01839, allocations: 0 / 352.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0184, allocations: 0 / 352.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.01841, allocations: 0 / 352.8 MB, free: 13.82 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.007002/0.02541, allocations: 3.283 MB / 356.1 MB, free: 10.49 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.02545, allocations: 8.031 kB / 356.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.02577, allocations: 200.1 kB / 356.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.02647, allocations: 0.6105 MB / 356.9 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.02651, allocations: 70.38 kB / 357 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.02664, allocations: 112.4 kB / 357.1 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.02779, allocations: 1.473 MB / 358.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.0278, allocations: 4.188 kB / 358.6 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.02788, allocations: 36.31 kB / 358.6 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.02789, allocations: 23.94 kB / 358.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.02852, allocations: 421.6 kB / 359 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.03206, allocations: 2.659 MB / 361.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.03322, allocations: 1.096 MB / 362.8 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.03364, allocations: 386.1 kB / 363.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.03376, allocations: 33.3 kB / 363.2 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.0338, allocations: 62.88 kB / 363.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=147): time 3.085e-06/0.0338, allocations: 0 / 363.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.01424/0.04804, allocations: 5.33 MB / 368.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.0481, allocations: 124 kB / 368.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.04869, allocations: 0.624 MB / 369.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.04887, allocations: 61.7 kB / 369.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.04908, allocations: 385.4 kB / 369.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.04947, allocations: 0.515 MB / 370.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.04982, allocations: 309.1 kB / 370.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.04998, allocations: 0.5159 MB / 371.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/0.05042, allocations: 363.7 kB / 371.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.05094, allocations: 0.543 MB / 372 MB, free: 10.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.05192, allocations: 0.9421 MB / 372.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.05193, allocations: 0 / 372.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004613/0.05654, allocations: 2.526 MB / 375.5 MB, free: 6.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.05657, allocations: 8 kB / 375.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.05657, allocations: 0 / 375.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007505/0.06408, allocations: 3.785 MB / 379.3 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.06472, allocations: 227.6 kB / 379.5 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.07529, allocations: 6.688 MB / 386.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/0.07614, allocations: 143 kB / 386.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.07623, allocations: 39.98 kB / 386.4 MB, free: 11.75 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.0003978/0.07662, allocations: 228.3 kB / 386.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.07685, allocations: 167.2 kB / 386.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.08146, allocations: 2.495 MB / 389.2 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.08147, allocations: 20 kB / 389.3 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.08148, allocations: 0 / 389.3 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.08149, allocations: 7.969 kB / 389.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.08687, allocations: 3.386 MB / 392.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.08688, allocations: 0 / 392.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.0872, allocations: 175.7 kB / 392.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/0.0975, allocations: 2.956 MB / 395.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.09769, allocations: 28 kB / 395.8 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/0.1118, allocations: 6.541 MB / 402.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1118, allocations: 0 / 402.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00869/0.1205, allocations: 2.488 MB / 404.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.1207, allocations: 126.9 kB / 405 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.1209, allocations: 39.92 kB / 405 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.1216, allocations: 71.58 kB / 405.1 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/0.122, allocations: 134.4 kB / 405.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.1221, allocations: 36 kB / 405.2 MB, free: 8.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003312/0.1224, allocations: 374.8 kB / 405.6 MB, free: 8.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1224, allocations: 0 / 405.6 MB, free: 8.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004365/0.1268, allocations: 0.5271 MB / 406.1 MB, free: 7.734 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.0002952/0.1271, allocations: 167.6 kB / 406.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007445/0.1345, allocations: 2.21 MB / 408.5 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.1345, allocations: 0.6562 kB / 408.5 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009681/0.1442, allocations: 1.665 MB / 410.2 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.145, allocations: 154.9 kB / 410.3 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/0.1513, allocations: 1.908 MB / 412.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1516, allocations: 253.6 kB / 412.5 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004182/0.152, allocations: 147.5 kB / 412.6 MB, free: 1.137 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/0.1525, allocations: 318 kB / 412.9 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1525, allocations: 0 / 412.9 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of Templates: time 0.1676/0.3201, allocations: 39.47 MB / 452.4 MB, free: 45.23 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.748346725013107]