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: translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 174.8 kB / 8.047 MB, free: 1.008 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.462/1.462, allocations: 221.5 MB / 230 MB, free: 3.176 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.0009888/0.0009888, allocations: 106.4 kB / 280.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04474/0.04474, allocations: 8.099 MB / 339.8 MB, free: 6.23 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.599e-05, allocations: 0 / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09395, allocations: 52.52 MB / 451 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/0.4247, allocations: 81.47 MB / 0.52 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.425, allocations: 66.59 kB / 0.5201 GB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04499/0.47, allocations: 11.09 MB / 0.5309 GB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.47, allocations: 0 / 0.5309 GB, free: 3.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.47, allocations: 4 kB / 0.5309 GB, free: 3.789 MB / 346.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.002342/0.4724, allocations: 0.6602 MB / 0.5315 GB, free: 3.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4725, allocations: 11.98 kB / 0.5315 GB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.4726, allocations: 35.62 kB / 0.5316 GB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.4731, allocations: 282.9 kB / 0.5318 GB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4732, allocations: 68.19 kB / 0.5319 GB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.4733, allocations: 16 kB / 0.5319 GB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008443/0.4742, allocations: 343 kB / 0.5323 GB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008404/0.4751, allocations: 323.9 kB / 0.5326 GB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4751, allocations: 4 kB / 0.5326 GB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.4752, allocations: 7.938 kB / 0.5326 GB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4752, allocations: 8 kB / 0.5326 GB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.4782, allocations: 1.383 MB / 0.5339 GB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.48, allocations: 0.5186 MB / 0.5344 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.4805, allocations: 207.2 kB / 0.5346 GB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/0.4806, allocations: 8.438 kB / 0.5346 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007552/0.4813, allocations: 283.2 kB / 0.5349 GB, free: 464 kB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.607e-06/0.4814, allocations: 0 / 0.5349 GB, free: 464 kB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.00335/0.4847, allocations: 0.6618 MB / 0.5356 GB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.4848, allocations: 64.45 kB / 0.5356 GB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.4851, allocations: 181 kB / 0.5358 GB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.4852, allocations: 25.7 kB / 0.5358 GB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4854, allocations: 158.6 kB / 0.536 GB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.4856, allocations: 152.8 kB / 0.5361 GB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.4857, allocations: 0 / 0.5361 GB, free: 15.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4859, allocations: 347.4 kB / 0.5364 GB, free: 15.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.4863, allocations: 167.7 kB / 0.5366 GB, free: 15.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.4869, allocations: 223.9 kB / 0.5368 GB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.488, allocations: 209 kB / 0.537 GB, free: 14.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.488, allocations: 8 kB / 0.537 GB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.003291/0.4913, allocations: 0.7079 MB / 0.5377 GB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4914, allocations: 5.875 kB / 0.5377 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.4914, allocations: 4 kB / 0.5377 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.4936, allocations: 283.3 kB / 0.538 GB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.4941, allocations: 67.58 kB / 0.5381 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006084/0.5002, allocations: 2.604 MB / 0.5406 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.5007, allocations: 39.69 kB / 0.5406 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.5008, allocations: 19.48 kB / 0.5407 GB, free: 11.82 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.0002633/0.5011, allocations: 127.4 kB / 0.5408 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.5012, allocations: 31.72 kB / 0.5408 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/0.5046, allocations: 0.7367 MB / 0.5415 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.5047, allocations: 7.953 kB / 0.5415 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5047, allocations: 3.984 kB / 0.5415 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5047, allocations: 0 / 0.5415 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.509, allocations: 1.321 MB / 0.5428 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5091, allocations: 0 / 0.5428 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.5095, allocations: 55.22 kB / 0.5429 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002022/0.5115, allocations: 285.5 kB / 0.5432 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.5116, allocations: 0 / 0.5432 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005755/0.5174, allocations: 2.581 MB / 0.5457 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5174, allocations: 4 kB / 0.5457 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/0.5212, allocations: 1.046 MB / 0.5467 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.5214, allocations: 116.6 kB / 0.5468 GB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.5215, allocations: 7.109 kB / 0.5468 GB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.522, allocations: 16.11 kB / 0.5468 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.5222, allocations: 43.92 kB / 0.5469 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/0.5223, allocations: 30.98 kB / 0.5469 GB, free: 6.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.5225, allocations: 137.9 kB / 0.547 GB, free: 6.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5226, allocations: 0 / 0.547 GB, free: 6.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00108/0.5237, allocations: 150.5 kB / 0.5472 GB, free: 6.578 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.0007763/0.5245, allocations: 207.9 kB / 0.5474 GB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.5267, allocations: 0.6774 MB / 0.548 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.5267, allocations: 4.25 kB / 0.548 GB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.5282, allocations: 485 kB / 0.5485 GB, free: 5.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.5287, allocations: 22.77 kB / 0.5485 GB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.53, allocations: 432.2 kB / 0.5489 GB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.5305, allocations: 0.7904 MB / 0.5497 GB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.5309, allocations: 51.23 kB / 0.5498 GB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.531, allocations: 35.3 kB / 0.5498 GB, free: 4.25 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.531, allocations: 3.938 kB / 0.5498 GB, free: 4.246 MB / 362.7 MB Notification: Performance of Templates: time 0.0198/0.5509, allocations: 7.196 MB / 0.5568 GB, free: 13.09 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe 2>&1)