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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 115.2 kB / 17.14 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 191.3 kB / 18.07 MB, free: 4.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04778/0.04778, allocations: 8.094 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.07984, allocations: 51.51 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized): time 0.003889/0.08376, allocations: 2.867 MB / 469.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.08575, allocations: 1.133 MB / 470.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.08594, allocations: 4 kB / 470.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.08635, allocations: 139.2 kB / 470.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.08676, allocations: 147.1 kB / 471 MB, free: 13.84 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation diesel.rampTime == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.08869, allocations: 1.023 MB / 472 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.08912, allocations: 334.5 kB / 472.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.08934, allocations: 122.9 kB / 472.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.08952, allocations: 143.5 kB / 472.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.08982, allocations: 211.1 kB / 472.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.08988, allocations: 28 kB / 472.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.09042, allocations: 307.7 kB / 473.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.09051, allocations: 75.69 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.09067, allocations: 163.1 kB / 473.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.0914, allocations: 0.5489 MB / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09142, allocations: 4 kB / 473.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.09143, allocations: 4 kB / 473.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.09144, allocations: 0 / 473.9 MB, free: 10.9 MB / 350.1 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.002149/0.09359, allocations: 0.8469 MB / 474.8 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.09364, allocations: 8.031 kB / 474.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.09375, allocations: 40.75 kB / 474.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.09407, allocations: 275.8 kB / 475.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.09416, allocations: 88.61 kB / 475.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.09422, allocations: 28.38 kB / 475.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.09483, allocations: 382.6 kB / 475.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.09486, allocations: 3.938 kB / 475.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.0949, allocations: 16 kB / 475.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.09491, allocations: 4 kB / 475.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.09547, allocations: 362.5 kB / 475.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.09714, allocations: 1.371 MB / 477.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.09823, allocations: 0.5508 MB / 477.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.09858, allocations: 230 kB / 478.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/0.09865, allocations: 20.41 kB / 478.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000535/0.0992, allocations: 305.3 kB / 478.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.375e-06/0.09921, allocations: 0 / 478.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.003112/0.1023, allocations: 1.164 MB / 479.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1024, allocations: 59.84 kB / 479.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1026, allocations: 198.4 kB / 479.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.1027, allocations: 37.7 kB / 479.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1028, allocations: 141.1 kB / 480 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1029, allocations: 170.5 kB / 480.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1031, allocations: 102.2 kB / 480.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1032, allocations: 338.8 kB / 480.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1035, allocations: 193.1 kB / 480.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.1039, allocations: 262.3 kB / 481 MB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/0.1084, allocations: 1.258 MB / 482.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1084, allocations: 0 / 482.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001728/0.1101, allocations: 0.7882 MB / 483.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1102, allocations: 8 kB / 483.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1102, allocations: 0 / 483.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.1115, allocations: 315.6 kB / 483.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.1118, allocations: 75.83 kB / 483.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004554/0.1164, allocations: 2.961 MB / 486.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.1167, allocations: 39.73 kB / 486.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.1168, allocations: 19.98 kB / 486.5 MB, free: 13.8 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: myFailure.seed:DISCRETE(fixed = true protected = true ) type: Integer myFailure.componentIsWorking:DISCRETE(start = true fixed = true ) type: Boolean myFailure.F:VARIABLE(start = 0.0 fixed = true ) "cumulative distribution function" type: Real 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,myFailure.r,myFailure.componentIsWorking,myFailure.y,n.y,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.117, allocations: 170.2 kB / 486.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.1172, allocations: 35.75 kB / 486.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.119, allocations: 0.7922 MB / 487.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.119, allocations: 3.984 kB / 487.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.119, allocations: 4 kB / 487.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1191, allocations: 116.7 kB / 487.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.1192, allocations: 12 kB / 487.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.1194, allocations: 23.97 kB / 487.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.1196, allocations: 52.48 kB / 487.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001638/0.1212, allocations: 0.7297 MB / 488.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001272/0.1225, allocations: 0.8733 MB / 489.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003084/0.1228, allocations: 208.4 kB / 489.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.123, allocations: 144.3 kB / 489.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Backend: time 5.21e-07/0.123, allocations: 3.938 kB / 489.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.125, allocations: 0.8389 MB / 490.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of SimCode: time 0.001231/0.1262, allocations: 1.153 MB / 491.6 MB, free: 8.566 MB / 366.1 MB Notification: Performance of Templates: time 0.01483/0.1411, allocations: 9.106 MB / 0.489 GB, free: 15.48 MB / 382.1 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)