Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-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(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.throttling.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.throttling.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009925, allocations: 90.56 kB / 16.95 MB, free: 5.66 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.001188/0.001188, allocations: 183.2 kB / 17.85 MB, free: 5.312 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.346/1.346, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1708/0.1708, allocations: 38.1 MB / 331.1 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003392, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 59.16 MB / 459.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.00717/0.13, allocations: 5.742 MB / 465.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.135, allocations: 2.732 MB / 468.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008017/0.1359, allocations: 39.75 kB / 468.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.1364, allocations: 119 kB / 468.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.1375, allocations: 389.9 kB / 468.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1388, allocations: 422.2 kB / 469.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.14, allocations: 1.186 MB / 470.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.1412, allocations: 0.7174 MB / 471.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/0.1418, allocations: 346.3 kB / 471.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.1423, allocations: 398.1 kB / 471.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.1424, allocations: 32 kB / 471.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.143, allocations: 263.3 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.1433, allocations: 195.3 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1435, allocations: 161.3 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009446/0.1444, allocations: 0.9001 MB / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1445, allocations: 0 / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1445, allocations: 7.984 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1445, allocations: 0 / 473.5 MB, free: 9.738 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002652/0.1471, allocations: 1.068 MB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1472, allocations: 15.95 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.1485, allocations: 206.6 kB / 474.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1496, allocations: 0.5843 MB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.1497, allocations: 57.25 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.1498, allocations: 64 kB / 475.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.1515, allocations: 0.8935 MB / 476.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.1515, allocations: 4 kB / 476.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.1516, allocations: 24 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.1517, allocations: 37.3 kB / 476.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.1531, allocations: 0.8013 MB / 477.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/0.1581, allocations: 3.28 MB / 480.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.16, allocations: 0.9921 MB / 481.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.1606, allocations: 315.3 kB / 481.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.094e-05/0.1607, allocations: 16.47 kB / 481.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1607, allocations: 43.12 kB / 481.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 2.835e-06/0.1607, allocations: 0 / 481.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.005754/0.1665, allocations: 2.611 MB / 484.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.1666, allocations: 111.3 kB / 484.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008525/0.1675, allocations: 0.5822 MB / 485.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.1675, allocations: 41.7 kB / 485.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.1679, allocations: 356.3 kB / 485.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.1681, allocations: 224.8 kB / 485.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1681, allocations: 16 kB / 485.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1683, allocations: 374.8 kB / 486.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.1688, allocations: 277.8 kB / 486.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.1695, allocations: 429.8 kB / 486.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.1702, allocations: 322.1 kB / 487.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1702, allocations: 0 / 487.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00153/0.1717, allocations: 0.8539 MB / 488 MB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.1719, allocations: 209.4 kB / 488.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1719, allocations: 4 kB / 488.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.1722, allocations: 64.81 kB / 488.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.1729, allocations: 179.8 kB / 488.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.1745, allocations: 1.629 MB / 490.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.175, allocations: 59.91 kB / 490.1 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.1751, allocations: 24 kB / 490.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.1751, allocations: 8 kB / 490.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/0.1765, allocations: 0.7286 MB / 490.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1766, allocations: 8.094 kB / 490.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.1767, allocations: 64.75 kB / 491 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.1774, allocations: 171.8 kB / 491.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.1789, allocations: 1.624 MB / 492.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.1794, allocations: 51.95 kB / 492.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.1794, allocations: 28 kB / 492.8 MB, free: 5.457 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004005/0.1799, allocations: 332.8 kB / 493.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.18, allocations: 75.06 kB / 493.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.1815, allocations: 0.7919 MB / 494 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1815, allocations: 8 kB / 494 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1815, allocations: 0 / 494 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1815, allocations: 7.984 kB / 494 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.1853, allocations: 2.189 MB / 496.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.1854, allocations: 7.953 kB / 496.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.1859, allocations: 148.4 kB / 496.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/0.1861, allocations: 56.81 kB / 496.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.1862, allocations: 20 kB / 496.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.1875, allocations: 1.58 MB / 498 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.1875, allocations: 7.938 kB / 498 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.1897, allocations: 1.361 MB / 499.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.19, allocations: 196.2 kB / 499.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.1901, allocations: 23.98 kB / 499.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.1905, allocations: 55.95 kB / 499.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.1906, allocations: 75.7 kB / 499.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.1907, allocations: 24 kB / 499.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005742/0.1913, allocations: 419 kB / 0.4885 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1913, allocations: 0 / 0.4885 GB, free: 13.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001051/0.1923, allocations: 252 kB / 0.4887 GB, free: 13.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.1925, allocations: 123.9 kB / 0.4888 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.1947, allocations: 1.293 MB / 0.4901 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1947, allocations: 0.75 kB / 0.4901 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007951/0.1955, allocations: 499.7 kB / 0.4906 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.1964, allocations: 161.2 kB / 0.4907 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.1991, allocations: 2.049 MB / 0.4927 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.1997, allocations: 0.9822 MB / 0.4937 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.1999, allocations: 63.42 kB / 0.4937 GB, free: 8.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1999, allocations: 0 / 0.4937 GB, free: 8.109 MB / 382.1 MB Notification: Performance of Templates: time 0.2242/0.4242, allocations: 12.38 MB / 0.5058 GB, free: 54.41 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3CalcHelperMain.o] Error 1