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.0009876/0.0009873, allocations: 100.8 kB / 15.73 MB, free: 436 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.001563/0.001564, allocations: 176.3 kB / 16.61 MB, free: 6.422 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.518/1.518, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2639/0.2639, allocations: 8.09 MB / 299.7 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005175, allocations: 8 kB / 362.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1628, allocations: 52.51 MB / 415.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002499/0.1653, allocations: 1.529 MB / 416.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.1683, allocations: 1.567 MB / 418.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.1686, allocations: 8 kB / 418.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.169, allocations: 95.5 kB / 418.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007152/0.1698, allocations: 203.4 kB / 418.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.1719, allocations: 0.9887 MB / 419.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007125/0.1726, allocations: 247.5 kB / 419.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.1729, allocations: 73.56 kB / 420 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.1732, allocations: 139.6 kB / 420.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.1736, allocations: 167.4 kB / 420.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.1736, allocations: 16 kB / 420.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.1742, allocations: 239.6 kB / 420.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1743, allocations: 71.78 kB / 420.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1744, allocations: 85.52 kB / 420.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.1751, allocations: 387.3 kB / 421 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1751, allocations: 0 / 421 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1751, allocations: 4 kB / 421 MB, free: 2.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1751, allocations: 0 / 421 MB, free: 2.922 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.004501/0.1796, allocations: 1.084 MB / 422.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1797, allocations: 8.031 kB / 422.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1799, allocations: 39.58 kB / 422.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.1804, allocations: 282.3 kB / 422.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.1806, allocations: 111.9 kB / 422.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.1808, allocations: 28 kB / 422.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.1825, allocations: 0.7326 MB / 423.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1826, allocations: 0 / 423.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.1826, allocations: 23.94 kB / 423.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1826, allocations: 8 kB / 423.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1839, allocations: 469.4 kB / 423.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2735/0.4574, allocations: 1.546 MB / 425.4 MB, free: 40.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.459, allocations: 0.7262 MB / 426.1 MB, free: 40.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.4591, allocations: 91.22 kB / 426.2 MB, free: 40.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.4595, allocations: 266.7 kB / 426.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.4596, allocations: 0 / 426.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003624/0.4632, allocations: 1.245 MB / 427.7 MB, free: 39.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.4633, allocations: 141.6 kB / 427.8 MB, free: 39.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.4636, allocations: 221.2 kB / 428 MB, free: 39.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.4636, allocations: 36.05 kB / 428.1 MB, free: 39.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4638, allocations: 162.1 kB / 428.2 MB, free: 39.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/0.4639, allocations: 105.6 kB / 428.3 MB, free: 39.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.4639, allocations: 10.88 kB / 428.3 MB, free: 39.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.464, allocations: 341.1 kB / 428.7 MB, free: 39.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.4643, allocations: 200.4 kB / 428.9 MB, free: 39.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.4647, allocations: 333.3 kB / 429.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.465, allocations: 246.4 kB / 429.4 MB, free: 38.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.465, allocations: 3.312 kB / 429.4 MB, free: 38.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001573/0.4666, allocations: 0.8153 MB / 430.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4666, allocations: 6.531 kB / 430.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4666, allocations: 6.438 kB / 430.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.4688, allocations: 468.6 kB / 430.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.4691, allocations: 87.22 kB / 430.8 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.4705, allocations: 0.9039 MB / 431.7 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.4709, allocations: 53.73 kB / 431.8 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.471, allocations: 19.12 kB / 431.8 MB, free: 38.28 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.0002181/0.4712, allocations: 175 kB / 432 MB, free: 38.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006439/0.4718, allocations: 262.8 kB / 432.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.4729, allocations: 0.5708 MB / 432.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4729, allocations: 14.52 kB / 432.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4729, allocations: 0 / 432.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.4729, allocations: 6.359 kB / 432.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.4753, allocations: 1.396 MB / 434.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.4754, allocations: 0 / 434.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.4757, allocations: 95.56 kB / 434.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.4777, allocations: 466.4 kB / 434.7 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.4777, allocations: 11.7 kB / 434.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.4789, allocations: 0.8932 MB / 435.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.479, allocations: 3.953 kB / 435.7 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.4813, allocations: 1.044 MB / 436.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.4814, allocations: 107.4 kB / 436.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.4815, allocations: 14.56 kB / 436.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.4819, allocations: 53.11 kB / 436.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.482, allocations: 28.36 kB / 436.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.482, allocations: 19.7 kB / 436.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.4822, allocations: 158.1 kB / 437.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4822, allocations: 4 kB / 437.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.4827, allocations: 114.3 kB / 437.2 MB, free: 36 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.0001932/0.4829, allocations: 122.3 kB / 437.3 MB, free: 35.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.4846, allocations: 0.6995 MB / 438 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4846, allocations: 0 / 438 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.4856, allocations: 321.8 kB / 438.3 MB, free: 35.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.4862, allocations: 160.7 kB / 438.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.4884, allocations: 0.9578 MB / 439.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.4887, allocations: 0.793 MB / 440.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.4889, allocations: 39.67 kB / 440.3 MB, free: 34.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.4889, allocations: 33.03 kB / 440.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.489, allocations: 3.188 kB / 440.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of Templates: time 0.008387/0.4973, allocations: 5.156 MB / 445.5 MB, free: 33.97 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: