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.0008273/0.0008271, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.0008924/0.0008926, allocations: 175.3 kB / 18.21 MB, free: 5.68 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.83/1.83, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1808/0.1808, allocations: 38.05 MB / 310.7 MB, free: 5.922 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.000498/0.000498, allocations: 16 kB / 377.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.297, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.005281/0.3023, allocations: 5.433 MB / 439.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.3062, allocations: 2.39 MB / 442 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.3068, allocations: 39.75 kB / 442 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.3073, allocations: 95.16 kB / 442.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.3081, allocations: 302.5 kB / 442.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.3091, allocations: 474.4 kB / 442.8 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008367/0.3099, allocations: 1.143 MB / 444 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008761/0.3108, allocations: 0.716 MB / 444.7 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.3112, allocations: 298.4 kB / 445 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.3115, allocations: 334.2 kB / 445.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.3116, allocations: 27.98 kB / 445.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.3121, allocations: 371.2 kB / 445.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3122, allocations: 159.3 kB / 445.9 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.3124, allocations: 351.5 kB / 446.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.3131, allocations: 0.8027 MB / 447 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3131, allocations: 0 / 447 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3131, allocations: 0 / 447 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3131, allocations: 0 / 447 MB, free: 5.727 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.001798/0.3149, allocations: 1.017 MB / 448 MB, free: 4.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3149, allocations: 8.031 kB / 448 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/0.3158, allocations: 171.7 kB / 448.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/0.3166, allocations: 0.5774 MB / 448.8 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.3167, allocations: 53.67 kB / 448.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.3168, allocations: 68.27 kB / 448.9 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.318, allocations: 0.7876 MB / 449.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.318, allocations: 7.984 kB / 449.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.3181, allocations: 20 kB / 449.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.3181, allocations: 33.31 kB / 449.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3194, allocations: 0.6882 MB / 450.4 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.323, allocations: 2.938 MB / 453.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.3247, allocations: 0.7811 MB / 454.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.3253, allocations: 263 kB / 454.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/0.3253, allocations: 16.45 kB / 454.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.3255, allocations: 38.94 kB / 454.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.795e-06/0.3255, allocations: 0 / 454.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001875/0.3274, allocations: 0.8028 MB / 455.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.3275, allocations: 107.2 kB / 455.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.3283, allocations: 0.5862 MB / 456 MB, free: 12.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.3284, allocations: 37.7 kB / 456 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.3287, allocations: 349.1 kB / 456.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.3289, allocations: 177.4 kB / 456.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.329, allocations: 61.62 kB / 456.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002412/0.3292, allocations: 382.8 kB / 456.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.3298, allocations: 233.2 kB / 457.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.3305, allocations: 381.4 kB / 457.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.3317, allocations: 0.6212 MB / 458.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3317, allocations: 0 / 458.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001908/0.3336, allocations: 0.8656 MB / 459 MB, free: 9.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.3338, allocations: 196.5 kB / 459.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3338, allocations: 4 kB / 459.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.3343, allocations: 116.8 kB / 459.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.3349, allocations: 147.8 kB / 459.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.3381, allocations: 2.257 MB / 461.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.3387, allocations: 95.42 kB / 461.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3387, allocations: 32 kB / 461.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.3388, allocations: 4 kB / 461.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/0.3402, allocations: 0.6696 MB / 462.5 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3402, allocations: 4 kB / 462.5 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.3405, allocations: 100.5 kB / 462.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.3411, allocations: 148.2 kB / 462.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.3431, allocations: 2.026 MB / 464.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.3436, allocations: 79.5 kB / 464.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.3436, allocations: 27.98 kB / 464.9 MB, free: 3.008 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 (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 {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004409/0.3441, allocations: 308.9 kB / 465.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3442, allocations: 67.16 kB / 465.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.3456, allocations: 0.628 MB / 465.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3456, allocations: 4 kB / 465.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3456, allocations: 4 kB / 465.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3457, allocations: 3.984 kB / 465.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.3479, allocations: 1.392 MB / 467.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3479, allocations: 0 / 467.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.3485, allocations: 123.9 kB / 467.4 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.3485, allocations: 4 kB / 467.4 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.3486, allocations: 12 kB / 467.5 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3486, allocations: 4 kB / 467.5 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3486, allocations: 3.938 kB / 467.5 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.3505, allocations: 1.007 MB / 468.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.3507, allocations: 196.1 kB / 468.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.3508, allocations: 12 kB / 468.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.3513, allocations: 55.95 kB / 468.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3514, allocations: 44.31 kB / 468.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.3514, allocations: 12 kB / 468.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006572/0.3521, allocations: 423 kB / 469.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3521, allocations: 8 kB / 469.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001009/0.3531, allocations: 263.2 kB / 469.5 MB, free: 14.35 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.3533, allocations: 115.3 kB / 469.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.3557, allocations: 1.183 MB / 470.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3558, allocations: 0 / 470.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006124/0.3564, allocations: 286.5 kB / 471 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.3574, allocations: 139.4 kB / 471.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.3606, allocations: 1.937 MB / 473.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.3612, allocations: 0.9538 MB / 474.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3614, allocations: 43.44 kB / 474.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3614, allocations: 3.938 kB / 474.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of Templates: time 0.01427/0.3757, allocations: 9.883 MB / 484 MB, free: 15.73 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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