Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008357/0.0008355, allocations: 92.33 kB / 16.95 MB, free: 5.953 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.0008252/0.0008253, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.321/1.321, 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.1748/0.1748, allocations: 38.11 MB / 331.1 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 59.17 MB / 459.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008454/0.1261, allocations: 7.818 MB / 467.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005526/0.1317, allocations: 3.146 MB / 470.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009769/0.1327, allocations: 47.69 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.1334, allocations: 222.4 kB / 471.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.1356, allocations: 0.6999 MB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1368, allocations: 367.3 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.1391, allocations: 1.586 MB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.1407, allocations: 0.9125 MB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007886/0.1415, allocations: 462 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008488/0.1423, allocations: 0.5996 MB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/0.1424, allocations: 40 kB / 475.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007334/0.1432, allocations: 375.2 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.1435, allocations: 415 kB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.1437, allocations: 205.2 kB / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1448, allocations: 1.06 MB / 477.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1448, allocations: 0 / 477.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1449, allocations: 0 / 477.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1449, allocations: 0 / 477.8 MB, free: 5.434 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001873/0.1467, allocations: 1.11 MB / 478.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1468, allocations: 8.031 kB / 478.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.1479, allocations: 206.6 kB / 479.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1491, allocations: 0.693 MB / 479.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.1492, allocations: 58 kB / 479.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.1494, allocations: 99.97 kB / 479.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.1511, allocations: 1.092 MB / 481 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.1511, allocations: 11.84 kB / 481 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.1512, allocations: 35.98 kB / 481.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.1514, allocations: 65.97 kB / 481.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.1527, allocations: 0.8665 MB / 482 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005478/0.1582, allocations: 4.001 MB / 486 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.1589, allocations: 435.8 kB / 486.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.1593, allocations: 277.6 kB / 486.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.1593, allocations: 12.42 kB / 486.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1594, allocations: 35 kB / 486.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.016e-06/0.1594, allocations: 4 kB / 486.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.002971/0.1624, allocations: 1.717 MB / 488.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.1624, allocations: 89.48 kB / 488.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/0.1631, allocations: 0.5781 MB / 489.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.1631, allocations: 37.7 kB / 489.2 MB, free: 9.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.1634, allocations: 466.5 kB / 489.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1636, allocations: 193.3 kB / 489.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.1636, allocations: 16 kB / 489.8 MB, free: 8.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1638, allocations: 378.7 kB / 490.2 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.1642, allocations: 253.9 kB / 490.5 MB, free: 8.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.1647, allocations: 476.9 kB / 490.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.1652, allocations: 338 kB / 491.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1652, allocations: 0 / 491.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001901/0.1672, allocations: 1.107 MB / 492.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1672, allocations: 8 kB / 492.4 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00145/0.1686, allocations: 0.7959 MB / 493.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007361/0.1694, allocations: 214.4 kB / 493.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.1699, allocations: 167.7 kB / 493.5 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005863/0.1758, allocations: 5.231 MB / 498.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.1764, allocations: 35.97 kB / 498.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.1764, allocations: 35.98 kB / 498.8 MB, free: 15.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * 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 initialization (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004547/0.1769, allocations: 306.4 kB / 499.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.472e-05/0.177, allocations: 71.14 kB / 499.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009445/0.1779, allocations: 0.6127 MB / 499.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1779, allocations: 4 kB / 499.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.178, allocations: 11.95 kB / 499.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.178, allocations: 7.984 kB / 499.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.1802, allocations: 1.482 MB / 0.4896 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.1802, allocations: 3.953 kB / 0.4896 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.1808, allocations: 127.8 kB / 0.4897 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.1808, allocations: 4 kB / 0.4897 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.1808, allocations: 15.98 kB / 0.4897 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1809, allocations: 4 kB / 0.4897 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1809, allocations: 4 kB / 0.4897 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.182, allocations: 0.9237 MB / 0.4906 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.1823, allocations: 188.1 kB / 0.4908 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/0.1823, allocations: 16.27 kB / 0.4908 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.1826, allocations: 23.98 kB / 0.4908 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.1827, allocations: 32.39 kB / 0.4909 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.1827, allocations: 15.94 kB / 0.4909 GB, free: 11.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004684/0.1832, allocations: 415 kB / 0.4913 GB, free: 10.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1832, allocations: 0 / 0.4913 GB, free: 10.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008269/0.1841, allocations: 236 kB / 0.4915 GB, free: 10.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (54): * Single equations (assignments): 53 * 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.000283/0.1844, allocations: 139.2 kB / 0.4916 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.1859, allocations: 1.017 MB / 0.4926 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1859, allocations: 4 kB / 0.4926 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.1862, allocations: 259.6 kB / 0.4929 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.187, allocations: 138.3 kB / 0.493 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.1904, allocations: 2.601 MB / 0.4956 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/0.1912, allocations: 1.075 MB / 0.4966 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.1914, allocations: 67.42 kB / 0.4967 GB, free: 5.266 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1914, allocations: 0 / 0.4967 GB, free: 5.266 MB / 382.1 MB Notification: Performance of Templates: time 0.2499/0.4413, allocations: 15.13 MB / 0.5115 GB, free: 51.93 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.AC3ph.Generation.TurbineGeneratorCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorCalcHelperMain.o] Error 1