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.001031/0.001031, allocations: 179.4 kB / 15.8 MB, free: 6.34 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.456/1.456, allocations: 223.2 MB / 239.7 MB, free: 1.789 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.0008499/0.0008499, allocations: 92.42 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04861/0.04861, allocations: 8.097 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003221, allocations: 9.906 kB / 413.1 MB, free: 89.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09666, allocations: 52.54 MB / 465.6 MB, free: 42.05 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4466, allocations: 81.86 MB / 0.5347 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4468, allocations: 70.75 kB / 0.5347 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02732/0.4741, allocations: 11.27 MB / 0.5457 GB, free: 31.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4742, allocations: 0.6094 kB / 0.5457 GB, free: 31.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.4742, allocations: 7.875 kB / 0.5457 GB, free: 31.53 MB / 378.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.001527/0.4757, allocations: 0.6835 MB / 0.5464 GB, free: 31.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.282e-05/0.4758, allocations: 7.844 kB / 0.5464 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.4759, allocations: 42.77 kB / 0.5464 GB, free: 31.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.4762, allocations: 274.9 kB / 0.5467 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.4763, allocations: 80.72 kB / 0.5468 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.4764, allocations: 34.22 kB / 0.5468 GB, free: 30.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.477, allocations: 378.1 kB / 0.5472 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.477, allocations: 3.938 kB / 0.5472 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.477, allocations: 13.92 kB / 0.5472 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.477, allocations: 11.7 kB / 0.5472 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.4775, allocations: 360.9 kB / 0.5476 GB, free: 30.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.4794, allocations: 1.441 MB / 0.549 GB, free: 30 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009941/0.4804, allocations: 0.5408 MB / 0.5495 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.4805, allocations: 15.83 kB / 0.5495 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005327/0.481, allocations: 319.5 kB / 0.5498 GB, free: 29.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/0.481, allocations: 3.938 kB / 0.5498 GB, free: 29.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.002851/0.4839, allocations: 1.118 MB / 0.5509 GB, free: 29.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.4839, allocations: 59.66 kB / 0.551 GB, free: 29.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4841, allocations: 196.5 kB / 0.5511 GB, free: 29.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.4842, allocations: 36.77 kB / 0.5512 GB, free: 29.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.4843, allocations: 138.7 kB / 0.5513 GB, free: 29.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.4844, allocations: 175 kB / 0.5515 GB, free: 29.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.4844, allocations: 7.062 kB / 0.5515 GB, free: 29.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.4845, allocations: 342.7 kB / 0.5518 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.4848, allocations: 192.9 kB / 0.552 GB, free: 28.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.4851, allocations: 241.7 kB / 0.5522 GB, free: 28.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.4854, allocations: 202 kB / 0.5524 GB, free: 28.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4854, allocations: 0 / 0.5524 GB, free: 28.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001494/0.4869, allocations: 0.7484 MB / 0.5532 GB, free: 28.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4869, allocations: 3.875 kB / 0.5532 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.487, allocations: 4 kB / 0.5532 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.4881, allocations: 290.6 kB / 0.5534 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.4884, allocations: 62.7 kB / 0.5535 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/0.4923, allocations: 2.814 MB / 0.5562 GB, free: 27.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.4926, allocations: 41.06 kB / 0.5563 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.4927, allocations: 19.83 kB / 0.5563 GB, free: 27.43 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.r:DISCRETE(fixed = true ) "random numbers" type: Real myFailure.componentIsWorking:DISCRETE(start = true fixed = true ) 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 () * 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.0002877/0.493, allocations: 172.2 kB / 0.5565 GB, free: 27.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.493, allocations: 27.53 kB / 0.5565 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.4947, allocations: 0.7969 MB / 0.5573 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4948, allocations: 5.438 kB / 0.5573 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.4948, allocations: 0 / 0.5573 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4948, allocations: 8.25 kB / 0.5573 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.4971, allocations: 1.417 MB / 0.5587 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4971, allocations: 0 / 0.5587 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.4973, allocations: 52.77 kB / 0.5587 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.4985, allocations: 293.9 kB / 0.559 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.4985, allocations: 10.84 kB / 0.559 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.5022, allocations: 2.774 MB / 0.5617 GB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5022, allocations: 0 / 0.5617 GB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.5043, allocations: 1.099 MB / 0.5628 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.5044, allocations: 116.6 kB / 0.5629 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.5045, allocations: 13.69 kB / 0.5629 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.5048, allocations: 30.5 kB / 0.5629 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5049, allocations: 42.98 kB / 0.563 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.505, allocations: 25.92 kB / 0.563 GB, free: 25.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.5052, allocations: 145.7 kB / 0.5632 GB, free: 25.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5052, allocations: 5.656 kB / 0.5632 GB, free: 25.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007306/0.5059, allocations: 169.7 kB / 0.5633 GB, free: 25.05 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.0006118/0.5065, allocations: 232.6 kB / 0.5635 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.5082, allocations: 0.7469 MB / 0.5643 GB, free: 24.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5082, allocations: 5.406 kB / 0.5643 GB, free: 24.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009637/0.5092, allocations: 0.5174 MB / 0.5648 GB, free: 24.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.5095, allocations: 24.66 kB / 0.5648 GB, free: 24.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.5108, allocations: 0.7763 MB / 0.5656 GB, free: 24.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.5113, allocations: 0.7932 MB / 0.5663 GB, free: 23.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.5115, allocations: 51.09 kB / 0.5664 GB, free: 23.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.091e-05/0.5116, allocations: 31.45 kB / 0.5664 GB, free: 23.48 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5116, allocations: 0 / 0.5664 GB, free: 23.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01581/0.5274, allocations: 7.554 MB / 0.5738 GB, free: 21.95 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)