Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|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.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|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.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007744/0.0007745, allocations: 92.59 kB / 16.95 MB, free: 6.453 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.0008629/0.0008627, allocations: 179.2 kB / 17.84 MB, free: 6 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.31/1.31, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1666/0.1666, allocations: 38.1 MB / 331.1 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 59.16 MB / 459.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01029/0.1283, allocations: 10.02 MB / 469.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007435/0.1358, allocations: 3.823 MB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1369, allocations: 59.62 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008546/0.1378, allocations: 329.8 kB / 474.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.14, allocations: 0.9138 MB / 475 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1413, allocations: 467.2 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.1437, allocations: 2.178 MB / 477.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.1457, allocations: 1.319 MB / 479 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000993/0.1467, allocations: 0.6144 MB / 479.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.1479, allocations: 0.8646 MB / 480.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.148, allocations: 56 kB / 480.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008399/0.1488, allocations: 431.1 kB / 480.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005247/0.1494, allocations: 0.5844 MB / 481.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.1497, allocations: 265 kB / 481.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.1512, allocations: 1.43 MB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1513, allocations: 0 / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1513, allocations: 0 / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.1513, allocations: 4 kB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002527/0.1538, allocations: 1.399 MB / 484.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1539, allocations: 8.031 kB / 484.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.1553, allocations: 274 kB / 484.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.1569, allocations: 0.8781 MB / 485.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.157, allocations: 78.09 kB / 485.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.1573, allocations: 147.8 kB / 486 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.1597, allocations: 1.482 MB / 487.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.1598, allocations: 4 kB / 487.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.1599, allocations: 43.98 kB / 487.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/0.1602, allocations: 102.1 kB / 487.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.1622, allocations: 1.25 MB / 488.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00722/0.1694, allocations: 5.676 MB / 494.5 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.1703, allocations: 0.5859 MB / 495.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.1708, allocations: 395.3 kB / 495.5 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.1709, allocations: 20.53 kB / 495.5 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.1709, allocations: 43.12 kB / 495.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.564e-06/0.1709, allocations: 0 / 495.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.0066/0.1775, allocations: 3.634 MB / 499.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.1776, allocations: 85.77 kB / 499.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.1784, allocations: 0.7274 MB / 500 MB, free: 14.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.1785, allocations: 37.7 kB / 0.4883 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.1789, allocations: 0.588 MB / 0.4889 GB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.1791, allocations: 272.2 kB / 0.4891 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1792, allocations: 20 kB / 0.4892 GB, free: 13.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1794, allocations: 406.7 kB / 0.4896 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.1799, allocations: 389.7 kB / 0.4899 GB, free: 12.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007528/0.1807, allocations: 0.6613 MB / 0.4906 GB, free: 11.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.1814, allocations: 0.491 MB / 0.4911 GB, free: 11.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1814, allocations: 4 kB / 0.4911 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002982/0.1844, allocations: 1.705 MB / 0.4927 GB, free: 9.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.1845, allocations: 8.281 kB / 0.4927 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002375/0.1868, allocations: 1.31 MB / 0.494 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.1885, allocations: 0.5768 MB / 0.4946 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.1891, allocations: 179.7 kB / 0.4947 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2629/0.452, allocations: 9.415 MB / 0.5039 GB, free: 52.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008569/0.4529, allocations: 49.69 kB / 0.504 GB, free: 52.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.453, allocations: 47.36 kB / 0.504 GB, free: 52.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.000747/0.4537, allocations: 388 kB / 0.5044 GB, free: 52.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.4539, allocations: 90.59 kB / 0.5045 GB, free: 52.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.4562, allocations: 1.249 MB / 0.5057 GB, free: 52.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4563, allocations: 8.312 kB / 0.5057 GB, free: 52.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4563, allocations: 5 kB / 0.5057 GB, free: 52.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.4563, allocations: 6.422 kB / 0.5057 GB, free: 52.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/0.4607, allocations: 2.398 MB / 0.5081 GB, free: 51.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.4607, allocations: 6.047 kB / 0.5081 GB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.4612, allocations: 104 kB / 0.5082 GB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.4622, allocations: 380.6 kB / 0.5085 GB, free: 51.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/0.4623, allocations: 27.42 kB / 0.5086 GB, free: 51.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006177/0.4685, allocations: 8.486 MB / 0.5168 GB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4685, allocations: 5.656 kB / 0.5169 GB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.4716, allocations: 1.671 MB / 0.5185 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/0.4721, allocations: 229.5 kB / 0.5187 GB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.4722, allocations: 24.12 kB / 0.5187 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.4727, allocations: 28.47 kB / 0.5188 GB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.4728, allocations: 68.89 kB / 0.5188 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.4729, allocations: 22.52 kB / 0.5188 GB, free: 43.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008584/0.4738, allocations: 0.4971 MB / 0.5193 GB, free: 42.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4738, allocations: 2.734 kB / 0.5193 GB, free: 42.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001635/0.4754, allocations: 363.6 kB / 0.5197 GB, free: 42.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003329/0.4758, allocations: 145.5 kB / 0.5198 GB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.4782, allocations: 1.577 MB / 0.5214 GB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4782, allocations: 1.375 kB / 0.5214 GB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.4796, allocations: 1.091 MB / 0.5224 GB, free: 41.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.4806, allocations: 195.7 kB / 0.5226 GB, free: 41.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.485, allocations: 3.413 MB / 0.5259 GB, free: 39.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/0.4858, allocations: 1.248 MB / 0.5272 GB, free: 38.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.4861, allocations: 78.98 kB / 0.5272 GB, free: 38.47 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4861, allocations: 0 / 0.5272 GB, free: 38.47 MB / 382.1 MB Notification: Performance of Templates: time 0.03169/0.5178, allocations: 32.61 MB / 0.5591 GB, free: 9.938 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.TurbineGeneratorLineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.o] Error 1