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.001029/0.001029, allocations: 84.22 kB / 20.98 MB, free: 3.562 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.001977/0.001977, allocations: 169 kB / 24.29 MB, free: 264 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 1.026/1.026, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.02509/0.02509, allocations: 4.481 MB / 265.6 MB, free: 8.633 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.252e-06/1.252e-06, allocations: 0 / 336.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.744e-05, allocations: 6.25 kB / 336.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.003445/0.003462, allocations: 5.438 MB / 341.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.006175, allocations: 2.345 MB / 344.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.006533, allocations: 16 kB / 344.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.007022, allocations: 317.7 kB / 344.6 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007459/0.007768, allocations: 0.6089 MB / 345.2 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.009147, allocations: 1.374 MB / 346.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009386/0.01009, allocations: 1.314 MB / 347.9 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.01038, allocations: 265.6 kB / 348.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.01083, allocations: 0.7599 MB / 348.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.01125, allocations: 0.5297 MB / 349.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-05/0.01133, allocations: 104 kB / 349.6 MB, free: 456 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004392/0.01177, allocations: 343.5 kB / 349.9 MB, free: 112 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.01192, allocations: 266.9 kB / 350.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.01221, allocations: 422.8 kB / 350.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009649/0.01318, allocations: 1.129 MB / 351.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01318, allocations: 0 / 351.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01318, allocations: 3.938 kB / 351.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.0132, allocations: 0 / 351.7 MB, free: 14.3 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.006911/0.02011, allocations: 3.264 MB / 355 MB, free: 10.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.02015, allocations: 15.97 kB / 355 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.02045, allocations: 200.1 kB / 355.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.02109, allocations: 0.6184 MB / 355.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.02113, allocations: 78.38 kB / 355.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.02125, allocations: 108.4 kB / 356 MB, free: 9.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.02253, allocations: 1.563 MB / 357.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.02254, allocations: 192 / 357.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.02262, allocations: 40.38 kB / 357.6 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.02264, allocations: 23.94 kB / 357.6 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008383/0.02348, allocations: 0.5348 MB / 358.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.02676, allocations: 2.768 MB / 360.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.02804, allocations: 1.197 MB / 362.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.02861, allocations: 469 kB / 362.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.02872, allocations: 37.3 kB / 362.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.02876, allocations: 58.94 kB / 362.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=147): time 2.545e-06/0.02876, allocations: 0 / 362.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.01313/0.04189, allocations: 5.616 MB / 368.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.04196, allocations: 116.1 kB / 368.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.04253, allocations: 0.6361 MB / 369 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.737e-05/0.04263, allocations: 57.7 kB / 369.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.04286, allocations: 389.5 kB / 369.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.0432, allocations: 0.5073 MB / 370 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.04356, allocations: 305.2 kB / 370.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.04377, allocations: 0.5121 MB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.04448, allocations: 471.8 kB / 371.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007517/0.04523, allocations: 0.6525 MB / 371.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.04667, allocations: 1.157 MB / 373 MB, free: 8.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.04667, allocations: 0 / 373 MB, free: 8.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004943/0.05161, allocations: 2.803 MB / 375.8 MB, free: 5.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.05163, allocations: 4 kB / 375.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.05164, allocations: 0 / 375.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007138/0.05878, allocations: 3.828 MB / 379.7 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.05929, allocations: 223.7 kB / 379.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.06974, allocations: 6.965 MB / 386.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.07032, allocations: 135 kB / 387 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.07039, allocations: 55.97 kB / 387 MB, free: 10.41 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.0003/0.07069, allocations: 232.3 kB / 387.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.07088, allocations: 155.3 kB / 387.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.07575, allocations: 2.71 MB / 390.1 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.07576, allocations: 16 kB / 390.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.07576, allocations: 4 kB / 390.2 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.07577, allocations: 11.91 kB / 390.2 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005687/0.08146, allocations: 3.686 MB / 393.9 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.08146, allocations: 0 / 393.9 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.08178, allocations: 175.7 kB / 394 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006699/0.08848, allocations: 2.995 MB / 397 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.349e-05/0.08857, allocations: 35.98 kB / 397.1 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.09891, allocations: 6.802 MB / 403.9 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.09892, allocations: 0 / 403.9 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.104, allocations: 2.703 MB / 406.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1041, allocations: 130.9 kB / 406.7 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.1042, allocations: 32 kB / 406.7 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.1047, allocations: 67.95 kB / 406.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.1049, allocations: 126.4 kB / 406.9 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.1049, allocations: 55.98 kB / 407 MB, free: 6.234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003089/0.1053, allocations: 403 kB / 407.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1053, allocations: 0 / 407.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009796/0.1062, allocations: 0.5232 MB / 407.9 MB, free: 5.316 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.0002659/0.1065, allocations: 163.6 kB / 408 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.1102, allocations: 2.386 MB / 410.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1102, allocations: 8.656 kB / 410.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.1128, allocations: 1.747 MB / 412.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.1134, allocations: 154.8 kB / 412.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1104/0.2237, allocations: 1.937 MB / 414.3 MB, free: 79.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.224, allocations: 247.9 kB / 414.5 MB, free: 79.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004028/0.2244, allocations: 149.1 kB / 414.7 MB, free: 79.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.2246, allocations: 98.25 kB / 414.8 MB, free: 79.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.472e-06/0.2246, allocations: 3.875 kB / 414.8 MB, free: 79.73 MB / 330.7 MB Notification: Performance of Templates: time 0.03758/0.2622, allocations: 37.09 MB / 451.8 MB, free: 52.05 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.7343248911201954]