Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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.PowerPlantTest2,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.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,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.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.00124/0.00124, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.515/1.515, allocations: 223.3 MB / 242.2 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1965/0.1965, allocations: 38.1 MB / 331.5 MB, free: 8.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004056, allocations: 12 kB / 401.4 MB, free: 34.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1188, allocations: 59.17 MB / 460.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.006974/0.1258, allocations: 5.421 MB / 466 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.1306, allocations: 2.323 MB / 468.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007529/0.1314, allocations: 35.81 kB / 468.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.1319, allocations: 103.2 kB / 468.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008811/0.1328, allocations: 306.5 kB / 468.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.134, allocations: 478.6 kB / 469.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.1354, allocations: 1.131 MB / 470.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.1366, allocations: 0.7082 MB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.1372, allocations: 302.4 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.1376, allocations: 338.2 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.1377, allocations: 24 kB / 471.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000648/0.1384, allocations: 371.2 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.1386, allocations: 155.3 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.1391, allocations: 339.6 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009391/0.14, allocations: 0.8143 MB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.14, allocations: 0 / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1401, allocations: 0 / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.1401, allocations: 0 / 473.3 MB, free: 10.12 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002396/0.1425, allocations: 1.001 MB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1425, allocations: 12.03 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008936/0.1434, allocations: 163.7 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.1447, allocations: 0.5851 MB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.1448, allocations: 49.67 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.1449, allocations: 64.28 kB / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.147, allocations: 0.7837 MB / 476 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.147, allocations: 8 kB / 476 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/0.1472, allocations: 31.97 kB / 476 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.536e-05/0.1472, allocations: 25.31 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.149, allocations: 0.6843 MB / 476.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005202/0.1542, allocations: 2.942 MB / 479.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.1559, allocations: 0.7732 MB / 480.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.1565, allocations: 267 kB / 480.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.1566, allocations: 12.47 kB / 480.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1566, allocations: 42.94 kB / 480.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.896e-06/0.1566, allocations: 0 / 480.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.002039/0.1587, allocations: 0.8028 MB / 481.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.1588, allocations: 107.2 kB / 481.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.1599, allocations: 0.579 MB / 482.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.905e-05/0.16, allocations: 33.7 kB / 482.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.1603, allocations: 360.4 kB / 482.6 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.1605, allocations: 177.5 kB / 482.8 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.1606, allocations: 53.69 kB / 482.9 MB, free: 244 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.1608, allocations: 382.7 kB / 483.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.1614, allocations: 241.2 kB / 483.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/0.1622, allocations: 373.5 kB / 483.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.1634, allocations: 0.6095 MB / 484.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1634, allocations: 0 / 484.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002106/0.1656, allocations: 0.885 MB / 485.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.1658, allocations: 196.5 kB / 485.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1658, allocations: 4 kB / 485.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/0.1662, allocations: 112.8 kB / 485.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.1669, allocations: 151.8 kB / 485.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.1701, allocations: 2.257 MB / 488 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.1707, allocations: 91.38 kB / 488.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.1707, allocations: 24 kB / 488.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.1708, allocations: 4 kB / 488.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/0.1723, allocations: 0.67 MB / 488.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1723, allocations: 4 kB / 488.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.1726, allocations: 96.8 kB / 488.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.1732, allocations: 147.8 kB / 489.1 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.1755, allocations: 2.031 MB / 491.1 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.1761, allocations: 79.41 kB / 491.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.1762, allocations: 24 kB / 491.2 MB, free: 7.441 MB / 366.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.0006409/0.1768, allocations: 312.9 kB / 491.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.177, allocations: 67.16 kB / 491.6 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.1785, allocations: 0.624 MB / 492.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.1785, allocations: 4 kB / 492.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1785, allocations: 4 kB / 492.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1785, allocations: 3.984 kB / 492.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.181, allocations: 1.396 MB / 493.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.181, allocations: 4.188 kB / 493.6 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.1816, allocations: 115.9 kB / 493.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/0.1816, allocations: 15.92 kB / 493.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.1817, allocations: 12 kB / 493.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.1817, allocations: 4 kB / 493.7 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1817, allocations: 3.938 kB / 493.8 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.1837, allocations: 1.003 MB / 494.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.184, allocations: 188.1 kB / 494.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.1841, allocations: 15.98 kB / 495 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.1845, allocations: 51.95 kB / 495 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1846, allocations: 36.33 kB / 495 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.1847, allocations: 19.98 kB / 495.1 MB, free: 3.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006758/0.1854, allocations: 419 kB / 495.5 MB, free: 3.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1854, allocations: 0 / 495.5 MB, free: 3.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001078/0.1865, allocations: 263.3 kB / 495.7 MB, free: 2.801 MB / 366.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.0001821/0.1867, allocations: 119.2 kB / 495.8 MB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.1892, allocations: 1.183 MB / 497 MB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1892, allocations: 0 / 497 MB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.1898, allocations: 290.5 kB / 497.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.1907, allocations: 130 kB / 497.4 MB, free: 1.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.194, allocations: 1.945 MB / 499.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.1946, allocations: 0.946 MB / 0.4886 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.1948, allocations: 47.42 kB / 0.4886 GB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1948, allocations: 4 kB / 0.4886 GB, free: 14.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01512/0.21, allocations: 9.832 MB / 0.4983 GB, free: 4.242 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2CalcHelperMain.o] Error 1