Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007984, allocations: 94.94 kB / 16.96 MB, free: 5.953 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.0009028/0.0009029, allocations: 184.7 kB / 17.84 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1763/0.1763, allocations: 38.05 MB / 310.3 MB, free: 6.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.0005198, allocations: 15.94 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2748, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.004622/0.2795, allocations: 5.149 MB / 438.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.2826, allocations: 2.286 MB / 440.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.2832, allocations: 31.81 kB / 440.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.2836, allocations: 115.1 kB / 441.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000645/0.2843, allocations: 278.4 kB / 441.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.2852, allocations: 372.2 kB / 441.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007327/0.286, allocations: 1.003 MB / 442.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000755/0.2867, allocations: 0.6159 MB / 443.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.287, allocations: 314.5 kB / 443.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.2873, allocations: 322.4 kB / 443.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.2874, allocations: 24 kB / 444 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.2877, allocations: 159.6 kB / 444.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2878, allocations: 151.4 kB / 444.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.2879, allocations: 153.3 kB / 444.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.2885, allocations: 0.791 MB / 445.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2885, allocations: 7.984 kB / 445.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2885, allocations: 0 / 445.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2885, allocations: 0 / 445.2 MB, free: 7.012 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001511/0.29, allocations: 1.017 MB / 446.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2901, allocations: 8.031 kB / 446.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007165/0.2908, allocations: 166.7 kB / 446.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.2915, allocations: 0.5687 MB / 447 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.2916, allocations: 45.31 kB / 447 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/0.2917, allocations: 64 kB / 447.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.2928, allocations: 0.7834 MB / 447.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2928, allocations: 4 kB / 447.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.2929, allocations: 24 kB / 447.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.2929, allocations: 37.23 kB / 447.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.294, allocations: 0.6803 MB / 448.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.2971, allocations: 2.946 MB / 451.5 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.2985, allocations: 0.7729 MB / 452.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.299, allocations: 263 kB / 452.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.299, allocations: 20.41 kB / 452.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.2991, allocations: 43.03 kB / 452.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/0.2991, allocations: 0 / 452.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.00168/0.3008, allocations: 0.7911 MB / 453.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.3009, allocations: 115.2 kB / 453.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.3017, allocations: 0.5782 MB / 454.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.3017, allocations: 37.7 kB / 454.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.3021, allocations: 357.2 kB / 454.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.3022, allocations: 181.4 kB / 454.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.3023, allocations: 12 kB / 454.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3025, allocations: 378.9 kB / 455.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.303, allocations: 233.2 kB / 455.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.3036, allocations: 373.6 kB / 455.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.3042, allocations: 274.1 kB / 455.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3042, allocations: 0 / 455.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001806/0.306, allocations: 0.8695 MB / 456.8 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.3061, allocations: 192.5 kB / 457 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3062, allocations: 4 kB / 457 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.3066, allocations: 136.8 kB / 457.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.3072, allocations: 147.8 kB / 457.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.3102, allocations: 2.245 MB / 459.5 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.3107, allocations: 99.39 kB / 459.6 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.3108, allocations: 27.98 kB / 459.6 MB, free: 7.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.3108, allocations: 4 kB / 459.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001374/0.3122, allocations: 0.6657 MB / 460.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3122, allocations: 4 kB / 460.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.3125, allocations: 105.2 kB / 460.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.313, allocations: 147.8 kB / 460.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.315, allocations: 2.01 MB / 462.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.3155, allocations: 99.33 kB / 462.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.3155, allocations: 20 kB / 462.7 MB, free: 4.793 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.316, allocations: 309.1 kB / 463 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3161, allocations: 67.16 kB / 463 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.3174, allocations: 0.6241 MB / 463.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3174, allocations: 8 kB / 463.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3174, allocations: 3.938 kB / 463.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3174, allocations: 7.938 kB / 463.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.3196, allocations: 1.384 MB / 465.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3197, allocations: 4 kB / 465.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.3202, allocations: 119.8 kB / 465.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3202, allocations: 4 kB / 465.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.3203, allocations: 15.94 kB / 465.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.3203, allocations: 4.109 kB / 465.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3203, allocations: 3.938 kB / 465.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.322, allocations: 0.995 MB / 466.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.3222, allocations: 196.1 kB / 466.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.3223, allocations: 16 kB / 466.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.3227, allocations: 51.91 kB / 466.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3228, allocations: 48.41 kB / 466.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.3228, allocations: 11.98 kB / 466.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006045/0.3234, allocations: 419 kB / 466.9 MB, free: 420 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3234, allocations: 0 / 466.9 MB, free: 420 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009416/0.3244, allocations: 279.1 kB / 467.2 MB, free: 140 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.3246, allocations: 107.2 kB / 467.3 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.3267, allocations: 1.167 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3267, allocations: 8.125 kB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.3274, allocations: 286.3 kB / 468.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.3281, allocations: 127.4 kB / 468.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.3312, allocations: 1.875 MB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.3317, allocations: 0.9499 MB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3319, allocations: 43.44 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3319, allocations: 0 / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Templates: time 0.01367/0.3456, allocations: 9.889 MB / 481.7 MB, free: 1.605 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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 OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2CalcHelperMain.o] Error 1