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.00108/0.00108, allocations: 173 kB / 16.8 MB, free: 4.906 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.296/1.296, allocations: 223.3 MB / 240.8 MB, free: 9.984 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.0009241/0.0009239, allocations: 98.06 kB / 292 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04728/0.04728, allocations: 8.088 MB / 351.2 MB, free: 15.35 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000522/0.0005222, allocations: 12 kB / 414.4 MB, free: 57.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1193, allocations: 52.51 MB / 466.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3361/0.4554, allocations: 81.91 MB / 0.5359 GB, free: 3.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4557, allocations: 80.08 kB / 0.536 GB, free: 3.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03141/0.4872, allocations: 11.23 MB / 0.547 GB, free: 10.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4872, allocations: 0 / 0.547 GB, free: 10.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.4872, allocations: 4 kB / 0.547 GB, free: 10.55 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.001541/0.4888, allocations: 0.686 MB / 0.5477 GB, free: 9.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4888, allocations: 8.031 kB / 0.5477 GB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.4889, allocations: 40.56 kB / 0.5477 GB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.4893, allocations: 276.4 kB / 0.548 GB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.4894, allocations: 87.55 kB / 0.5481 GB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.4894, allocations: 30.69 kB / 0.5481 GB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.4901, allocations: 379.9 kB / 0.5484 GB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4901, allocations: 3.938 kB / 0.5485 GB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.4902, allocations: 14.44 kB / 0.5485 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4902, allocations: 7.938 kB / 0.5485 GB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.4907, allocations: 368.1 kB / 0.5488 GB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.4927, allocations: 1.447 MB / 0.5502 GB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.4938, allocations: 0.5486 MB / 0.5508 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.4942, allocations: 234.1 kB / 0.551 GB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-05/0.4942, allocations: 12.42 kB / 0.551 GB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.4947, allocations: 309.3 kB / 0.5513 GB, free: 6.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.605e-06/0.4947, allocations: 0 / 0.5513 GB, free: 6.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002946/0.4977, allocations: 1.137 MB / 0.5524 GB, free: 5.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.4978, allocations: 63.84 kB / 0.5525 GB, free: 5.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.498, allocations: 207.2 kB / 0.5527 GB, free: 4.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.4981, allocations: 37.7 kB / 0.5527 GB, free: 4.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/0.4982, allocations: 148.9 kB / 0.5528 GB, free: 4.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.4983, allocations: 165.6 kB / 0.553 GB, free: 4.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.4983, allocations: 8 kB / 0.553 GB, free: 4.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4985, allocations: 342.8 kB / 0.5533 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.4988, allocations: 185 kB / 0.5535 GB, free: 4.047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.4991, allocations: 242.3 kB / 0.5537 GB, free: 3.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.5028, allocations: 1.113 MB / 0.5548 GB, free: 2.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5028, allocations: 4 kB / 0.5548 GB, free: 2.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001615/0.5045, allocations: 0.749 MB / 0.5556 GB, free: 1.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5045, allocations: 4 kB / 0.5556 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5045, allocations: 7.938 kB / 0.5556 GB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.5056, allocations: 289.4 kB / 0.5559 GB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.5058, allocations: 71.83 kB / 0.5559 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003763/0.5096, allocations: 2.736 MB / 0.5586 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.5099, allocations: 39.73 kB / 0.5586 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.51, allocations: 16 kB / 0.5587 GB, free: 14.63 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.componentIsWorking:DISCRETE(start = true fixed = true ) type: Boolean myFailure.r:DISCRETE(fixed = true ) "random numbers" type: Real 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,$PRE.myFailure.componentIsWorking,$PRE.myFailure.r,$whenCondition3,$whenCondition2,$whenCondition1,brk2.BrkOpen,myFailure.y,myFailure.componentIsWorking,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.0002533/0.5102, allocations: 174.3 kB / 0.5588 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.5103, allocations: 31.62 kB / 0.5588 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.512, allocations: 0.7842 MB / 0.5596 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.5121, allocations: 4 kB / 0.5596 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.5121, allocations: 4 kB / 0.5596 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.5121, allocations: 3.984 kB / 0.5596 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.5145, allocations: 1.416 MB / 0.561 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5145, allocations: 3.938 kB / 0.561 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.5148, allocations: 51.91 kB / 0.5611 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.5158, allocations: 292.5 kB / 0.5613 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.5159, allocations: 15.98 kB / 0.5614 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.5194, allocations: 2.683 MB / 0.564 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5195, allocations: 0 / 0.564 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.5215, allocations: 1.116 MB / 0.5651 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.5216, allocations: 104.8 kB / 0.5652 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.5217, allocations: 15.94 kB / 0.5652 GB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.522, allocations: 28.05 kB / 0.5652 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.5221, allocations: 52.48 kB / 0.5653 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.5221, allocations: 15.98 kB / 0.5653 GB, free: 7.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.5223, allocations: 155.2 kB / 0.5654 GB, free: 7.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5223, allocations: 0 / 0.5654 GB, free: 7.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006104/0.5229, allocations: 163.8 kB / 0.5656 GB, free: 7.285 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.0004919/0.5234, allocations: 229.4 kB / 0.5658 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.5249, allocations: 0.7442 MB / 0.5665 GB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5249, allocations: 0 / 0.5665 GB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009331/0.5259, allocations: 0.5252 MB / 0.567 GB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.5263, allocations: 39.3 kB / 0.5671 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.5276, allocations: 0.7719 MB / 0.5678 GB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.528, allocations: 0.7864 MB / 0.5686 GB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.5282, allocations: 46.92 kB / 0.5686 GB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5283, allocations: 35.42 kB / 0.5687 GB, free: 4.059 MB / 378.7 MB Notification: Performance of SimCode: time 2.304e-06/0.5283, allocations: 0 / 0.5687 GB, free: 4.059 MB / 378.7 MB Notification: Performance of Templates: time 0.01288/0.5412, allocations: 7.6 MB / 0.5761 GB, free: 12.48 MB / 394.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)