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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007938/0.0007935, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009038/0.0009036, allocations: 181.5 kB / 16.96 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2358/0.2358, allocations: 8.08 MB / 300.2 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003242, allocations: 12 kB / 363.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 52.52 MB / 416 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002389/0.1295, allocations: 1.716 MB / 417.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.132, allocations: 1.617 MB / 419.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.901e-05/0.1322, allocations: 4 kB / 419.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1325, allocations: 119.5 kB / 419.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.1331, allocations: 207.1 kB / 419.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.1349, allocations: 1.16 MB / 420.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.1354, allocations: 358.6 kB / 421.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1355, allocations: 87.81 kB / 421.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.1358, allocations: 147.5 kB / 421.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1361, allocations: 179.2 kB / 421.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.1361, allocations: 20 kB / 421.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.1366, allocations: 267.8 kB / 421.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1367, allocations: 79.64 kB / 421.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.1369, allocations: 184.8 kB / 422.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.1375, allocations: 0.5296 MB / 422.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1375, allocations: 3.984 kB / 422.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1375, allocations: 0 / 422.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1375, allocations: 0 / 422.6 MB, free: 1.695 MB / 350.1 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.003865/0.1414, allocations: 1.076 MB / 423.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1415, allocations: 8.031 kB / 423.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1416, allocations: 40.56 kB / 423.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.142, allocations: 295.5 kB / 424.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.1422, allocations: 108.5 kB / 424.2 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.1423, allocations: 28.38 kB / 424.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2254/0.3677, allocations: 0.7366 MB / 424.9 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3678, allocations: 1.594 kB / 424.9 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.3678, allocations: 8.906 kB / 424.9 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3678, allocations: 8.312 kB / 424.9 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.3688, allocations: 466.1 kB / 425.4 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.3707, allocations: 1.551 MB / 427 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3721, allocations: 0.734 MB / 427.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.3727, allocations: 336.9 kB / 428 MB, free: 40.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.3728, allocations: 91.84 kB / 428.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.3733, allocations: 272.4 kB / 428.4 MB, free: 40.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.3733, allocations: 1.641 kB / 428.4 MB, free: 40.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003385/0.3767, allocations: 1.253 MB / 429.6 MB, free: 40.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.3768, allocations: 146.7 kB / 429.8 MB, free: 39.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.377, allocations: 227.8 kB / 430 MB, free: 39.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.377, allocations: 38.2 kB / 430 MB, free: 39.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.3771, allocations: 150.4 kB / 430.2 MB, free: 39.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.3772, allocations: 113 kB / 430.3 MB, free: 39.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.3773, allocations: 49.14 kB / 430.3 MB, free: 39.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.3774, allocations: 337.8 kB / 430.7 MB, free: 39.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.3776, allocations: 210.4 kB / 430.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.378, allocations: 327.2 kB / 431.2 MB, free: 39.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/0.3787, allocations: 0.548 MB / 431.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3787, allocations: 4 kB / 431.7 MB, free: 39.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001401/0.3801, allocations: 0.7903 MB / 432.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3801, allocations: 6.406 kB / 432.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.3801, allocations: 3.062 kB / 432.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.3823, allocations: 471.8 kB / 433 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.3826, allocations: 91.81 kB / 433.1 MB, free: 38.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.384, allocations: 0.9012 MB / 434 MB, free: 38.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.3844, allocations: 55.05 kB / 434 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3844, allocations: 23.28 kB / 434.1 MB, free: 38.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (52): * Single equations (assignments): 51 * 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.000205/0.3846, allocations: 166 kB / 434.2 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006423/0.3853, allocations: 272.3 kB / 434.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/0.3863, allocations: 0.5803 MB / 435.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3863, allocations: 9.125 kB / 435.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3863, allocations: 0 / 435.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3863, allocations: 0 / 435.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.3886, allocations: 1.4 MB / 436.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3886, allocations: 4.031 kB / 436.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.389, allocations: 86.23 kB / 436.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.3909, allocations: 465.9 kB / 437 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.391, allocations: 11.09 kB / 437 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3923, allocations: 0.9058 MB / 437.9 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3923, allocations: 0 / 437.9 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.3947, allocations: 1.022 MB / 439 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.3948, allocations: 120.8 kB / 439.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.3949, allocations: 11.28 kB / 439.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.3953, allocations: 49.75 kB / 439.1 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.3954, allocations: 34.25 kB / 439.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.3954, allocations: 15.06 kB / 439.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.3956, allocations: 167.5 kB / 439.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3956, allocations: 0 / 439.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000517/0.3961, allocations: 113.2 kB / 439.5 MB, free: 35.53 MB / 350.1 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.0002527/0.3964, allocations: 126.8 kB / 439.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.3983, allocations: 0.6846 MB / 440.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.3983, allocations: 2.906 kB / 440.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3993, allocations: 323.7 kB / 440.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.4001, allocations: 175.3 kB / 440.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.4025, allocations: 0.983 MB / 441.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.4027, allocations: 0.7873 MB / 442.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.4029, allocations: 45.56 kB / 442.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.403, allocations: 36.36 kB / 442.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.403, allocations: 1.969 kB / 442.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of Templates: time 0.009295/0.4123, allocations: 5.364 MB / 448 MB, free: 33.47 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) Environment - environmentSimulation: