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.001083/0.001083, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.001047/0.001047, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1678/0.1678, allocations: 38.04 MB / 329.9 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 56.58 kB / 398.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1048, allocations: 58.05 MB / 456.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.007169/0.112, allocations: 5.855 MB / 462.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003643/0.1157, allocations: 2.37 MB / 465 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.1162, allocations: 35.81 kB / 465 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009252/0.1171, allocations: 232.3 kB / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.1178, allocations: 302.5 kB / 465.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009777/0.1188, allocations: 462.1 kB / 466 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.1198, allocations: 1.139 MB / 467.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007927/0.1206, allocations: 0.5087 MB / 467.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/0.121, allocations: 342.4 kB / 468 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.1215, allocations: 394 kB / 468.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/0.1216, allocations: 40 kB / 468.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005701/0.1221, allocations: 383.1 kB / 468.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.1223, allocations: 179.3 kB / 469 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.1226, allocations: 361.8 kB / 469.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.1234, allocations: 0.8186 MB / 470.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1234, allocations: 0 / 470.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1234, allocations: 0 / 470.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1234, allocations: 0 / 470.1 MB, free: 11.08 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.002051/0.1255, allocations: 1.137 MB / 471.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1255, allocations: 12.03 kB / 471.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000803/0.1263, allocations: 159.8 kB / 471.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.1272, allocations: 0.5928 MB / 472 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.1273, allocations: 49.67 kB / 472.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1274, allocations: 60.38 kB / 472.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.1287, allocations: 0.7681 MB / 472.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1287, allocations: 4 kB / 472.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.1288, allocations: 27.98 kB / 473 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.1289, allocations: 29.3 kB / 473 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.1301, allocations: 0.6531 MB / 473.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.134, allocations: 2.93 MB / 476.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.1355, allocations: 0.7485 MB / 477.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.136, allocations: 247 kB / 477.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.136, allocations: 16.31 kB / 477.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1361, allocations: 43 kB / 477.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.314e-06/0.1361, allocations: 4 kB / 477.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.001656/0.1378, allocations: 0.7482 MB / 478.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.1378, allocations: 107.2 kB / 478.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007694/0.1386, allocations: 0.5828 MB / 479 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.1387, allocations: 33.7 kB / 479.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.1389, allocations: 352.5 kB / 479.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.1391, allocations: 177.4 kB / 479.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.1393, allocations: 106.4 kB / 479.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1395, allocations: 382.8 kB / 480.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.14, allocations: 223.4 kB / 480.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.1405, allocations: 361.5 kB / 480.6 MB, free: 164 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.1416, allocations: 0.5861 MB / 481.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1416, allocations: 0 / 481.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00174/0.1434, allocations: 0.8225 MB / 482.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1434, allocations: 4.406 kB / 482.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1434, allocations: 8 kB / 482.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.1438, allocations: 112.8 kB / 482.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.1444, allocations: 139.8 kB / 482.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.1472, allocations: 2.206 MB / 484.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.1477, allocations: 91.45 kB / 484.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.1477, allocations: 23.98 kB / 484.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007001/0.1484, allocations: 385.3 kB / 485 MB, free: 11.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005036/0.149, allocations: 337.7 kB / 485.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009559/0.1499, allocations: 0.5704 MB / 485.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.1499, allocations: 0 / 485.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001485/0.1514, allocations: 0.7294 MB / 486.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1515, allocations: 16.08 kB / 486.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1515, allocations: 4 kB / 486.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.1517, allocations: 96.84 kB / 486.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.1523, allocations: 135.8 kB / 486.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.1543, allocations: 2.03 MB / 488.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.1548, allocations: 71.55 kB / 489 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.1548, allocations: 20 kB / 489 MB, free: 7.348 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.000231/0.1551, allocations: 216 kB / 489.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1552, allocations: 63.25 kB / 489.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.1565, allocations: 0.6005 MB / 489.9 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1565, allocations: 8 kB / 489.9 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1565, allocations: 4 kB / 489.9 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1565, allocations: 3.984 kB / 489.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.1585, allocations: 1.357 MB / 491.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1586, allocations: 4 kB / 491.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.1591, allocations: 111.9 kB / 491.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1592, allocations: 112 / 491.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.1592, allocations: 19.92 kB / 491.4 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1592, allocations: 4 kB / 491.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1592, allocations: 3.938 kB / 491.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.1609, allocations: 0.952 MB / 492.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.1611, allocations: 192.2 kB / 492.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.1611, allocations: 16 kB / 492.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.1615, allocations: 43.95 kB / 492.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1617, allocations: 44.31 kB / 492.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.1617, allocations: 12 kB / 492.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005897/0.1623, allocations: 419 kB / 493.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1623, allocations: 0 / 493.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009941/0.1633, allocations: 275.1 kB / 493.3 MB, free: 2.926 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.0001966/0.1635, allocations: 119.5 kB / 493.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.1658, allocations: 1.128 MB / 494.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1658, allocations: 4.125 kB / 494.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.1664, allocations: 278.2 kB / 494.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.1672, allocations: 137.9 kB / 495 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.1701, allocations: 1.851 MB / 496.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.1706, allocations: 0.9499 MB / 497.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.1708, allocations: 47.42 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1708, allocations: 0 / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of Templates: time 0.0132/0.184, allocations: 9.919 MB / 0.4958 GB, free: 4.422 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