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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.3 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 102.1 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05009/0.05009, allocations: 8.096 MB / 348.8 MB, free: 0.6836 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 52.39 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08766, allocations: 51.53 MB / 462.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.005814/0.09353, allocations: 2.841 MB / 465.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.09568, allocations: 0.8406 MB / 466.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.096, allocations: 4 kB / 466.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006259/0.09671, allocations: 119.5 kB / 466.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005814/0.09732, allocations: 127.3 kB / 466.5 MB, free: 2.102 MB / 298.7 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.002518/0.09986, allocations: 0.9061 MB / 467.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.1004, allocations: 294.6 kB / 467.7 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.1007, allocations: 103.5 kB / 467.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.1009, allocations: 123.5 kB / 468 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.1014, allocations: 191.2 kB / 468.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.1015, allocations: 24 kB / 468.2 MB, free: 484 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.1021, allocations: 203.8 kB / 468.4 MB, free: 280 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.1022, allocations: 55.72 kB / 468.4 MB, free: 224 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1024, allocations: 143.2 kB / 468.6 MB, free: 80 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009929/0.1034, allocations: 454.9 kB / 469 MB, free: 15.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1034, allocations: 0 / 469 MB, free: 15.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1035, allocations: 0 / 469 MB, free: 15.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.1035, allocations: 0 / 469 MB, free: 15.63 MB / 314.7 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.003832/0.1073, allocations: 0.7866 MB / 469.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1074, allocations: 8.031 kB / 469.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.1076, allocations: 36.56 kB / 469.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.1082, allocations: 272.5 kB / 470.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.1083, allocations: 84.47 kB / 470.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.1084, allocations: 24.38 kB / 470.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1094, allocations: 345.4 kB / 470.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1095, allocations: 3.938 kB / 470.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.1095, allocations: 11.98 kB / 470.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.1096, allocations: 12 kB / 470.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009387/0.1105, allocations: 334.1 kB / 470.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.1133, allocations: 1.307 MB / 472.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.1151, allocations: 0.5747 MB / 472.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/0.1157, allocations: 212.8 kB / 473 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.678e-05/0.1158, allocations: 15.97 kB / 473 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/0.1167, allocations: 267.9 kB / 473.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.895e-06/0.1167, allocations: 0 / 473.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.005414/0.1221, allocations: 1.057 MB / 474.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.1222, allocations: 55.41 kB / 474.4 MB, free: 9.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.1226, allocations: 195.1 kB / 474.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.1227, allocations: 33.7 kB / 474.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1228, allocations: 136.6 kB / 474.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.123, allocations: 145.9 kB / 474.9 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.1233, allocations: 82.02 kB / 475 MB, free: 9.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1235, allocations: 334.8 kB / 475.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.1241, allocations: 176.8 kB / 475.5 MB, free: 8.828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.1247, allocations: 219.3 kB / 475.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.1258, allocations: 411 kB / 476.1 MB, free: 8.191 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1259, allocations: 3.938 kB / 476.1 MB, free: 8.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003049/0.1289, allocations: 0.7149 MB / 476.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.129, allocations: 4 kB / 476.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.129, allocations: 0 / 476.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/0.1314, allocations: 300.6 kB / 477.1 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.1319, allocations: 67.89 kB / 477.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007309/0.1392, allocations: 2.727 MB / 479.9 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.1397, allocations: 35.67 kB / 479.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.1398, allocations: 16 kB / 479.9 MB, free: 4.195 MB / 314.7 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.0002999/0.1401, allocations: 146.4 kB / 480.1 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1403, allocations: 27.72 kB / 480.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.1435, allocations: 0.7301 MB / 480.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.1435, allocations: 8 kB / 480.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1435, allocations: 0 / 480.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1435, allocations: 0 / 480.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/0.1474, allocations: 1.248 MB / 482.1 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.1475, allocations: 3.984 kB / 482.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.1478, allocations: 47.92 kB / 482.1 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002226/0.1501, allocations: 316.4 kB / 482.5 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/0.1502, allocations: 8 kB / 482.5 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1995/0.3497, allocations: 2.69 MB / 485.2 MB, free: 27.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3497, allocations: 0 / 485.2 MB, free: 27.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.352, allocations: 1.577 MB / 486.7 MB, free: 26.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.3521, allocations: 110.5 kB / 486.8 MB, free: 26.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.3521, allocations: 14.31 kB / 486.9 MB, free: 26.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3524, allocations: 22.7 kB / 486.9 MB, free: 26.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3525, allocations: 36.56 kB / 486.9 MB, free: 26.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.3525, allocations: 15.11 kB / 486.9 MB, free: 26.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.3527, allocations: 148.6 kB / 487.1 MB, free: 26.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3527, allocations: 0 / 487.1 MB, free: 26.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005525/0.3532, allocations: 128.5 kB / 487.2 MB, free: 26.5 MB / 314.7 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.0001594/0.3534, allocations: 119.5 kB / 487.3 MB, free: 26.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.3547, allocations: 0.7014 MB / 488 MB, free: 26.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3548, allocations: 0 / 488 MB, free: 26.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.3556, allocations: 0.4911 MB / 488.5 MB, free: 25.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3559, allocations: 30.94 kB / 488.5 MB, free: 25.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3572, allocations: 0.9994 MB / 489.5 MB, free: 25.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3574, allocations: 0.7857 MB / 490.3 MB, free: 24.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.3576, allocations: 41.95 kB / 490.4 MB, free: 24.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.3576, allocations: 30.11 kB / 490.4 MB, free: 24.41 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3576, allocations: 1.375 kB / 490.4 MB, free: 24.41 MB / 314.7 MB Notification: Performance of Templates: time 0.01102/0.3687, allocations: 6.933 MB / 497.3 MB, free: 23.22 MB / 314.7 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)