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.001531/0.001531, allocations: 182.6 kB / 13.23 MB, free: 2.082 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.27/1.27, allocations: 221.4 MB / 235.1 MB, free: 14.45 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.000982/0.0009821, allocations: 92.34 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06089/0.06089, allocations: 8.101 MB / 345.1 MB, free: 1.938 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.395e-05, allocations: 4 kB / 405.5 MB, free: 61.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 52.54 MB / 458 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4551, allocations: 82.06 MB / 0.5274 GB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.4553, allocations: 63.97 kB / 0.5275 GB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03048/0.4858, allocations: 11.22 MB / 0.5384 GB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4858, allocations: 0 / 0.5384 GB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.4859, allocations: 8 kB / 0.5384 GB, free: 10.92 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.001502/0.4874, allocations: 0.658 MB / 0.5391 GB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4874, allocations: 12.03 kB / 0.5391 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.4875, allocations: 42.64 kB / 0.5391 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.4879, allocations: 270.5 kB / 0.5394 GB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.661e-05/0.488, allocations: 82.75 kB / 0.5395 GB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.4881, allocations: 26.81 kB / 0.5395 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.4887, allocations: 370.3 kB / 0.5398 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4887, allocations: 0 / 0.5398 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.4887, allocations: 22.86 kB / 0.5399 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.4887, allocations: 11.95 kB / 0.5399 GB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.4892, allocations: 343.2 kB / 0.5402 GB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.4912, allocations: 1.448 MB / 0.5416 GB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.4923, allocations: 0.5341 MB / 0.5421 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.4926, allocations: 228.7 kB / 0.5423 GB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.594e-05/0.4927, allocations: 12.41 kB / 0.5424 GB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.4932, allocations: 299.8 kB / 0.5426 GB, free: 7.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.685e-06/0.4932, allocations: 0 / 0.5426 GB, free: 7.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001616/0.4948, allocations: 0.6834 MB / 0.5433 GB, free: 6.961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.4949, allocations: 63.83 kB / 0.5434 GB, free: 6.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.4951, allocations: 180.8 kB / 0.5435 GB, free: 6.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.4951, allocations: 32.64 kB / 0.5436 GB, free: 6.699 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4953, allocations: 147.8 kB / 0.5437 GB, free: 6.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.4954, allocations: 167.7 kB / 0.5439 GB, free: 6.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.4954, allocations: 10.75 kB / 0.5439 GB, free: 6.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4956, allocations: 345.7 kB / 0.5442 GB, free: 6.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.4958, allocations: 180.1 kB / 0.5444 GB, free: 5.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.4961, allocations: 232.7 kB / 0.5446 GB, free: 5.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.4964, allocations: 201.1 kB / 0.5448 GB, free: 5.719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4964, allocations: 0 / 0.5448 GB, free: 5.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001536/0.498, allocations: 0.7339 MB / 0.5455 GB, free: 5.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.498, allocations: 4 kB / 0.5455 GB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.498, allocations: 4 kB / 0.5455 GB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.4992, allocations: 291.3 kB / 0.5458 GB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.4995, allocations: 75.09 kB / 0.5459 GB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003762/0.5033, allocations: 2.722 MB / 0.5485 GB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.5036, allocations: 38.86 kB / 0.5486 GB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.5037, allocations: 19.69 kB / 0.5486 GB, free: 2.68 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.0001846/0.5039, allocations: 135.4 kB / 0.5487 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.5039, allocations: 31.62 kB / 0.5487 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.5056, allocations: 0.7749 MB / 0.5495 GB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5056, allocations: 4 kB / 0.5495 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.5056, allocations: 0 / 0.5495 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5056, allocations: 7.984 kB / 0.5495 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.5078, allocations: 1.398 MB / 0.5509 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5078, allocations: 4 kB / 0.5509 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.5081, allocations: 59.72 kB / 0.5509 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.5092, allocations: 281.5 kB / 0.5512 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.5092, allocations: 14.3 kB / 0.5512 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.5127, allocations: 2.668 MB / 0.5538 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5128, allocations: 8 kB / 0.5538 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.5147, allocations: 1.081 MB / 0.5549 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.5148, allocations: 107.7 kB / 0.555 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.5149, allocations: 14.55 kB / 0.555 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.5152, allocations: 32.94 kB / 0.555 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.5153, allocations: 43 kB / 0.5551 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.5153, allocations: 19.61 kB / 0.5551 GB, free: 13.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.5155, allocations: 145.8 kB / 0.5552 GB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5155, allocations: 0 / 0.5552 GB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006479/0.5161, allocations: 180.2 kB / 0.5554 GB, free: 13.25 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.0005465/0.5167, allocations: 241.1 kB / 0.5556 GB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.5181, allocations: 0.7204 MB / 0.5563 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5181, allocations: 0 / 0.5563 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009385/0.5191, allocations: 0.5041 MB / 0.5568 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.5193, allocations: 24.17 kB / 0.5569 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008818/0.5202, allocations: 462.1 kB / 0.5573 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.5206, allocations: 0.7981 MB / 0.5581 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.5208, allocations: 46.94 kB / 0.5581 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.5209, allocations: 31.42 kB / 0.5582 GB, free: 10.62 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5209, allocations: 0 / 0.5582 GB, free: 10.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01265/0.5335, allocations: 7.638 MB / 0.5656 GB, free: 3.012 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)