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/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 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.0007739/0.0007739, allocations: 96.73 kB / 16.38 MB, free: 5.727 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.0008384/0.0008384, allocations: 193.3 kB / 17.28 MB, free: 5.543 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.565/1.565, allocations: 223.3 MB / 241.3 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05997/0.05997, allocations: 8.093 MB / 300.5 MB, free: 6.801 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004656, allocations: 8 kB / 363.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3191, allocations: 52.51 MB / 416 MB, free: 24.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized): time 0.002388/0.3216, allocations: 2.422 MB / 418.4 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3232, allocations: 1.032 MB / 419.5 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3233, allocations: 4 kB / 419.5 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.3236, allocations: 99.52 kB / 419.6 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.3238, allocations: 123.3 kB / 419.7 MB, free: 21.29 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001388/0.3252, allocations: 0.8137 MB / 420.5 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.3255, allocations: 302.5 kB / 420.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.3257, allocations: 97.69 kB / 420.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.3258, allocations: 123.5 kB / 421 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.3261, allocations: 179.3 kB / 421.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.3261, allocations: 16 kB / 421.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.3265, allocations: 275.6 kB / 421.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.3266, allocations: 55.7 kB / 421.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.3267, allocations: 77.58 kB / 421.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.3271, allocations: 393 kB / 422 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3271, allocations: 4 kB / 422 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3271, allocations: 0 / 422 MB, free: 18.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.3271, allocations: 0 / 422 MB, free: 18.98 MB / 302.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.001941/0.329, allocations: 0.7852 MB / 422.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.3291, allocations: 12.02 kB / 422.8 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.3292, allocations: 43.58 kB / 422.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.3296, allocations: 266.6 kB / 423.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.3298, allocations: 80.06 kB / 423.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.3299, allocations: 28 kB / 423.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/0.3305, allocations: 390 kB / 423.6 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.3305, allocations: 0 / 423.6 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.3306, allocations: 16 kB / 423.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.3306, allocations: 15.94 kB / 423.6 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.3312, allocations: 366.3 kB / 424 MB, free: 16.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.3331, allocations: 1.363 MB / 425.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.3342, allocations: 0.5432 MB / 425.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.3345, allocations: 230.1 kB / 426.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.697e-05/0.3346, allocations: 16.42 kB / 426.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.3352, allocations: 309.3 kB / 426.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.875e-06/0.3352, allocations: 0 / 426.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.002734/0.338, allocations: 1.141 MB / 427.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.338, allocations: 59.84 kB / 427.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.3382, allocations: 209.9 kB / 427.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.3382, allocations: 37.7 kB / 427.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.3383, allocations: 144.9 kB / 428 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3384, allocations: 173.6 kB / 428.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3385, allocations: 11.94 kB / 428.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.3386, allocations: 346.8 kB / 428.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.3388, allocations: 193 kB / 428.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.3391, allocations: 254.4 kB / 428.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.3395, allocations: 215.8 kB / 429.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3395, allocations: 4 kB / 429.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001377/0.3409, allocations: 0.7764 MB / 429.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3409, allocations: 4 kB / 429.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3409, allocations: 4 kB / 429.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.342, allocations: 308.5 kB / 430.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.3423, allocations: 71.89 kB / 430.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.3455, allocations: 2.735 MB / 433 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.3458, allocations: 35.66 kB / 433.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.3459, allocations: 23.98 kB / 433.1 MB, free: 7.367 MB / 302.1 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,n.y,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 (50): * Single equations (assignments): 49 * 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.0002326/0.3461, allocations: 166.6 kB / 433.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.3462, allocations: 27.72 kB / 433.3 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.3477, allocations: 0.7997 MB / 434.1 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3477, allocations: 8 kB / 434.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3478, allocations: 0 / 434.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3478, allocations: 7.922 kB / 434.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.3496, allocations: 1.362 MB / 435.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3496, allocations: 8 kB / 435.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.3499, allocations: 55.91 kB / 435.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009516/0.3508, allocations: 304.5 kB / 435.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3509, allocations: 12 kB / 435.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/0.3539, allocations: 2.672 MB / 438.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3539, allocations: 0 / 438.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.3556, allocations: 1.108 MB / 439.6 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.3557, allocations: 124.6 kB / 439.7 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3557, allocations: 12 kB / 439.8 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.356, allocations: 22.33 kB / 439.8 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3561, allocations: 44.5 kB / 439.8 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.3562, allocations: 24.05 kB / 439.8 MB, free: 388 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3563, allocations: 147.2 kB / 440 MB, free: 240 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3563, allocations: 0 / 440 MB, free: 240 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.3569, allocations: 160 kB / 440.1 MB, free: 80 kB / 302.1 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 (n.y,$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.0005177/0.3574, allocations: 214.3 kB / 440.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.359, allocations: 0.7716 MB / 441.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.359, allocations: 3.938 kB / 441.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.36, allocations: 0.5177 MB / 441.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3604, allocations: 36.17 kB / 441.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3616, allocations: 0.8009 MB / 442.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.362, allocations: 0.7903 MB / 443.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.3621, allocations: 35.42 kB / 443.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3622, allocations: 0 / 443.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of Templates: time 0.01047/0.3726, allocations: 6.895 MB / 450.2 MB, free: 5.965 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalizedCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalizedCalcHelperMain.o] Error 1