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.001157/0.001157, allocations: 97.83 kB / 17.12 MB, free: 5.922 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.001363/0.001363, allocations: 194.1 kB / 18.06 MB, free: 5.004 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.306/1.306, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04498/0.04498, allocations: 8.102 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 75.88 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08861, allocations: 51.51 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized): time 0.003982/0.09263, allocations: 2.867 MB / 469.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.09471, allocations: 1.129 MB / 470.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.09492, allocations: 8 kB / 470.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.09534, allocations: 139.2 kB / 470.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.0958, allocations: 147 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.002055/0.09787, allocations: 1.019 MB / 472 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.09832, allocations: 330.5 kB / 472.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.09856, allocations: 130.9 kB / 472.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.09874, allocations: 143.5 kB / 472.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.09905, allocations: 211.2 kB / 472.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.09912, allocations: 28 kB / 472.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/0.09969, allocations: 307.7 kB / 473.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.09977, allocations: 71.75 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.09995, allocations: 163.1 kB / 473.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000743/0.1007, allocations: 0.5453 MB / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1007, allocations: 0 / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1007, allocations: 0 / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1007, allocations: 4 kB / 473.9 MB, free: 10.91 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.002304/0.1031, allocations: 0.8361 MB / 474.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1031, allocations: 8.031 kB / 474.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1032, allocations: 40.47 kB / 474.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.1035, allocations: 271.8 kB / 475 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.1036, allocations: 80.62 kB / 475.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.1037, allocations: 36.36 kB / 475.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/0.1043, allocations: 378.6 kB / 475.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1044, allocations: 7.938 kB / 475.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.1044, allocations: 12 kB / 475.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1044, allocations: 11.94 kB / 475.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005643/0.105, allocations: 366.4 kB / 475.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.1068, allocations: 1.359 MB / 477.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.1079, allocations: 0.5469 MB / 477.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.1083, allocations: 230.1 kB / 478 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.462e-05/0.1084, allocations: 16.36 kB / 478.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.1089, allocations: 325.2 kB / 478.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.384e-06/0.1089, allocations: 0 / 478.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.003339/0.1123, allocations: 1.156 MB / 479.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1123, allocations: 55.84 kB / 479.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.1126, allocations: 202.3 kB / 479.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.1126, allocations: 37.7 kB / 479.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.1127, allocations: 144.8 kB / 480 MB, free: 4.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1128, allocations: 165.6 kB / 480.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.113, allocations: 94.23 kB / 480.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1131, allocations: 342.8 kB / 480.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.1135, allocations: 197 kB / 480.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.1139, allocations: 254.4 kB / 481 MB, free: 3.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/0.1184, allocations: 1.258 MB / 482.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1184, allocations: 3.984 kB / 482.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00173/0.1201, allocations: 0.7842 MB / 483 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1201, allocations: 7.984 kB / 483.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.1202, allocations: 4 kB / 483.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.1214, allocations: 304.5 kB / 483.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.1217, allocations: 75.89 kB / 483.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.1259, allocations: 2.965 MB / 486.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.1262, allocations: 31.75 kB / 486.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.1262, allocations: 23.98 kB / 486.4 MB, free: 13.84 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.0002259/0.1265, allocations: 174.3 kB / 486.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.1265, allocations: 31.56 kB / 486.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.1284, allocations: 0.7959 MB / 487.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1284, allocations: 3.984 kB / 487.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1284, allocations: 0 / 487.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.1285, allocations: 108.7 kB / 487.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.1286, allocations: 15.94 kB / 487.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.1288, allocations: 23.98 kB / 487.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.129, allocations: 56.47 kB / 487.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001593/0.1306, allocations: 0.7181 MB / 488.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001169/0.1317, allocations: 0.88 MB / 489.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003174/0.1321, allocations: 212.3 kB / 489.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.1323, allocations: 152.3 kB / 489.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of Backend: time 5.41e-07/0.1323, allocations: 0 / 489.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.1343, allocations: 0.8324 MB / 490.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of SimCode: time 0.001135/0.1354, allocations: 1.123 MB / 491.6 MB, free: 8.633 MB / 366.1 MB Notification: Performance of Templates: time 0.01496/0.1504, allocations: 9.118 MB / 0.4889 GB, free: 15.54 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)