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.0009179/0.000918, allocations: 84.19 kB / 15.75 MB, free: 416 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.001045/0.001045, allocations: 176.6 kB / 16.63 MB, free: 6.891 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.466/1.466, allocations: 223.3 MB / 240.7 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2167/0.2167, allocations: 8.082 MB / 299.8 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004565, allocations: 8 kB / 362.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 52.51 MB / 415.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003009/0.1568, allocations: 1.632 MB / 417 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.1601, allocations: 1.56 MB / 418.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004353/0.1605, allocations: 11.94 kB / 418.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006398/0.1612, allocations: 87.59 kB / 418.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.1624, allocations: 195.1 kB / 418.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.1648, allocations: 0.9849 MB / 419.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009561/0.1658, allocations: 334.6 kB / 420.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.1662, allocations: 73.56 kB / 420.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005416/0.1668, allocations: 143.5 kB / 420.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.1672, allocations: 183.3 kB / 420.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.1673, allocations: 16 kB / 420.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.168, allocations: 263.8 kB / 420.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1681, allocations: 67.73 kB / 420.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1682, allocations: 85.52 kB / 421 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.1687, allocations: 399.2 kB / 421.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1687, allocations: 4 kB / 421.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1687, allocations: 4 kB / 421.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1688, allocations: 0 / 421.4 MB, free: 2.676 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.003676/0.1724, allocations: 1.08 MB / 422.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1725, allocations: 12.03 kB / 422.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1726, allocations: 39.58 kB / 422.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.173, allocations: 278.4 kB / 422.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.1732, allocations: 111.9 kB / 422.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.1733, allocations: 28 kB / 422.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.1749, allocations: 0.7287 MB / 423.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1749, allocations: 0 / 423.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.175, allocations: 19.95 kB / 423.7 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.175, allocations: 4 kB / 423.7 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2423/0.4173, allocations: 460.8 kB / 424.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.4195, allocations: 1.545 MB / 425.7 MB, free: 40.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.421, allocations: 0.7359 MB / 426.4 MB, free: 40.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.4217, allocations: 326.5 kB / 426.7 MB, free: 40.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.4219, allocations: 94.08 kB / 426.8 MB, free: 40.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.4224, allocations: 272.3 kB / 427.1 MB, free: 40.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.896e-06/0.4224, allocations: 3.281 kB / 427.1 MB, free: 40.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003604/0.4261, allocations: 1.242 MB / 428.3 MB, free: 39.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.4262, allocations: 144.9 kB / 428.5 MB, free: 39.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4264, allocations: 233.2 kB / 428.7 MB, free: 39.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.4264, allocations: 35.45 kB / 428.7 MB, free: 39.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.4265, allocations: 152.4 kB / 428.9 MB, free: 39.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.4266, allocations: 110.5 kB / 429 MB, free: 39.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.4267, allocations: 6.625 kB / 429 MB, free: 39.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.4267, allocations: 341.1 kB / 429.3 MB, free: 39.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.4271, allocations: 204.3 kB / 429.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.4275, allocations: 331.3 kB / 429.8 MB, free: 38.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.4279, allocations: 245.3 kB / 430.1 MB, free: 38.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4279, allocations: 0 / 430.1 MB, free: 38.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001606/0.4295, allocations: 0.8163 MB / 430.9 MB, free: 38.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4295, allocations: 9.469 kB / 430.9 MB, free: 38.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.4295, allocations: 3.125 kB / 430.9 MB, free: 38.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.4314, allocations: 469.8 kB / 431.4 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.4318, allocations: 91.61 kB / 431.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.433, allocations: 0.9079 MB / 432.4 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.4333, allocations: 52.81 kB / 432.4 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4333, allocations: 21.81 kB / 432.4 MB, free: 38.22 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 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.4335, allocations: 161.4 kB / 432.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/0.4341, allocations: 271.9 kB / 432.9 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.4352, allocations: 0.5756 MB / 433.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4353, allocations: 9.438 kB / 433.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4353, allocations: 3.656 kB / 433.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4353, allocations: 3.469 kB / 433.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.4375, allocations: 1.395 MB / 434.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4375, allocations: 3.312 kB / 434.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.4378, allocations: 91.42 kB / 434.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.4395, allocations: 453.4 kB / 435.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.4396, allocations: 11.34 kB / 435.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.4407, allocations: 0.9145 MB / 436.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4407, allocations: 0 / 436.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.4428, allocations: 1.011 MB / 437.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.4428, allocations: 112.8 kB / 437.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.4429, allocations: 7.125 kB / 437.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.4433, allocations: 53.11 kB / 437.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.4434, allocations: 35.91 kB / 437.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.4434, allocations: 17.67 kB / 437.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.4436, allocations: 159 kB / 437.7 MB, free: 35.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4436, allocations: 2.938 kB / 437.7 MB, free: 35.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.4441, allocations: 113 kB / 437.8 MB, free: 35.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000226/0.4443, allocations: 133.6 kB / 437.9 MB, free: 35.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.446, allocations: 0.6885 MB / 438.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.446, allocations: 4.062 kB / 438.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008952/0.4469, allocations: 325.5 kB / 438.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.4476, allocations: 158.7 kB / 439.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.4496, allocations: 0.968 MB / 440.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.4499, allocations: 0.7836 MB / 440.9 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.4501, allocations: 48.34 kB / 440.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.4502, allocations: 34.02 kB / 440.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4502, allocations: 1.219 kB / 440.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of Templates: time 0.008987/0.4592, allocations: 5.187 MB / 446.1 MB, free: 33.78 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: