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.001107/0.001107, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.415/1.415, allocations: 221.4 MB / 235.1 MB, free: 14.37 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.0009119/0.0009119, allocations: 92.73 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05614/0.05613, allocations: 8.095 MB / 345.1 MB, free: 1.918 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.709e-05, allocations: 8 kB / 405.6 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 52.51 MB / 458.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4968, allocations: 82.04 MB / 0.5275 GB, free: 4.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.497, allocations: 68.28 kB / 0.5275 GB, free: 3.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02977/0.5268, allocations: 11.22 MB / 0.5385 GB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5269, allocations: 0 / 0.5385 GB, free: 10.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.5269, allocations: 4 kB / 0.5385 GB, free: 10.96 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001496/0.5284, allocations: 0.6679 MB / 0.5391 GB, free: 10.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5284, allocations: 12.03 kB / 0.5392 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.232e-05/0.5285, allocations: 70.8 kB / 0.5392 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.5286, allocations: 39.62 kB / 0.5393 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.529, allocations: 276.8 kB / 0.5395 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.5291, allocations: 82.19 kB / 0.5396 GB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.5291, allocations: 26.94 kB / 0.5396 GB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.5297, allocations: 370.5 kB / 0.54 GB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5298, allocations: 7.938 kB / 0.54 GB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.5298, allocations: 14.81 kB / 0.54 GB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.5298, allocations: 8 kB / 0.54 GB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.5303, allocations: 348.2 kB / 0.5403 GB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.5322, allocations: 1.445 MB / 0.5418 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.5333, allocations: 0.5391 MB / 0.5423 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.5336, allocations: 224.5 kB / 0.5425 GB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.972e-05/0.5336, allocations: 19.09 kB / 0.5425 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.5341, allocations: 300.5 kB / 0.5428 GB, free: 7.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.5342, allocations: 0 / 0.5428 GB, free: 7.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001526/0.5357, allocations: 0.6802 MB / 0.5435 GB, free: 6.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.5357, allocations: 62.83 kB / 0.5435 GB, free: 6.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5359, allocations: 189.2 kB / 0.5437 GB, free: 6.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.536, allocations: 40.95 kB / 0.5437 GB, free: 6.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.5361, allocations: 143 kB / 0.5439 GB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.5362, allocations: 167.5 kB / 0.544 GB, free: 6.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.5362, allocations: 7.188 kB / 0.5441 GB, free: 6.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5364, allocations: 344.8 kB / 0.5444 GB, free: 6.051 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.5366, allocations: 171.7 kB / 0.5445 GB, free: 5.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.537, allocations: 242.9 kB / 0.5448 GB, free: 5.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.5373, allocations: 197.2 kB / 0.545 GB, free: 5.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5373, allocations: 0 / 0.545 GB, free: 5.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001468/0.5388, allocations: 0.7277 MB / 0.5457 GB, free: 5.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5388, allocations: 5.875 kB / 0.5457 GB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.5388, allocations: 0 / 0.5457 GB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.54, allocations: 292.5 kB / 0.546 GB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.5403, allocations: 63.89 kB / 0.546 GB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.5442, allocations: 2.728 MB / 0.5487 GB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.5445, allocations: 38.23 kB / 0.5487 GB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.5446, allocations: 15.06 kB / 0.5487 GB, free: 2.656 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: myFailure.seed:DISCRETE(fixed = false protected = true ) type: Integer myFailure.F:VARIABLE(start = 0.0 ) "cumulative distribution function" type: Real myFailure.r:DISCRETE(fixed = false ) "random numbers" type: Real myFailure.componentIsWorking:DISCRETE(start = true fixed = false ) 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 () * 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.0002335/0.5448, allocations: 146.2 kB / 0.5489 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.5449, allocations: 31.62 kB / 0.5489 GB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.5466, allocations: 0.778 MB / 0.5497 GB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5467, allocations: 8 kB / 0.5497 GB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5467, allocations: 4 kB / 0.5497 GB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.5467, allocations: 3.984 kB / 0.5497 GB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.549, allocations: 1.398 MB / 0.551 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.549, allocations: 4 kB / 0.551 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5492, allocations: 51.91 kB / 0.5511 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.5503, allocations: 281.7 kB / 0.5514 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.5504, allocations: 15.48 kB / 0.5514 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.5537, allocations: 2.675 MB / 0.554 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5537, allocations: 3.953 kB / 0.554 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.5556, allocations: 1.08 MB / 0.5551 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.5557, allocations: 111.8 kB / 0.5552 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.5558, allocations: 19.69 kB / 0.5552 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.5561, allocations: 26.61 kB / 0.5552 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.5562, allocations: 43.5 kB / 0.5552 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.5562, allocations: 19.42 kB / 0.5553 GB, free: 13.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.5564, allocations: 145 kB / 0.5554 GB, free: 13.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5564, allocations: 0 / 0.5554 GB, free: 13.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005979/0.557, allocations: 169.1 kB / 0.5556 GB, free: 13.23 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) * 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.002454/0.5594, allocations: 1.754 MB / 0.5573 GB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.5608, allocations: 0.7207 MB / 0.558 GB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5608, allocations: 0 / 0.558 GB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.5617, allocations: 0.5095 MB / 0.5585 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.562, allocations: 24.17 kB / 0.5585 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.5631, allocations: 0.5309 MB / 0.559 GB, free: 9.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.5634, allocations: 0.7981 MB / 0.5598 GB, free: 8.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.5636, allocations: 46.92 kB / 0.5598 GB, free: 8.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.5637, allocations: 103.4 kB / 0.5599 GB, free: 8.785 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5637, allocations: 0 / 0.5599 GB, free: 8.785 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.5895, allocations: 10.71 MB / 0.5704 GB, free: 14.26 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003798/0.59, allocations: 250.2 kB / 0.5706 GB, free: 13.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.713, allocations: 0 / 0.5706 GB, free: 13.93 MB / 394.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)