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.0007731/0.000773, allocations: 96.06 kB / 16.07 MB, free: 28 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.0008751/0.0008753, allocations: 188.8 kB / 16.97 MB, free: 6.703 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.529/1.529, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1985/0.1985, allocations: 8.085 MB / 300.2 MB, free: 2.855 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 12.19 kB / 363.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 52.5 MB / 416 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.003107/0.1209, allocations: 2.482 MB / 418.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1223, allocations: 0.8213 MB / 419.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1225, allocations: 8 kB / 419.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.1228, allocations: 115.5 kB / 419.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.1232, allocations: 123.3 kB / 419.5 MB, free: 4.82 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.001576/0.1247, allocations: 0.8874 MB / 420.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.1251, allocations: 294.6 kB / 420.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.1254, allocations: 95.5 kB / 420.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1255, allocations: 115.5 kB / 420.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.1258, allocations: 175.3 kB / 421.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.1258, allocations: 16 kB / 421.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.1262, allocations: 199.8 kB / 421.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.1263, allocations: 55.75 kB / 421.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1264, allocations: 153 kB / 421.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.1269, allocations: 442.8 kB / 421.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.127, allocations: 0 / 421.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.127, allocations: 4 kB / 422 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.127, allocations: 0 / 422 MB, free: 2.406 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.002203/0.1292, allocations: 0.7293 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.1293, allocations: 12.03 kB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.1294, allocations: 36.56 kB / 422.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.1299, allocations: 272.5 kB / 423 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.13, allocations: 76.53 kB / 423.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-05/0.1301, allocations: 32.38 kB / 423.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.1309, allocations: 341.4 kB / 423.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.131, allocations: 3.938 kB / 423.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.131, allocations: 12 kB / 423.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.131, allocations: 15.94 kB / 423.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.1316, allocations: 334.1 kB / 423.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2286/0.3602, allocations: 1.303 MB / 425.1 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.3613, allocations: 0.5585 MB / 425.7 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.3616, allocations: 213.5 kB / 425.9 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.3617, allocations: 19.52 kB / 425.9 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004454/0.3621, allocations: 263.4 kB / 426.1 MB, free: 40.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.737e-06/0.3621, allocations: 0 / 426.1 MB, free: 40.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.0028/0.3649, allocations: 1.062 MB / 427.2 MB, free: 40.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.365, allocations: 55.25 kB / 427.3 MB, free: 40.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3652, allocations: 200.6 kB / 427.4 MB, free: 40.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.3652, allocations: 32.58 kB / 427.5 MB, free: 40.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.3653, allocations: 136.7 kB / 427.6 MB, free: 40.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.3654, allocations: 149.1 kB / 427.8 MB, free: 40.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.3654, allocations: 40.38 kB / 427.8 MB, free: 40.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.3655, allocations: 334 kB / 428.1 MB, free: 39.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.3658, allocations: 187 kB / 428.3 MB, free: 39.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.3661, allocations: 216.6 kB / 428.5 MB, free: 39.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.3666, allocations: 415.2 kB / 428.9 MB, free: 39.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3666, allocations: 0 / 428.9 MB, free: 39.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001424/0.3681, allocations: 0.7072 MB / 429.6 MB, free: 39.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3681, allocations: 6.469 kB / 429.6 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3681, allocations: 0 / 429.6 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.3693, allocations: 312 kB / 429.9 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3696, allocations: 60.58 kB / 430 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004161/0.3737, allocations: 2.727 MB / 432.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.374, allocations: 34.56 kB / 432.8 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.3741, allocations: 14.77 kB / 432.8 MB, free: 38.46 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 (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 {(6,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.3743, allocations: 149.7 kB / 432.9 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.3743, allocations: 25.22 kB / 432.9 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.3762, allocations: 0.7418 MB / 433.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3762, allocations: 5.594 kB / 433.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.3762, allocations: 0 / 433.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3762, allocations: 6.422 kB / 433.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.3781, allocations: 1.251 MB / 435 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3781, allocations: 0 / 435 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.3783, allocations: 55.56 kB / 435 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.3794, allocations: 307.2 kB / 435.3 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3794, allocations: 12.09 kB / 435.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/0.3826, allocations: 2.698 MB / 438 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3826, allocations: 0 / 438 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.384, allocations: 0.7706 MB / 438.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.3841, allocations: 110.5 kB / 438.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.3842, allocations: 12.59 kB / 438.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.3844, allocations: 23.47 kB / 438.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3845, allocations: 40.77 kB / 439 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.3846, allocations: 13.03 kB / 439 MB, free: 34.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.3847, allocations: 141 kB / 439.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3847, allocations: 0 / 439.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.3853, allocations: 137 kB / 439.3 MB, free: 34.62 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 (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 {(6,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.3855, allocations: 123.1 kB / 439.4 MB, free: 34.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.3869, allocations: 0.7035 MB / 440.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3869, allocations: 0 / 440.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008355/0.3877, allocations: 498.3 kB / 440.6 MB, free: 33.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.3881, allocations: 35.39 kB / 440.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3893, allocations: 0.7467 MB / 441.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3896, allocations: 0.7701 MB / 442.1 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.3897, allocations: 39.97 kB / 442.2 MB, free: 32.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.3898, allocations: 26.27 kB / 442.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3898, allocations: 7.281 kB / 442.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of Templates: time 0.01001/0.3998, allocations: 6.466 MB / 448.7 MB, free: 32.28 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: