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: "" <> buildModelFMU(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 182.8 kB / 13.23 MB, free: 2.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.499/1.499, allocations: 221.4 MB / 235.1 MB, free: 14.45 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.0009036/0.0009034, allocations: 88.8 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06944/0.06944, allocations: 8.103 MB / 345.1 MB, free: 1.934 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.916e-05/4.918e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 52.51 MB / 458.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.5955, allocations: 81.2 MB / 0.5267 GB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.5958, allocations: 72.47 kB / 0.5267 GB, free: 4.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03507/0.6309, allocations: 9.564 MB / 0.5361 GB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.631, allocations: 0 / 0.5361 GB, free: 13.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.631, allocations: 4 kB / 0.5361 GB, free: 13.14 MB / 362.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.001949/0.633, allocations: 0.6036 MB / 0.5367 GB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.633, allocations: 8.031 kB / 0.5367 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.6331, allocations: 65.66 kB / 0.5367 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.6333, allocations: 39.67 kB / 0.5368 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.6338, allocations: 274.3 kB / 0.537 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.6339, allocations: 77.41 kB / 0.5371 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.634, allocations: 25.12 kB / 0.5371 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.6348, allocations: 331.5 kB / 0.5374 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6348, allocations: 0 / 0.5374 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.6349, allocations: 13.81 kB / 0.5374 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.6349, allocations: 11.95 kB / 0.5375 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.6356, allocations: 321.2 kB / 0.5378 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.6384, allocations: 1.396 MB / 0.5391 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.6399, allocations: 0.5496 MB / 0.5397 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.6404, allocations: 209.6 kB / 0.5399 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.356e-05/0.6405, allocations: 19.05 kB / 0.5399 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/0.6412, allocations: 258.2 kB / 0.5401 GB, free: 9.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 5.581e-06/0.6412, allocations: 0 / 0.5401 GB, free: 9.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002208/0.6434, allocations: 0.617 MB / 0.5407 GB, free: 9.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.6435, allocations: 55.41 kB / 0.5408 GB, free: 9.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.6438, allocations: 171.9 kB / 0.541 GB, free: 9.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.6438, allocations: 32.95 kB / 0.541 GB, free: 9.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.644, allocations: 141.5 kB / 0.5411 GB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.6442, allocations: 147.3 kB / 0.5413 GB, free: 8.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.6442, allocations: 5.938 kB / 0.5413 GB, free: 8.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6444, allocations: 337.8 kB / 0.5416 GB, free: 8.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.6448, allocations: 158 kB / 0.5417 GB, free: 8.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.6452, allocations: 197 kB / 0.5419 GB, free: 8.254 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.6457, allocations: 182.6 kB / 0.5421 GB, free: 8.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6457, allocations: 0 / 0.5421 GB, free: 8.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002213/0.6479, allocations: 0.6615 MB / 0.5427 GB, free: 7.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.648, allocations: 8 kB / 0.5428 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.648, allocations: 0 / 0.5428 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.6497, allocations: 280.6 kB / 0.543 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.6501, allocations: 55.34 kB / 0.5431 GB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.6556, allocations: 2.724 MB / 0.5457 GB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.656, allocations: 35.25 kB / 0.5458 GB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.656, allocations: 15.92 kB / 0.5458 GB, free: 5.195 MB / 362.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,brk2.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0001762/0.6562, allocations: 124.2 kB / 0.5459 GB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.6563, allocations: 27.72 kB / 0.5459 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.6587, allocations: 0.7134 MB / 0.5466 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.6587, allocations: 8 kB / 0.5466 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6587, allocations: 0 / 0.5466 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6588, allocations: 3.984 kB / 0.5466 GB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.6618, allocations: 1.261 MB / 0.5479 GB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6618, allocations: 0 / 0.5479 GB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.6621, allocations: 51.91 kB / 0.5479 GB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.6637, allocations: 288 kB / 0.5482 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.6638, allocations: 10.69 kB / 0.5482 GB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005238/0.669, allocations: 2.688 MB / 0.5508 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6691, allocations: 0 / 0.5508 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.6713, allocations: 0.7559 MB / 0.5516 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.6714, allocations: 108.5 kB / 0.5517 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.6715, allocations: 10.38 kB / 0.5517 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.6719, allocations: 19.23 kB / 0.5517 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.6721, allocations: 54.25 kB / 0.5517 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.6721, allocations: 11.44 kB / 0.5518 GB, free: 412 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.6723, allocations: 147.4 kB / 0.5519 GB, free: 284 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6723, allocations: 0 / 0.5519 GB, free: 284 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007899/0.6731, allocations: 127.7 kB / 0.552 GB, free: 172 kB / 362.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,brk2.BrkOpen) * Number of discrete 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.002488/0.6756, allocations: 1.317 MB / 0.5533 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.6775, allocations: 0.6645 MB / 0.554 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6775, allocations: 0 / 0.554 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.6788, allocations: 490.2 kB / 0.5544 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.6792, allocations: 25.44 kB / 0.5544 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.6806, allocations: 456.3 kB / 0.5549 GB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.6811, allocations: 0.7736 MB / 0.5556 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.6814, allocations: 38.95 kB / 0.5557 GB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.6816, allocations: 91.08 kB / 0.5558 GB, free: 12.88 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6816, allocations: 0 / 0.5558 GB, free: 12.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.7135, allocations: 9.002 MB / 0.5646 GB, free: 4.035 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.7138, allocations: 186.7 kB / 0.5647 GB, free: 3.809 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.626, allocations: 0 / 0.5647 GB, free: 3.809 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoad_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe 2>&1)