Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.0008675/0.0008675, allocations: 79.36 kB / 20.47 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.0009331/0.0009331, 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.9283/0.9283, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.02419/0.02419, allocations: 4.486 MB / 265.2 MB, free: 8.555 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.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 336.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.743e-05, allocations: 6.312 kB / 336.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.00233/0.002357, allocations: 1.972 MB / 338.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.004484, allocations: 1.683 MB / 340.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.004624, allocations: 4 kB / 340.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.005058, allocations: 139.1 kB / 340.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.005669, allocations: 234.5 kB / 340.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.007025, allocations: 1.155 MB / 341.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.007521, allocations: 378.3 kB / 342 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.007681, allocations: 68.3 kB / 342.1 MB, free: 8.688 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.008024, allocations: 231.5 kB / 342.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.008271, allocations: 159.5 kB / 342.5 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.008319, allocations: 32 kB / 342.5 MB, free: 8.273 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.008868, allocations: 283.6 kB / 342.8 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.008974, allocations: 95.66 kB / 342.9 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.009086, allocations: 119.7 kB / 343 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006895/0.009776, allocations: 0.5179 MB / 343.5 MB, free: 7.266 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.00978, allocations: 0 / 343.5 MB, free: 7.266 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.009781, allocations: 4 kB / 343.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.00979, allocations: 0 / 343.5 MB, free: 7.262 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002339/0.01213, allocations: 1.14 MB / 344.6 MB, free: 6.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.01217, allocations: 12.03 kB / 344.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.01229, allocations: 68.7 kB / 344.7 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.0126, allocations: 248.5 kB / 345 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.01278, allocations: 221.1 kB / 345.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.01282, allocations: 32.38 kB / 345.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.01356, allocations: 0.5486 MB / 345.8 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.01357, allocations: 4.188 kB / 345.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.0136, allocations: 16.38 kB / 345.8 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.01362, allocations: 12.12 kB / 345.8 MB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.01394, allocations: 158.9 kB / 346 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01525, allocations: 1.05 MB / 347 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.01578, allocations: 361.2 kB / 347.4 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.01597, allocations: 151 kB / 347.5 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.01607, allocations: 19.92 kB / 347.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/0.01636, allocations: 307.5 kB / 347.8 MB, free: 2.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.462e-06/0.01636, allocations: 0 / 347.8 MB, free: 2.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.00166/0.01802, allocations: 0.6846 MB / 348.5 MB, free: 1.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.01809, allocations: 144.5 kB / 348.6 MB, free: 1.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.01826, allocations: 273.7 kB / 348.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.0183, allocations: 37.7 kB / 349 MB, free: 1.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.01839, allocations: 207.9 kB / 349.2 MB, free: 1.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.01846, allocations: 107.1 kB / 349.3 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.01856, allocations: 99.91 kB / 349.4 MB, free: 1.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01869, allocations: 0.504 MB / 349.9 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.01883, allocations: 108.9 kB / 350 MB, free: 396 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.01902, allocations: 209.1 kB / 350.2 MB, free: 148 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.01936, allocations: 297.7 kB / 350.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01936, allocations: 0 / 350.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007757/0.02013, allocations: 0.5128 MB / 351 MB, free: 15.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.02015, allocations: 12.06 kB / 351 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.02016, allocations: 4 kB / 351 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.02127, allocations: 403.1 kB / 351.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.02143, allocations: 63.91 kB / 351.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.02259, allocations: 0.999 MB / 352.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.02277, allocations: 35.73 kB / 352.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.0228, allocations: 19.98 kB / 352.5 MB, free: 13.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.02295, allocations: 176.5 kB / 352.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.02313, allocations: 137.5 kB / 352.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/0.02384, allocations: 400.7 kB / 353.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.02384, allocations: 4 kB / 353.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.02385, allocations: 0 / 353.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.02386, allocations: 7.984 kB / 353.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.02533, allocations: 0.9189 MB / 354.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.02533, allocations: 4 kB / 354.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.02558, allocations: 71.84 kB / 354.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.02687, allocations: 391.2 kB / 354.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.02691, allocations: 12 kB / 354.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000991/0.0279, allocations: 0.999 MB / 355.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0279, allocations: 3.938 kB / 355.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.02933, allocations: 0.7498 MB / 356.4 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.02938, allocations: 35.69 kB / 356.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.02943, allocations: 8 kB / 356.4 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.02966, allocations: 31.97 kB / 356.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.02973, allocations: 23.95 kB / 356.4 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.02976, allocations: 20 kB / 356.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.02989, allocations: 187.2 kB / 356.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02989, allocations: 0 / 356.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.0303, allocations: 103.9 kB / 356.8 MB, free: 9.352 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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 {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002497/0.03055, allocations: 147 kB / 356.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.03163, allocations: 438.6 kB / 357.3 MB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.03163, allocations: 4 kB / 357.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.03227, allocations: 259.6 kB / 357.6 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.03273, allocations: 85.2 kB / 357.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.03439, allocations: 0.6844 MB / 358.3 MB, free: 7.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.981e-05/0.03447, allocations: 102.2 kB / 358.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.03459, allocations: 46.94 kB / 358.5 MB, free: 7.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.03467, allocations: 28.5 kB / 358.5 MB, free: 7.508 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.03467, allocations: 0 / 358.5 MB, free: 7.508 MB / 330.7 MB Notification: Performance of Templates: time 0.0101/0.04477, allocations: 6.169 MB / 364.7 MB, free: 1.395 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9772791508585215]