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.001038/0.001039, allocations: 101.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 189.4 kB / 17.38 MB, free: 5.668 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05433/0.05433, allocations: 8.105 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 51.51 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.00512/0.1218, allocations: 2.809 MB / 468.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1239, allocations: 0.8366 MB / 469.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.1243, allocations: 11.94 kB / 469.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.125, allocations: 143.2 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006629/0.1257, allocations: 139.1 kB / 469.9 MB, free: 14.2 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.002097/0.1278, allocations: 0.9295 MB / 470.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.1285, allocations: 306.6 kB / 471.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.1288, allocations: 118.9 kB / 471.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.1291, allocations: 135.5 kB / 471.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.1295, allocations: 195.3 kB / 471.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.1296, allocations: 24 kB / 471.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.1302, allocations: 211.8 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.722e-05/0.1303, allocations: 67.69 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.1305, allocations: 147.2 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.1316, allocations: 470.5 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1317, allocations: 0 / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.145e-06/0.1317, allocations: 0 / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1317, allocations: 0 / 472.5 MB, free: 11.62 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.002589/0.1343, allocations: 0.7917 MB / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.1344, allocations: 12.03 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1345, allocations: 28.66 kB / 473.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.1349, allocations: 264.6 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.135, allocations: 84.47 kB / 473.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.1351, allocations: 28.38 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.1357, allocations: 345.4 kB / 474 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1357, allocations: 7.922 kB / 474 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.1358, allocations: 12 kB / 474.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.1358, allocations: 7.938 kB / 474.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.1364, allocations: 338.1 kB / 474.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1383, allocations: 1.307 MB / 475.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.1395, allocations: 0.5552 MB / 476.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.1399, allocations: 216.6 kB / 476.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.1401, allocations: 11.97 kB / 476.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006802/0.1408, allocations: 271.1 kB / 476.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/0.1408, allocations: 0 / 476.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003055/0.1438, allocations: 1.069 MB / 477.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1439, allocations: 59.34 kB / 477.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1442, allocations: 190.7 kB / 478.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.1442, allocations: 29.7 kB / 478.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1443, allocations: 140.6 kB / 478.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.1445, allocations: 149.8 kB / 478.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.1447, allocations: 82.11 kB / 478.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1448, allocations: 330.8 kB / 478.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.1451, allocations: 176.8 kB / 478.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.1455, allocations: 223.3 kB / 479.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.1461, allocations: 407 kB / 479.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1461, allocations: 0 / 479.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001552/0.1477, allocations: 0.7071 MB / 480.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1477, allocations: 4 kB / 480.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1477, allocations: 4 kB / 480.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.149, allocations: 300.5 kB / 480.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1493, allocations: 59.91 kB / 480.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/0.1536, allocations: 2.961 MB / 483.6 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.1539, allocations: 31.83 kB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.154, allocations: 19.98 kB / 483.6 MB, free: 15.96 MB / 366.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.0002048/0.1542, allocations: 145.8 kB / 483.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.1542, allocations: 27.66 kB / 483.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.1559, allocations: 0.7303 MB / 484.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1559, allocations: 7.938 kB / 484.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1559, allocations: 0 / 484.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1559, allocations: 3.984 kB / 484.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.1582, allocations: 1.264 MB / 485.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1582, allocations: 0 / 485.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.1584, allocations: 47.91 kB / 485.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.1595, allocations: 303.5 kB / 486.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.1596, allocations: 15.98 kB / 486.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/0.1637, allocations: 2.927 MB / 489.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1637, allocations: 0 / 489.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1654, allocations: 0.7786 MB / 489.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1655, allocations: 108.6 kB / 490 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.1656, allocations: 8 kB / 490 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1658, allocations: 23.98 kB / 490 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.1659, allocations: 40.38 kB / 490.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.166, allocations: 12 kB / 490.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1661, allocations: 144.9 kB / 490.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1662, allocations: 0 / 490.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005437/0.1667, allocations: 131.9 kB / 490.3 MB, free: 9.012 MB / 366.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.0002352/0.1669, allocations: 127.2 kB / 490.5 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.1684, allocations: 0.7064 MB / 491.2 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1684, allocations: 4 kB / 491.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.1693, allocations: 0.4893 MB / 491.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1697, allocations: 34.5 kB / 491.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1709, allocations: 0.611 MB / 492.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1713, allocations: 0.7696 MB / 493.1 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1714, allocations: 47.05 kB / 493.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.1715, allocations: 27.44 kB / 493.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1715, allocations: 4 kB / 493.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of Templates: time 0.01249/0.184, allocations: 7.156 MB / 0.4886 GB, free: 14.97 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.makefile (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)