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.0007973/0.0007973, allocations: 97.97 kB / 16.96 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.000834/0.000834, allocations: 179.3 kB / 17.84 MB, free: 5.969 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.302/1.302, allocations: 223.2 MB / 241.8 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1735/0.1735, allocations: 38.09 MB / 331 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 11.98 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 59.17 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.006216/0.1192, allocations: 5.133 MB / 465 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.1232, allocations: 2.223 MB / 467.2 MB, free: 44 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006468/0.1239, allocations: 35.75 kB / 467.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.1244, allocations: 111.2 kB / 467.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008006/0.1252, allocations: 294.2 kB / 467.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1263, allocations: 370.4 kB / 468 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1273, allocations: 0.9989 MB / 469 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009615/0.1283, allocations: 0.6082 MB / 469.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.1287, allocations: 310.5 kB / 469.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.1291, allocations: 326.4 kB / 470.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.1292, allocations: 24 kB / 470.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.1295, allocations: 163.6 kB / 470.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.1297, allocations: 143.4 kB / 470.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1298, allocations: 153.3 kB / 470.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.1305, allocations: 0.7987 MB / 471.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1306, allocations: 4 kB / 471.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1306, allocations: 0 / 471.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1306, allocations: 0 / 471.5 MB, free: 11.68 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.001742/0.1323, allocations: 1.009 MB / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1324, allocations: 8.031 kB / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008047/0.1332, allocations: 166.8 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.134, allocations: 0.5686 MB / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.1341, allocations: 45.31 kB / 473.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1342, allocations: 63.95 kB / 473.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1355, allocations: 0.7795 MB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1355, allocations: 7.938 kB / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.1355, allocations: 20 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/0.1356, allocations: 37.3 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1368, allocations: 0.6765 MB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.1407, allocations: 2.95 MB / 477.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.1423, allocations: 0.7657 MB / 478.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.1428, allocations: 259 kB / 478.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.1429, allocations: 12.42 kB / 478.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.1429, allocations: 39 kB / 478.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 4.739e-06/0.1429, allocations: 96 / 478.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.001786/0.1447, allocations: 0.7913 MB / 479.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.1448, allocations: 119.1 kB / 479.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/0.1456, allocations: 0.575 MB / 480.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.1457, allocations: 37.7 kB / 480.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.146, allocations: 356.4 kB / 480.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.1461, allocations: 181.4 kB / 481 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.1462, allocations: 12 kB / 481 MB, free: 1.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1463, allocations: 378.8 kB / 481.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.1468, allocations: 237.2 kB / 481.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.1474, allocations: 365.6 kB / 481.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.1479, allocations: 282.1 kB / 482.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1479, allocations: 0 / 482.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001698/0.1496, allocations: 0.8618 MB / 483.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.1497, allocations: 192.5 kB / 483.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1498, allocations: 7.938 kB / 483.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.1502, allocations: 144.7 kB / 483.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.1508, allocations: 143.8 kB / 483.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.1534, allocations: 2.249 MB / 485.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.1538, allocations: 103.4 kB / 485.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.1539, allocations: 20 kB / 485.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.1539, allocations: 4 kB / 485.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001253/0.1552, allocations: 0.6735 MB / 486.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1552, allocations: 4 kB / 486.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.1554, allocations: 101.2 kB / 486.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.156, allocations: 139.8 kB / 486.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.1579, allocations: 2.022 MB / 488.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.1583, allocations: 87.56 kB / 488.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1583, allocations: 23.94 kB / 489 MB, free: 9.48 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 (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.0003684/0.1587, allocations: 300.9 kB / 489.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1588, allocations: 71.19 kB / 489.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.1601, allocations: 0.6239 MB / 490 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1601, allocations: 4 kB / 490 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.1601, allocations: 192 / 490 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.1601, allocations: 7.984 kB / 490 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.1621, allocations: 1.392 MB / 491.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1622, allocations: 0 / 491.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.1627, allocations: 123.9 kB / 491.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1627, allocations: 0 / 491.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.1628, allocations: 15.94 kB / 491.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.1628, allocations: 8 kB / 491.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1628, allocations: 0 / 491.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1644, allocations: 1.003 MB / 492.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.1646, allocations: 196.1 kB / 492.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.1647, allocations: 16 kB / 492.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.1651, allocations: 43.95 kB / 492.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.1652, allocations: 40.38 kB / 492.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.1652, allocations: 12.09 kB / 492.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005454/0.1658, allocations: 427 kB / 493.2 MB, free: 5.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1658, allocations: 0 / 493.2 MB, free: 5.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008401/0.1666, allocations: 263.3 kB / 493.5 MB, free: 4.855 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 (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.0001358/0.1668, allocations: 107.2 kB / 493.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.1687, allocations: 1.175 MB / 494.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1688, allocations: 4.062 kB / 494.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.1693, allocations: 286.3 kB / 495 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.17, allocations: 148.7 kB / 495.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.1727, allocations: 1.852 MB / 497 MB, free: 1.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.1732, allocations: 0.9498 MB / 498 MB, free: 256 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.1734, allocations: 47.44 kB / 498 MB, free: 208 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1734, allocations: 0 / 498 MB, free: 208 kB / 366.1 MB Notification: Performance of Templates: time 0.01258/0.186, allocations: 9.832 MB / 0.496 GB, free: 6.383 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++ 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.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