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.001031/0.001031, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.0009949/0.0009949, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.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.1628/0.1628, allocations: 38.03 MB / 329.9 MB, free: 9.09 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001034, allocations: 62.83 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1028, allocations: 58.06 MB / 456.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009528/0.1124, allocations: 8.756 MB / 465.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.1178, allocations: 3.374 MB / 468.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000723/0.1186, allocations: 51.69 kB / 469 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.1204, allocations: 0.6917 MB / 469.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.122, allocations: 0.638 MB / 470.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.1229, allocations: 331.4 kB / 470.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.125, allocations: 1.992 MB / 472.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009458/0.126, allocations: 0.666 MB / 473.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007239/0.1267, allocations: 489.8 kB / 473.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008522/0.1276, allocations: 0.6658 MB / 474.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1277, allocations: 52 kB / 474.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008761/0.1286, allocations: 479.1 kB / 475 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.129, allocations: 430.9 kB / 475.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.1295, allocations: 497.5 kB / 475.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1305, allocations: 1.08 MB / 476.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1305, allocations: 0 / 476.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1306, allocations: 0 / 476.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1306, allocations: 0 / 476.9 MB, free: 4.324 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.002164/0.1327, allocations: 1.273 MB / 478.2 MB, free: 3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1328, allocations: 12.03 kB / 478.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1339, allocations: 211.5 kB / 478.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.1352, allocations: 0.7058 MB / 479.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.1352, allocations: 66.36 kB / 479.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.1355, allocations: 99.83 kB / 479.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.1369, allocations: 1.1 MB / 480.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.137, allocations: 4 kB / 480.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.137, allocations: 32 kB / 480.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.1372, allocations: 69.95 kB / 480.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1384, allocations: 0.8704 MB / 481.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.143, allocations: 4.001 MB / 485.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.1436, allocations: 435.8 kB / 485.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.144, allocations: 275 kB / 486.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.144, allocations: 12.42 kB / 486.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1441, allocations: 38.94 kB / 486.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.607e-06/0.1441, allocations: 7.984 kB / 486.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.002721/0.1468, allocations: 1.717 MB / 487.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1469, allocations: 85.67 kB / 487.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.1475, allocations: 0.5859 MB / 488.5 MB, free: 8.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.1475, allocations: 37.7 kB / 488.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.1478, allocations: 470.5 kB / 489 MB, free: 7.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.148, allocations: 189.3 kB / 489.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.1482, allocations: 138.6 kB / 489.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1483, allocations: 378.8 kB / 489.7 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.1487, allocations: 253.8 kB / 489.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.1492, allocations: 477 kB / 490.4 MB, free: 6.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.1501, allocations: 0.7742 MB / 491.2 MB, free: 5.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1501, allocations: 3.938 kB / 491.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001857/0.152, allocations: 1.118 MB / 492.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.152, allocations: 11.94 kB / 492.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001272/0.1533, allocations: 0.792 MB / 493.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007095/0.154, allocations: 226.3 kB / 493.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.1545, allocations: 147.8 kB / 493.5 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.1595, allocations: 5.247 MB / 498.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.1602, allocations: 39.97 kB / 498.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.1602, allocations: 28 kB / 498.8 MB, free: 13.28 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005176/0.1607, allocations: 306.4 kB / 499.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.1609, allocations: 71.22 kB / 499.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009354/0.1618, allocations: 0.6124 MB / 499.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1618, allocations: 8 kB / 499.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1618, allocations: 0 / 499.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1618, allocations: 7.922 kB / 499.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.1641, allocations: 1.482 MB / 0.4895 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1641, allocations: 7.938 kB / 0.4895 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.1646, allocations: 128 kB / 0.4896 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1647, allocations: 4 kB / 0.4897 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.1647, allocations: 16 kB / 0.4897 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1647, allocations: 4 kB / 0.4897 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1647, allocations: 0 / 0.4897 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1658, allocations: 0.9348 MB / 0.4906 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.1661, allocations: 176.2 kB / 0.4908 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.1662, allocations: 23.98 kB / 0.4908 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.1665, allocations: 15.98 kB / 0.4908 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.1665, allocations: 36.33 kB / 0.4908 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.1666, allocations: 23.94 kB / 0.4908 GB, free: 9.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000436/0.167, allocations: 419 kB / 0.4912 GB, free: 8.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.167, allocations: 0 / 0.4912 GB, free: 8.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007745/0.1678, allocations: 236 kB / 0.4915 GB, free: 8.664 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 (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.0002804/0.1681, allocations: 138.5 kB / 0.4916 GB, free: 8.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.1696, allocations: 1.045 MB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1696, allocations: 0 / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.1699, allocations: 262.3 kB / 0.4929 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.1707, allocations: 144 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.1737, allocations: 2.488 MB / 0.4954 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.1744, allocations: 1.083 MB / 0.4965 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.1746, allocations: 59.42 kB / 0.4966 GB, free: 3.344 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1746, allocations: 0 / 0.4966 GB, free: 3.344 MB / 382.1 MB Notification: Performance of Templates: time 0.01752/0.1921, allocations: 15.21 MB / 0.5114 GB, free: 4.133 MB / 398.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++ -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.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