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.0009609/0.0009609, allocations: 177.6 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.5 MB / 230 MB, free: 7.574 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.0008303/0.0008303, allocations: 97.7 kB / 280.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04992/0.04992, allocations: 8.102 MB / 339.8 MB, free: 7.012 MB / 234.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.997e-05, allocations: 3.438 kB / 398.6 MB, free: 49.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 52.53 MB / 451.1 MB, free: 5.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.212, allocations: 81.14 MB / 0.5198 GB, free: 4.141 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.2123, allocations: 63.97 kB / 0.5198 GB, free: 4.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2826/0.495, allocations: 11.08 MB / 0.5306 GB, free: 79.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.495, allocations: 0 / 0.5306 GB, free: 79.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.495, allocations: 6 kB / 0.5306 GB, free: 79.07 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.00159/0.4966, allocations: 0.6544 MB / 0.5313 GB, free: 78.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.4967, allocations: 12.98 kB / 0.5313 GB, free: 78.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.4968, allocations: 40.73 kB / 0.5313 GB, free: 78.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.4972, allocations: 282.9 kB / 0.5316 GB, free: 78.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/0.4973, allocations: 72.19 kB / 0.5317 GB, free: 78.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.4974, allocations: 18.03 kB / 0.5317 GB, free: 78.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006348/0.498, allocations: 335.9 kB / 0.532 GB, free: 78.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.4987, allocations: 333 kB / 0.5323 GB, free: 78.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.4987, allocations: 0 / 0.5323 GB, free: 78.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.4988, allocations: 9.734 kB / 0.5323 GB, free: 78.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.4988, allocations: 10.97 kB / 0.5324 GB, free: 78.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.5009, allocations: 1.379 MB / 0.5337 GB, free: 77.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.5019, allocations: 0.5173 MB / 0.5342 GB, free: 77.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.5022, allocations: 206.9 kB / 0.5344 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-05/0.5023, allocations: 15.42 kB / 0.5344 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006264/0.503, allocations: 280.3 kB / 0.5347 GB, free: 77.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 4.198e-06/0.503, allocations: 0 / 0.5347 GB, free: 77.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.003116/0.5061, allocations: 0.6631 MB / 0.5353 GB, free: 77.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.5062, allocations: 60.72 kB / 0.5354 GB, free: 77.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.5065, allocations: 190.1 kB / 0.5356 GB, free: 77.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.5066, allocations: 31.58 kB / 0.5356 GB, free: 77.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5067, allocations: 146.1 kB / 0.5357 GB, free: 77.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.5069, allocations: 156 kB / 0.5359 GB, free: 76.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.5069, allocations: 0 / 0.5359 GB, free: 76.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.507, allocations: 344 kB / 0.5362 GB, free: 76.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.5075, allocations: 172.6 kB / 0.5364 GB, free: 76.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.508, allocations: 221 kB / 0.5366 GB, free: 76.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.5093, allocations: 218 kB / 0.5368 GB, free: 76.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.5094, allocations: 0.5625 kB / 0.5368 GB, free: 76.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.003579/0.513, allocations: 0.7072 MB / 0.5375 GB, free: 76.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.513, allocations: 9.562 kB / 0.5375 GB, free: 76.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5131, allocations: 1.156 kB / 0.5375 GB, free: 76.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.5153, allocations: 290.4 kB / 0.5378 GB, free: 76.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.5159, allocations: 68.03 kB / 0.5378 GB, free: 76.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.5215, allocations: 2.601 MB / 0.5404 GB, free: 74.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.5222, allocations: 38.39 kB / 0.5404 GB, free: 74.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5223, allocations: 15.34 kB / 0.5404 GB, free: 74.55 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.0003139/0.5227, allocations: 120.7 kB / 0.5405 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002801/0.5255, allocations: 0.6601 MB / 0.5412 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5256, allocations: 33.11 kB / 0.5412 GB, free: 74.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.5286, allocations: 0.7474 MB / 0.542 GB, free: 73.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.5287, allocations: 5.781 kB / 0.542 GB, free: 73.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5287, allocations: 0 / 0.542 GB, free: 73.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.5287, allocations: 4.266 kB / 0.542 GB, free: 73.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.5327, allocations: 1.316 MB / 0.5432 GB, free: 72.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.5327, allocations: 0 / 0.5432 GB, free: 72.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.5331, allocations: 54.75 kB / 0.5433 GB, free: 72.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/0.535, allocations: 286.7 kB / 0.5436 GB, free: 72.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.51e-05/0.5351, allocations: 3.984 kB / 0.5436 GB, free: 72.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.54, allocations: 2.58 MB / 0.5461 GB, free: 70.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.5401, allocations: 7.938 kB / 0.5461 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.5433, allocations: 1.046 MB / 0.5471 GB, free: 69.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.5435, allocations: 108.6 kB / 0.5472 GB, free: 69.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.5436, allocations: 11.95 kB / 0.5472 GB, free: 69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.544, allocations: 15.98 kB / 0.5473 GB, free: 68.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.5442, allocations: 44.48 kB / 0.5473 GB, free: 68.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.5443, allocations: 19.98 kB / 0.5473 GB, free: 68.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.5445, allocations: 140.3 kB / 0.5475 GB, free: 68.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.5445, allocations: 4.062 kB / 0.5475 GB, free: 68.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001054/0.5455, allocations: 155.8 kB / 0.5476 GB, free: 68.63 MB / 362.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 (41): * Single equations (assignments): 37 * 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.002958/0.5485, allocations: 1.695 MB / 0.5493 GB, free: 66.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.5497, allocations: 0.6864 MB / 0.5499 GB, free: 66.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5498, allocations: 256 / 0.5499 GB, free: 66.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.5505, allocations: 483.6 kB / 0.5504 GB, free: 65.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.5509, allocations: 28.11 kB / 0.5504 GB, free: 65.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.5521, allocations: 0.4886 MB / 0.5509 GB, free: 65.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.5523, allocations: 0.7943 MB / 0.5517 GB, free: 64.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.5525, allocations: 43.25 kB / 0.5517 GB, free: 64.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.5526, allocations: 103.4 kB / 0.5518 GB, free: 64.25 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5527, allocations: 0 / 0.5518 GB, free: 64.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.5823, allocations: 9.744 MB / 0.5613 GB, free: 54.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.5826, allocations: 203.6 kB / 0.5615 GB, free: 54.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.699, allocations: 1.406 kB / 0.5615 GB, free: 54.25 MB / 362.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)