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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001126/0.001126, allocations: 117.1 kB / 17.14 MB, free: 5.906 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.001137/0.001137, allocations: 193.9 kB / 18.07 MB, free: 4.992 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.359/1.359, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04742/0.04742, allocations: 8.094 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.91 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.117, allocations: 51.53 MB / 466.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.005435/0.1225, allocations: 2.812 MB / 469.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1245, allocations: 0.8327 MB / 470.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1246, allocations: 4 kB / 470.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.1251, allocations: 139.2 kB / 470.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.1256, allocations: 147.1 kB / 470.6 MB, free: 14.19 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.002411/0.128, allocations: 0.9295 MB / 471.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.1285, allocations: 306.6 kB / 471.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.1288, allocations: 118.9 kB / 472 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.1291, allocations: 139.5 kB / 472.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.1295, allocations: 187.3 kB / 472.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.1296, allocations: 28 kB / 472.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.1301, allocations: 211.8 kB / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1302, allocations: 67.69 kB / 472.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.1305, allocations: 147.2 kB / 472.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.1313, allocations: 466.2 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1313, allocations: 4 kB / 473.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1313, allocations: 0 / 473.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1313, allocations: 0 / 473.2 MB, free: 11.61 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.00316/0.1345, allocations: 0.7988 MB / 474 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/0.1346, allocations: 11.89 kB / 474 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1347, allocations: 36.75 kB / 474 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.1352, allocations: 272.6 kB / 474.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/0.1353, allocations: 76.53 kB / 474.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.1354, allocations: 24.38 kB / 474.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008865/0.1363, allocations: 353.3 kB / 474.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1363, allocations: 3.938 kB / 474.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.1364, allocations: 8 kB / 474.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1364, allocations: 11.94 kB / 474.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008522/0.1373, allocations: 338.1 kB / 475.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.1397, allocations: 1.311 MB / 476.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.1413, allocations: 0.5591 MB / 477 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.1419, allocations: 216.6 kB / 477.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/0.142, allocations: 11.98 kB / 477.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/0.1427, allocations: 267.1 kB / 477.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/0.1427, allocations: 0 / 477.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004688/0.1474, allocations: 1.07 MB / 478.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1475, allocations: 55.41 kB / 478.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.1478, allocations: 190.7 kB / 478.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.1478, allocations: 33.7 kB / 478.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.148, allocations: 144.8 kB / 478.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.1481, allocations: 154.7 kB / 479.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.1484, allocations: 74.12 kB / 479.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1485, allocations: 338.8 kB / 479.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.149, allocations: 176.8 kB / 479.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.1496, allocations: 223.3 kB / 479.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.1507, allocations: 407 kB / 480.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.1507, allocations: 3.984 kB / 480.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002543/0.1532, allocations: 0.7072 MB / 481 MB, free: 3.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1533, allocations: 4 kB / 481 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1533, allocations: 3.984 kB / 481 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/0.1553, allocations: 311.9 kB / 481.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.1557, allocations: 55.91 kB / 481.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/0.161, allocations: 2.957 MB / 484.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1612, allocations: 35.8 kB / 484.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.1612, allocations: 15.98 kB / 484.4 MB, free: 15.93 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.000156/0.1614, allocations: 149.8 kB / 484.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.1615, allocations: 27.92 kB / 484.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.1631, allocations: 0.7302 MB / 485.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.1631, allocations: 7.922 kB / 485.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1631, allocations: 0 / 485.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.1632, allocations: 104.9 kB / 485.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.1633, allocations: 11.94 kB / 485.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.1635, allocations: 19.98 kB / 485.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.1636, allocations: 56.22 kB / 485.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001337/0.1649, allocations: 0.6527 MB / 486.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009671/0.1659, allocations: 0.7677 MB / 486.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002766/0.1662, allocations: 191.3 kB / 487.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1663, allocations: 140 kB / 487.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Backend: time 5.31e-07/0.1663, allocations: 0 / 487.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.1679, allocations: 0.7217 MB / 487.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 0.0009558/0.1688, allocations: 1.064 MB / 489 MB, free: 11.15 MB / 366.1 MB Notification: Performance of Templates: time 0.01204/0.1809, allocations: 7.842 MB / 496.8 MB, free: 3.328 MB / 366.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)