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.001362/0.001361, allocations: 96.83 kB / 15.73 MB, free: 440 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.001864/0.001864, allocations: 179.6 kB / 16.61 MB, free: 6.426 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.406/1.406, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1753/0.1753, allocations: 8.087 MB / 299.7 MB, free: 2.91 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 8 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1105, allocations: 52.52 MB / 415.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.003382/0.1139, allocations: 2.286 MB / 417.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1158, allocations: 0.7518 MB / 418.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.116, allocations: 4 kB / 418.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.1163, allocations: 99.44 kB / 418.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1167, allocations: 135.6 kB / 418.5 MB, free: 5.449 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.001473/0.1182, allocations: 0.7588 MB / 419.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.1187, allocations: 203.5 kB / 419.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.119, allocations: 97.78 kB / 419.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1191, allocations: 107.6 kB / 419.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.1194, allocations: 155.5 kB / 419.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.1195, allocations: 19.94 kB / 419.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.12, allocations: 167.8 kB / 420 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.1201, allocations: 47.83 kB / 420.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.233e-05/0.1202, allocations: 73.52 kB / 420.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1207, allocations: 323.5 kB / 420.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1207, allocations: 0 / 420.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1207, allocations: 4 kB / 420.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1207, allocations: 0 / 420.5 MB, free: 3.512 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.002157/0.1229, allocations: 0.7407 MB / 421.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.123, allocations: 8.031 kB / 421.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1231, allocations: 39.58 kB / 421.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.1235, allocations: 251.4 kB / 421.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.1236, allocations: 87.89 kB / 421.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1237, allocations: 31.94 kB / 421.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.1243, allocations: 344.8 kB / 422 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1243, allocations: 0 / 422 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.1243, allocations: 12 kB / 422 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1244, allocations: 7.953 kB / 422 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.1249, allocations: 334.1 kB / 422.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1265, allocations: 1.319 MB / 423.6 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2274/0.3539, allocations: 0.5533 MB / 424.2 MB, free: 41.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.3541, allocations: 13.19 kB / 424.2 MB, free: 41.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006571/0.3547, allocations: 258.3 kB / 424.4 MB, free: 41.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/0.3547, allocations: 0 / 424.4 MB, free: 41.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002689/0.3574, allocations: 1.049 MB / 425.5 MB, free: 41.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3575, allocations: 54.75 kB / 425.6 MB, free: 41.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3577, allocations: 196.1 kB / 425.7 MB, free: 41.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.3577, allocations: 36.52 kB / 425.8 MB, free: 41.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.3578, allocations: 136.4 kB / 425.9 MB, free: 41.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.3579, allocations: 146.2 kB / 426.1 MB, free: 40.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.3579, allocations: 10.31 kB / 426.1 MB, free: 40.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.358, allocations: 342.5 kB / 426.4 MB, free: 40.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.3584, allocations: 176.9 kB / 426.6 MB, free: 40.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3588, allocations: 215.7 kB / 426.8 MB, free: 40.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.3591, allocations: 196.5 kB / 427 MB, free: 40.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3591, allocations: 0 / 427 MB, free: 40.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001506/0.3606, allocations: 0.7014 MB / 427.7 MB, free: 40.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3607, allocations: 6.656 kB / 427.7 MB, free: 40.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3607, allocations: 0.7031 kB / 427.7 MB, free: 40.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.3619, allocations: 312.7 kB / 428 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.3621, allocations: 58.23 kB / 428 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.3656, allocations: 2.799 MB / 430.8 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.3659, allocations: 40.14 kB / 430.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.3659, allocations: 11.69 kB / 430.9 MB, free: 39.2 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.0001562/0.3661, allocations: 146.5 kB / 431 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3661, allocations: 31.12 kB / 431.1 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.3676, allocations: 0.7283 MB / 431.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3676, allocations: 10.53 kB / 431.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3676, allocations: 0.5 kB / 431.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3677, allocations: 3 kB / 431.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.3695, allocations: 1.253 MB / 433.1 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3695, allocations: 1.75 kB / 433.1 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3697, allocations: 51.02 kB / 433.1 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.3707, allocations: 313.5 kB / 433.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3707, allocations: 7.125 kB / 433.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/0.3737, allocations: 2.775 MB / 436.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3737, allocations: 0 / 436.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.375, allocations: 0.7698 MB / 437 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.375, allocations: 114.7 kB / 437.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.3751, allocations: 7.344 kB / 437.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3753, allocations: 22.06 kB / 437.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3754, allocations: 45.28 kB / 437.2 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.3755, allocations: 13.47 kB / 437.2 MB, free: 35.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3756, allocations: 142.9 kB / 437.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.542e-06/0.3756, allocations: 0 / 437.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.3761, allocations: 135 kB / 437.4 MB, free: 35.46 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.0002017/0.3763, allocations: 117.7 kB / 437.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3775, allocations: 0.7049 MB / 438.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3775, allocations: 0 / 438.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007229/0.3782, allocations: 500 kB / 438.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.3785, allocations: 23.77 kB / 438.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009684/0.3794, allocations: 0.7139 MB / 439.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.3796, allocations: 0.7808 MB / 440.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.3798, allocations: 39.72 kB / 440.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.3799, allocations: 34.78 kB / 440.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3799, allocations: 0 / 440.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of Templates: time 0.009422/0.3893, allocations: 6.252 MB / 446.6 MB, free: 33.18 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: