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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001467/0.001467, allocations: 104.1 kB / 17.07 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 196 kB / 18.01 MB, free: 5.02 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.429/1.429, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05461/0.05461, allocations: 8.103 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 68.03 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2697, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002788/0.2725, allocations: 2.043 MB / 416.7 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2743, allocations: 1.641 MB / 418.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.2744, allocations: 4 kB / 418.4 MB, free: 21.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.2748, allocations: 143.2 kB / 418.5 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.2753, allocations: 225.6 kB / 418.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.2769, allocations: 1.225 MB / 420 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.2773, allocations: 374.5 kB / 420.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.2775, allocations: 107.7 kB / 420.4 MB, free: 19.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2777, allocations: 163.5 kB / 420.6 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2779, allocations: 199.2 kB / 420.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.278, allocations: 32 kB / 420.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.2783, allocations: 291.7 kB / 421.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.2784, allocations: 83.72 kB / 421.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.2785, allocations: 175.1 kB / 421.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.279, allocations: 0.5626 MB / 421.9 MB, free: 18.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.279, allocations: 4 kB / 421.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.279, allocations: 0 / 421.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.279, allocations: 0 / 421.9 MB, free: 18.16 MB / 302.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.003473/0.2825, allocations: 1.107 MB / 423 MB, free: 17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2825, allocations: 11.89 kB / 423 MB, free: 16.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/0.2826, allocations: 36.56 kB / 423.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2829, allocations: 304.2 kB / 423.4 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.2831, allocations: 104.5 kB / 423.5 MB, free: 16.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.2832, allocations: 32.38 kB / 423.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2846, allocations: 0.7172 MB / 424.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2846, allocations: 3.938 kB / 424.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.2846, allocations: 12 kB / 424.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2847, allocations: 8 kB / 424.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.2855, allocations: 457.4 kB / 424.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.2872, allocations: 1.534 MB / 426.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.2885, allocations: 0.7115 MB / 426.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.289, allocations: 318.5 kB / 427.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.2892, allocations: 89.09 kB / 427.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.2895, allocations: 272.9 kB / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.2895, allocations: 0 / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003255/0.2928, allocations: 1.226 MB / 428.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.2929, allocations: 137 kB / 429 MB, free: 10.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.2931, allocations: 228 kB / 429.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.2932, allocations: 33.7 kB / 429.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.2932, allocations: 156.9 kB / 429.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.2933, allocations: 110.5 kB / 429.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.2934, allocations: 94.23 kB / 429.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.2935, allocations: 342.8 kB / 429.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.2938, allocations: 201 kB / 430.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.2941, allocations: 340.4 kB / 430.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.2947, allocations: 0.5375 MB / 431 MB, free: 8.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2947, allocations: 0 / 431 MB, free: 8.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001334/0.296, allocations: 0.7903 MB / 431.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.296, allocations: 7.984 kB / 431.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2961, allocations: 4 kB / 431.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/0.2981, allocations: 476.2 kB / 432.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.2984, allocations: 83.89 kB / 432.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.2997, allocations: 0.9114 MB / 433.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.3001, allocations: 55.45 kB / 433.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.3001, allocations: 20 kB / 433.3 MB, free: 6.195 MB / 302.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.0001848/0.3003, allocations: 165.7 kB / 433.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006091/0.3009, allocations: 245.2 kB / 433.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009528/0.3019, allocations: 0.5865 MB / 434.3 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3019, allocations: 4 kB / 434.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3019, allocations: 0 / 434.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.302, allocations: 3.984 kB / 434.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.304, allocations: 1.366 MB / 435.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3041, allocations: 0 / 435.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.3044, allocations: 87.88 kB / 435.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.3063, allocations: 452.3 kB / 436.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.3063, allocations: 15.98 kB / 436.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.3076, allocations: 0.9114 MB / 437.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3076, allocations: 3.938 kB / 437.1 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.3098, allocations: 0.9976 MB / 438.1 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.3099, allocations: 108.7 kB / 438.2 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.3099, allocations: 19.97 kB / 438.2 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.3103, allocations: 40 kB / 438.3 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.3104, allocations: 27.91 kB / 438.3 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.3105, allocations: 23.92 kB / 438.3 MB, free: 1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3106, allocations: 167.1 kB / 438.5 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3107, allocations: 0 / 438.5 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004765/0.3111, allocations: 111.8 kB / 438.6 MB, free: 0.7266 MB / 302.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.0002375/0.3114, allocations: 131.2 kB / 438.7 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3132, allocations: 0.7021 MB / 439.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.3132, allocations: 4.25 kB / 439.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.3143, allocations: 320.1 kB / 439.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.315, allocations: 157.2 kB / 439.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3174, allocations: 0.8436 MB / 440.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.3178, allocations: 0.7849 MB / 441.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.318, allocations: 42.94 kB / 441.6 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.3181, allocations: 35.42 kB / 441.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3181, allocations: 0 / 441.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01035/0.3285, allocations: 5.814 MB / 447.4 MB, free: 7.863 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)