Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.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.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00082/0.0008199, 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.0009237/0.0009239, allocations: 178 kB / 16.63 MB, free: 6.887 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.446/1.446, allocations: 223.3 MB / 240.7 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2624/0.2624, allocations: 8.078 MB / 299.8 MB, free: 2.898 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005443/0.0005445, allocations: 11.98 kB / 362.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1627, allocations: 52.51 MB / 415.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.003375/0.1661, allocations: 2.382 MB / 417.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.168, allocations: 0.7593 MB / 418.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.1683, allocations: 4 kB / 418.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.1688, allocations: 99.52 kB / 418.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.1693, allocations: 115.3 kB / 418.7 MB, free: 5.328 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation diesel.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.171, allocations: 0.7593 MB / 419.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000553/0.1715, allocations: 274.6 kB / 419.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.1718, allocations: 89.8 kB / 419.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1721, allocations: 107.6 kB / 420 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.1725, allocations: 171.3 kB / 420.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.1725, allocations: 12 kB / 420.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006663/0.1732, allocations: 187.8 kB / 420.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.1733, allocations: 55.75 kB / 420.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1734, allocations: 73.52 kB / 420.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.1742, allocations: 323.4 kB / 420.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.1742, allocations: 0 / 420.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.1742, allocations: 4 kB / 420.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.1742, allocations: 0 / 420.8 MB, free: 3.289 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002869/0.1771, allocations: 0.7447 MB / 421.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.1772, allocations: 8.031 kB / 421.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.1774, allocations: 39.58 kB / 421.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.1778, allocations: 259.3 kB / 421.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.984e-05/0.1779, allocations: 79.91 kB / 421.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.178, allocations: 28 kB / 421.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.1786, allocations: 344.8 kB / 422.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1787, allocations: 0 / 422.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.1787, allocations: 16 kB / 422.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1787, allocations: 4 kB / 422.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.1793, allocations: 338.1 kB / 422.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2661/0.4455, allocations: 1.31 MB / 423.9 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.4467, allocations: 0.5564 MB / 424.5 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.447, allocations: 211 kB / 424.7 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.517e-05/0.4471, allocations: 17.33 kB / 424.7 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004571/0.4475, allocations: 256.8 kB / 424.9 MB, free: 41.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.4475, allocations: 0 / 424.9 MB, free: 41.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.0026/0.4501, allocations: 1.063 MB / 426 MB, free: 40.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4502, allocations: 54.88 kB / 426.1 MB, free: 40.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4504, allocations: 189.7 kB / 426.2 MB, free: 40.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.4505, allocations: 33.53 kB / 426.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.4506, allocations: 141.3 kB / 426.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.4507, allocations: 153.1 kB / 426.6 MB, free: 40.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.4507, allocations: 3.75 kB / 426.6 MB, free: 40.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.4508, allocations: 335.6 kB / 426.9 MB, free: 40.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.4511, allocations: 175.2 kB / 427.1 MB, free: 40.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.4514, allocations: 217.6 kB / 427.3 MB, free: 40.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.4517, allocations: 204 kB / 427.5 MB, free: 40.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4517, allocations: 0 / 427.5 MB, free: 40.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001411/0.4531, allocations: 0.705 MB / 428.2 MB, free: 40.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.4531, allocations: 7.781 kB / 428.2 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4532, allocations: 0 / 428.2 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.4543, allocations: 308.1 kB / 428.5 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.4545, allocations: 60.75 kB / 428.6 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.4581, allocations: 2.723 MB / 431.3 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4583, allocations: 32.28 kB / 431.3 MB, free: 38.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.4583, allocations: 13.69 kB / 431.3 MB, free: 38.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.4585, allocations: 150.2 kB / 431.5 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.4585, allocations: 31.84 kB / 431.5 MB, free: 38.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.46, allocations: 0.7317 MB / 432.2 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.46, allocations: 3.25 kB / 432.2 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.46, allocations: 0 / 432.2 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.4601, allocations: 4.141 kB / 432.2 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.4619, allocations: 1.251 MB / 433.5 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4619, allocations: 0.6094 kB / 433.5 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.4621, allocations: 48.23 kB / 433.5 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000976/0.4631, allocations: 316 kB / 433.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.4631, allocations: 7.094 kB / 433.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.466, allocations: 2.701 MB / 436.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.466, allocations: 1.062 kB / 436.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.4673, allocations: 0.7722 MB / 437.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.4674, allocations: 110.6 kB / 437.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.4675, allocations: 11.42 kB / 437.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.4677, allocations: 17.03 kB / 437.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.4678, allocations: 41.8 kB / 437.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.4678, allocations: 13.94 kB / 437.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.4679, allocations: 142.2 kB / 437.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4679, allocations: 0.5625 kB / 437.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000504/0.4685, allocations: 132.3 kB / 437.8 MB, free: 35.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002036/0.4687, allocations: 118.1 kB / 437.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4699, allocations: 0.7048 MB / 438.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4699, allocations: 0 / 438.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.4707, allocations: 495.6 kB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.471, allocations: 39.14 kB / 439.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.4721, allocations: 0.7152 MB / 439.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.4723, allocations: 0.7755 MB / 440.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.4725, allocations: 43.56 kB / 440.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.4725, allocations: 27.47 kB / 440.7 MB, free: 33.37 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4725, allocations: 0 / 440.7 MB, free: 33.37 MB / 350.1 MB Notification: Performance of Templates: time 0.009285/0.4818, allocations: 6.29 MB / 447 MB, free: 32.95 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe 2>&1) Environment - environmentSimulation: