Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008637/0.000864, allocations: 91.98 kB / 16.95 MB, free: 6.41 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.0009057/0.000906, allocations: 183.7 kB / 17.84 MB, free: 5.969 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.713/1.713, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1915/0.1915, allocations: 38.05 MB / 310.3 MB, free: 6.031 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.0005434/0.0005435, allocations: 20 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3005, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005235/0.3058, allocations: 5.121 MB / 438.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.3095, allocations: 2.274 MB / 440.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/0.3106, allocations: 31.81 kB / 440.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007255/0.3113, allocations: 119 kB / 441 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.3125, allocations: 282.4 kB / 441.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3139, allocations: 369.3 kB / 441.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.3151, allocations: 0.9911 MB / 442.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3163, allocations: 0.6221 MB / 443.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.3169, allocations: 294.6 kB / 443.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.3174, allocations: 322.4 kB / 443.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.3175, allocations: 24 kB / 443.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.318, allocations: 159.6 kB / 444 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.3182, allocations: 147.3 kB / 444.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.3184, allocations: 153.3 kB / 444.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.3191, allocations: 0.791 MB / 445.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3192, allocations: 0 / 445.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3192, allocations: 0 / 445.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.94e-05/0.3192, allocations: 0 / 445.1 MB, free: 7.094 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.00194/0.3212, allocations: 0.9931 MB / 446.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3212, allocations: 12.03 kB / 446.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.3222, allocations: 166.8 kB / 446.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.323, allocations: 0.5609 MB / 446.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.3231, allocations: 49.3 kB / 446.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.3232, allocations: 67.84 kB / 447 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3243, allocations: 0.7561 MB / 447.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3243, allocations: 7.984 kB / 447.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.3243, allocations: 27.97 kB / 447.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.3244, allocations: 33.27 kB / 447.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009534/0.3253, allocations: 0.6414 MB / 448.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.3285, allocations: 2.926 MB / 451.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3297, allocations: 0.7272 MB / 452.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/0.3301, allocations: 243 kB / 452.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.3302, allocations: 12.45 kB / 452.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.3302, allocations: 43 kB / 452.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.004e-06/0.3303, allocations: 0 / 452.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001496/0.3318, allocations: 0.7254 MB / 453.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.3318, allocations: 111.2 kB / 453.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007892/0.3326, allocations: 0.5862 MB / 453.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.3327, allocations: 37.64 kB / 453.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.333, allocations: 360.4 kB / 454.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.3332, allocations: 173.5 kB / 454.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.3332, allocations: 12 kB / 454.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3334, allocations: 374.8 kB / 454.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.3338, allocations: 213 kB / 454.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.3344, allocations: 352.5 kB / 455.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.3349, allocations: 256.7 kB / 455.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3349, allocations: 0 / 455.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001645/0.3365, allocations: 0.8237 MB / 456.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.3367, allocations: 192 kB / 456.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3367, allocations: 4 kB / 456.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.3372, allocations: 132.8 kB / 456.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.3377, allocations: 139.8 kB / 456.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.3405, allocations: 2.257 MB / 459.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.3409, allocations: 91.38 kB / 459.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.341, allocations: 24 kB / 459.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.341, allocations: 4 kB / 459.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001165/0.3422, allocations: 0.624 MB / 459.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3422, allocations: 4 kB / 459.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.3425, allocations: 99.97 kB / 459.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.343, allocations: 135.8 kB / 460.1 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.345, allocations: 2.015 MB / 462.1 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.3454, allocations: 79.36 kB / 462.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.3454, allocations: 23.98 kB / 462.2 MB, free: 5.297 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 (60): * Single equations (assignments): 59 * 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.0004012/0.3458, allocations: 304.8 kB / 462.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.346, allocations: 71.22 kB / 462.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.3471, allocations: 0.5812 MB / 463.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3471, allocations: 8.188 kB / 463.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3472, allocations: 0 / 463.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.3472, allocations: 11.88 kB / 463.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3492, allocations: 1.33 MB / 464.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3492, allocations: 4 kB / 464.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.3497, allocations: 111.8 kB / 464.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3498, allocations: 4 kB / 464.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.3498, allocations: 12 kB / 464.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.3498, allocations: 11.95 kB / 464.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3498, allocations: 0 / 464.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.3514, allocations: 0.9286 MB / 465.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.3516, allocations: 196.1 kB / 465.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.3517, allocations: 12 kB / 465.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.352, allocations: 47.97 kB / 465.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3521, allocations: 40.33 kB / 465.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.3522, allocations: 12 kB / 465.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006323/0.3528, allocations: 423 kB / 466.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.3528, allocations: 112 / 466.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009286/0.3538, allocations: 263.2 kB / 466.5 MB, free: 0.8477 MB / 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 (50): * Single equations (assignments): 49 * 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.0001712/0.3539, allocations: 115.3 kB / 466.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.356, allocations: 1.103 MB / 467.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.356, allocations: 0 / 467.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.3565, allocations: 266.5 kB / 468 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007449/0.3573, allocations: 127.1 kB / 468.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.3604, allocations: 1.851 MB / 470 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.361, allocations: 0.9496 MB / 470.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.3612, allocations: 47.44 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3612, allocations: 0 / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.0136/0.3748, allocations: 9.734 MB / 480.7 MB, free: 2.57 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.o] Error 1