Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.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.OneDieselRescuingOneLoadWithFailure_notFinalized,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoadWithFailure_notFinalized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoadWithFailure_notFinalized",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.001826/0.001826, allocations: 180.7 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.422/1.422, allocations: 223.2 MB / 239.7 MB, free: 1.805 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.001382/0.001382, allocations: 102.5 kB / 290.9 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04126/0.04126, allocations: 8.115 MB / 350.1 MB, free: 2.738 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 10.97 kB / 413.2 MB, free: 89.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 52.53 MB / 465.7 MB, free: 41.98 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3764/0.4966, allocations: 81.86 MB / 0.5347 GB, free: 16.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.497, allocations: 71 kB / 0.5348 GB, free: 16.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03349/0.5305, allocations: 11.26 MB / 0.5458 GB, free: 31.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5306, allocations: 0 / 0.5458 GB, free: 31.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.793e-05/0.5306, allocations: 3.875 kB / 0.5458 GB, free: 31.44 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002429/0.5331, allocations: 0.6931 MB / 0.5465 GB, free: 30.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.5331, allocations: 15.56 kB / 0.5465 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.5334, allocations: 75.19 kB / 0.5466 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.5336, allocations: 34.5 kB / 0.5466 GB, free: 30.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.5342, allocations: 277.5 kB / 0.5469 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.5343, allocations: 83.59 kB / 0.5469 GB, free: 30.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.5344, allocations: 30.27 kB / 0.547 GB, free: 30.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.5351, allocations: 377.9 kB / 0.5473 GB, free: 30.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.5352, allocations: 0 / 0.5473 GB, free: 30.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.5352, allocations: 20.11 kB / 0.5474 GB, free: 30.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.5352, allocations: 11.72 kB / 0.5474 GB, free: 30.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.5359, allocations: 361.6 kB / 0.5477 GB, free: 30.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.5383, allocations: 1.437 MB / 0.5491 GB, free: 29.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.5396, allocations: 0.5422 MB / 0.5496 GB, free: 29.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-05/0.5397, allocations: 20.81 kB / 0.5497 GB, free: 29.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006256/0.5403, allocations: 311.5 kB / 0.55 GB, free: 29.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.544e-06/0.5403, allocations: 0 / 0.55 GB, free: 29.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.003065/0.5434, allocations: 1.12 MB / 0.5511 GB, free: 29.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.5435, allocations: 62.59 kB / 0.5511 GB, free: 29.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.5438, allocations: 186.9 kB / 0.5513 GB, free: 29.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.5439, allocations: 36.78 kB / 0.5513 GB, free: 29.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.544, allocations: 144.5 kB / 0.5515 GB, free: 29.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.5442, allocations: 167.3 kB / 0.5516 GB, free: 29.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.5442, allocations: 14.97 kB / 0.5516 GB, free: 29.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5443, allocations: 346.6 kB / 0.552 GB, free: 28.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.5447, allocations: 179.6 kB / 0.5521 GB, free: 28.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.545, allocations: 250.2 kB / 0.5524 GB, free: 28.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.5454, allocations: 204.6 kB / 0.5526 GB, free: 28.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5454, allocations: 0 / 0.5526 GB, free: 28.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001612/0.5471, allocations: 0.7449 MB / 0.5533 GB, free: 28.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.5471, allocations: 8.844 kB / 0.5533 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5471, allocations: 3.875 kB / 0.5533 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.5484, allocations: 289.2 kB / 0.5536 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.5487, allocations: 68.55 kB / 0.5537 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.5534, allocations: 2.821 MB / 0.5564 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.5537, allocations: 37.44 kB / 0.5564 GB, free: 27.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.5538, allocations: 22.05 kB / 0.5565 GB, free: 27.3 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: myFailure.seed:DISCRETE(fixed = true protected = true ) type: Integer myFailure.F:VARIABLE(start = 0.0 fixed = true ) "cumulative distribution function" type: Real myFailure.r:DISCRETE(fixed = true ) "random numbers" type: Real myFailure.componentIsWorking:DISCRETE(start = true fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.myFailure.seed,myFailure.seed,$whenCondition4,myFailure.i,$whenCondition3,$whenCondition2,$whenCondition1,brk2.BrkOpen,myFailure.y,$PRE.myFailure.componentIsWorking,myFailure.componentIsWorking,$PRE.myFailure.r,myFailure.r) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0003041/0.5541, allocations: 164.6 kB / 0.5566 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.5542, allocations: 31.53 kB / 0.5567 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.5562, allocations: 0.7923 MB / 0.5574 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5562, allocations: 5.688 kB / 0.5574 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5562, allocations: 3.469 kB / 0.5574 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5563, allocations: 1.156 kB / 0.5574 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.5593, allocations: 1.413 MB / 0.5588 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5593, allocations: 0 / 0.5588 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.5596, allocations: 56.73 kB / 0.5589 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.5608, allocations: 295.4 kB / 0.5592 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.5609, allocations: 13.36 kB / 0.5592 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/0.565, allocations: 2.78 MB / 0.5619 GB, free: 25.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.565, allocations: 0 / 0.5619 GB, free: 25.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.5673, allocations: 1.098 MB / 0.563 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.5675, allocations: 118 kB / 0.5631 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.5675, allocations: 9.844 kB / 0.5631 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.5678, allocations: 31.41 kB / 0.5631 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.568, allocations: 44.41 kB / 0.5631 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.568, allocations: 18.75 kB / 0.5632 GB, free: 25.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.5682, allocations: 149.9 kB / 0.5633 GB, free: 24.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5682, allocations: 0 / 0.5633 GB, free: 24.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009465/0.5692, allocations: 173.1 kB / 0.5635 GB, free: 24.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (myFailure.F) * Number of discrete variables: 9 (brk2.BrkOpen,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,myFailure.y,myFailure.componentIsWorking,myFailure.r,myFailure.seed) * Number of discrete states: 2 (myFailure.r,myFailure.componentIsWorking) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.003346/0.5726, allocations: 1.769 MB / 0.5652 GB, free: 24.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.5743, allocations: 0.7437 MB / 0.5659 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5743, allocations: 0 / 0.5659 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.5754, allocations: 0.5158 MB / 0.5664 GB, free: 23.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.5758, allocations: 22.22 kB / 0.5665 GB, free: 23.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.581, allocations: 2.87 MB / 0.5693 GB, free: 22.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.5815, allocations: 0.7912 MB / 0.57 GB, free: 21.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.5817, allocations: 44.44 kB / 0.5701 GB, free: 21.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.5819, allocations: 105.6 kB / 0.5702 GB, free: 21.77 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5819, allocations: 0 / 0.5702 GB, free: 21.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.613, allocations: 10.49 MB / 0.5804 GB, free: 18.64 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.6132, allocations: 288.3 kB / 0.5807 GB, free: 18.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.811, allocations: 0 / 0.5807 GB, free: 18.29 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoadWithFailure_notFinalized_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_UsingDiesel_OneDieselRescuingOneLoadWithFailure_notFinalized.fmu > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe 2>&1)