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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 191.5 kB / 7.845 MB, free: 2.457 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.279/1.279, allocations: 221.4 MB / 229.7 MB, free: 3.008 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.0009062/0.0009062, allocations: 94.23 kB / 280.5 MB, free: 1.188 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04423/0.04423, allocations: 8.095 MB / 339.4 MB, free: 6.281 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 8.906e-06/8.936e-06, allocations: 4 kB / 397.9 MB, free: 67.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 52.52 MB / 450.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.462, allocations: 81.42 MB / 0.5194 GB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4623, allocations: 68.44 kB / 0.5194 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03183/0.4941, allocations: 10.75 MB / 0.5299 GB, free: 4.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.4942, allocations: 4 kB / 0.5299 GB, free: 4.203 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.002242/0.4964, allocations: 0.6641 MB / 0.5306 GB, free: 3.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.343e-05/0.4965, allocations: 15.95 kB / 0.5306 GB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.4968, allocations: 43.53 kB / 0.5307 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.4976, allocations: 272.6 kB / 0.5309 GB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.4978, allocations: 68.06 kB / 0.531 GB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.4979, allocations: 20 kB / 0.531 GB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008307/0.4987, allocations: 338.6 kB / 0.5313 GB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/0.4994, allocations: 326.9 kB / 0.5316 GB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4994, allocations: 3.906 kB / 0.5316 GB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.4995, allocations: 4 kB / 0.5316 GB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4995, allocations: 4 kB / 0.5316 GB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.5019, allocations: 1.388 MB / 0.533 GB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.5023, allocations: 248 kB / 0.5332 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.5027, allocations: 206.3 kB / 0.5334 GB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.5027, allocations: 19.97 kB / 0.5335 GB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004397/0.5032, allocations: 264.7 kB / 0.5337 GB, free: 1.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.506e-06/0.5032, allocations: 0 / 0.5337 GB, free: 1.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.001994/0.5052, allocations: 0.6607 MB / 0.5343 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5053, allocations: 55.84 kB / 0.5344 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.5055, allocations: 178.4 kB / 0.5346 GB, free: 344 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.5056, allocations: 28.77 kB / 0.5346 GB, free: 312 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5057, allocations: 131.6 kB / 0.5347 GB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.506, allocations: 162.2 kB / 0.5349 GB, free: 40 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.506, allocations: 0 / 0.5349 GB, free: 40 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.5062, allocations: 339.4 kB / 0.5352 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.5065, allocations: 170.2 kB / 0.5354 GB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.5068, allocations: 228.5 kB / 0.5356 GB, free: 15.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.5076, allocations: 217.8 kB / 0.5358 GB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5076, allocations: 0 / 0.5358 GB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00196/0.5096, allocations: 0.7145 MB / 0.5365 GB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.5096, allocations: 4 kB / 0.5365 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5096, allocations: 4 kB / 0.5365 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.511, allocations: 279.7 kB / 0.5368 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.5113, allocations: 67.2 kB / 0.5368 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.5154, allocations: 2.468 MB / 0.5392 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.5158, allocations: 31.77 kB / 0.5393 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.5159, allocations: 19.8 kB / 0.5393 GB, free: 12.43 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.0002781/0.5162, allocations: 135.2 kB / 0.5394 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.5163, allocations: 35.61 kB / 0.5394 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.5184, allocations: 0.7257 MB / 0.5402 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5184, allocations: 8 kB / 0.5402 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5185, allocations: 8 kB / 0.5402 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5185, allocations: 3.984 kB / 0.5402 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.5214, allocations: 1.296 MB / 0.5414 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5214, allocations: 0 / 0.5414 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.5217, allocations: 55.72 kB / 0.5415 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.523, allocations: 281.9 kB / 0.5418 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.523, allocations: 3.984 kB / 0.5418 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004728/0.5278, allocations: 2.452 MB / 0.5442 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5278, allocations: 0 / 0.5442 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002604/0.5304, allocations: 1.038 MB / 0.5452 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.5307, allocations: 112.4 kB / 0.5453 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.5308, allocations: 7.984 kB / 0.5453 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.5311, allocations: 20.05 kB / 0.5453 GB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.5313, allocations: 28.08 kB / 0.5453 GB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.5313, allocations: 19.67 kB / 0.5454 GB, free: 7.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002041/0.5316, allocations: 141.8 kB / 0.5455 GB, free: 7.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009938/0.5326, allocations: 143.5 kB / 0.5456 GB, free: 7.234 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.0009314/0.5335, allocations: 217.8 kB / 0.5458 GB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.5353, allocations: 0.6442 MB / 0.5465 GB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.5353, allocations: 4 kB / 0.5465 GB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.5365, allocations: 449.5 kB / 0.5469 GB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.5368, allocations: 19.66 kB / 0.5469 GB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.5385, allocations: 435.7 kB / 0.5473 GB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.5392, allocations: 0.8239 MB / 0.5481 GB, free: 4.984 MB / 362.7 MB Notification: Performance of SimCode: time 5.169e-06/0.5392, allocations: 0 / 0.5481 GB, free: 4.984 MB / 362.7 MB Notification: Performance of Templates: time 0.01688/0.5561, allocations: 7.713 MB / 0.5557 GB, free: 13.31 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)