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.001522/0.001522, allocations: 177.9 kB / 15.8 MB, free: 6.34 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.495/1.495, allocations: 223.2 MB / 239.7 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008933, allocations: 94.53 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04554/0.04554, allocations: 8.104 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 9.594 kB / 413.2 MB, free: 89.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09725, allocations: 52.54 MB / 465.7 MB, free: 41.94 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.4881, allocations: 81.01 MB / 0.5339 GB, free: 16.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4884, allocations: 67.98 kB / 0.534 GB, free: 16.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02324/0.5116, allocations: 9.588 MB / 0.5433 GB, free: 31.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5116, allocations: 4 kB / 0.5433 GB, free: 31.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.5117, allocations: 3.938 kB / 0.5433 GB, free: 31.54 MB / 378.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.001299/0.513, allocations: 0.6337 MB / 0.544 GB, free: 31.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.513, allocations: 9.484 kB / 0.544 GB, free: 31.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.862e-05/0.5131, allocations: 62.36 kB / 0.544 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.5132, allocations: 50.77 kB / 0.5441 GB, free: 31.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.5135, allocations: 263.7 kB / 0.5443 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.5136, allocations: 84.58 kB / 0.5444 GB, free: 30.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.5136, allocations: 23.06 kB / 0.5444 GB, free: 30.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.5141, allocations: 341 kB / 0.5448 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5141, allocations: 0 / 0.5448 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.5141, allocations: 11.47 kB / 0.5448 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5142, allocations: 7.766 kB / 0.5448 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.5146, allocations: 339.7 kB / 0.5451 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.5161, allocations: 1.388 MB / 0.5465 GB, free: 30.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008864/0.517, allocations: 0.5626 MB / 0.547 GB, free: 29.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.5171, allocations: 13.31 kB / 0.547 GB, free: 29.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.5175, allocations: 260.6 kB / 0.5473 GB, free: 29.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.5175, allocations: 3.938 kB / 0.5473 GB, free: 29.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002581/0.5201, allocations: 1.029 MB / 0.5483 GB, free: 29.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.5201, allocations: 66.67 kB / 0.5483 GB, free: 29.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.5203, allocations: 176.2 kB / 0.5485 GB, free: 29.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.5203, allocations: 32.95 kB / 0.5485 GB, free: 29.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.5204, allocations: 144.5 kB / 0.5487 GB, free: 29.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.5205, allocations: 150.8 kB / 0.5488 GB, free: 29.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.5205, allocations: 3.188 kB / 0.5488 GB, free: 29.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.5206, allocations: 338.1 kB / 0.5492 GB, free: 28.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.5209, allocations: 166.6 kB / 0.5493 GB, free: 28.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.5211, allocations: 202.8 kB / 0.5495 GB, free: 28.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.5214, allocations: 188 kB / 0.5497 GB, free: 28.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5214, allocations: 0 / 0.5497 GB, free: 28.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001376/0.5228, allocations: 0.6786 MB / 0.5503 GB, free: 28.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5228, allocations: 3.875 kB / 0.5503 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5229, allocations: 0 / 0.5503 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.524, allocations: 290 kB / 0.5506 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.5242, allocations: 51.06 kB / 0.5507 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.5277, allocations: 2.823 MB / 0.5534 GB, free: 27.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.5279, allocations: 28.22 kB / 0.5535 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.528, allocations: 17.27 kB / 0.5535 GB, free: 27.39 MB / 378.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 () * Number of clocked 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.0001733/0.5282, allocations: 144.5 kB / 0.5536 GB, free: 27.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.5282, allocations: 30.38 kB / 0.5536 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.5297, allocations: 0.7259 MB / 0.5544 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5297, allocations: 3.938 kB / 0.5544 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.5297, allocations: 0 / 0.5544 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5298, allocations: 2.766 kB / 0.5544 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.5318, allocations: 1.283 MB / 0.5556 GB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5318, allocations: 0 / 0.5556 GB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.532, allocations: 59.95 kB / 0.5557 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.533, allocations: 292.2 kB / 0.5559 GB, free: 26.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.533, allocations: 9.094 kB / 0.556 GB, free: 26.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.5367, allocations: 2.773 MB / 0.5587 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5367, allocations: 1.156 kB / 0.5587 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.5383, allocations: 0.7671 MB / 0.5594 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.5384, allocations: 115.1 kB / 0.5595 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.5384, allocations: 15.02 kB / 0.5595 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.5387, allocations: 16.17 kB / 0.5596 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5388, allocations: 47.5 kB / 0.5596 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.5388, allocations: 12.5 kB / 0.5596 GB, free: 25.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.539, allocations: 156.6 kB / 0.5598 GB, free: 25.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.539, allocations: 1.438 kB / 0.5598 GB, free: 25.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005465/0.5396, allocations: 122 kB / 0.5599 GB, free: 25.05 MB / 378.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 () * 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 (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.001955/0.5415, allocations: 1.322 MB / 0.5612 GB, free: 24.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.5433, allocations: 0.6835 MB / 0.5618 GB, free: 24.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5433, allocations: 3.938 kB / 0.5618 GB, free: 24.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.5444, allocations: 0.4889 MB / 0.5623 GB, free: 24.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.5448, allocations: 26.27 kB / 0.5623 GB, free: 24.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.5493, allocations: 2.301 MB / 0.5646 GB, free: 23.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.55, allocations: 0.778 MB / 0.5653 GB, free: 22.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.5502, allocations: 44.31 kB / 0.5654 GB, free: 22.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.5504, allocations: 89.33 kB / 0.5655 GB, free: 22.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.745e-06/0.5504, allocations: 0 / 0.5655 GB, free: 22.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.582, allocations: 8.82 MB / 0.5741 GB, free: 20.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.5822, allocations: 216.1 kB / 0.5743 GB, free: 20.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.619, allocations: 4 kB / 0.5743 GB, free: 20.71 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)