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.0009013/0.0009016, allocations: 94.09 kB / 17.31 MB, free: 6.535 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.001144/0.001144, allocations: 174.7 kB / 18.21 MB, free: 5.684 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.504/1.504, allocations: 223.3 MB / 242.2 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1928/0.1928, allocations: 38.09 MB / 331.5 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 12 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 59.17 MB / 460.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009204/0.1256, allocations: 8.292 MB / 468.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006702/0.1324, allocations: 3.327 MB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.1341, allocations: 51.62 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1352, allocations: 182.8 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.138, allocations: 0.6419 MB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1393, allocations: 331.4 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003178/0.1425, allocations: 1.992 MB / 475.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.145, allocations: 1.013 MB / 476.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.1462, allocations: 457.8 kB / 476.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.1475, allocations: 0.6111 MB / 477.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1477, allocations: 40 kB / 477.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.149, allocations: 475 kB / 477.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.1496, allocations: 406.9 kB / 478.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.1503, allocations: 495.1 kB / 478.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.1518, allocations: 1.06 MB / 479.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1519, allocations: 0 / 479.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1519, allocations: 0 / 479.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1519, allocations: 0 / 479.8 MB, free: 3.633 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.002878/0.1548, allocations: 1.106 MB / 481 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.1548, allocations: 8.031 kB / 481 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.1567, allocations: 207.6 kB / 481.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.1586, allocations: 0.6981 MB / 481.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.1587, allocations: 66.36 kB / 481.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/0.159, allocations: 107.8 kB / 482 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.1613, allocations: 1.088 MB / 483.1 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.1613, allocations: 8 kB / 483.1 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.1614, allocations: 35.98 kB / 483.2 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/0.1617, allocations: 69.95 kB / 483.2 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.1637, allocations: 0.8782 MB / 484.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007467/0.1712, allocations: 4.008 MB / 488.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/0.1722, allocations: 435.8 kB / 488.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.1728, allocations: 281 kB / 488.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.1728, allocations: 4.438 kB / 488.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.1729, allocations: 39 kB / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.968e-06/0.1729, allocations: 0 / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00445/0.1774, allocations: 1.725 MB / 490.6 MB, free: 8.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.1775, allocations: 89.67 kB / 490.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/0.1784, allocations: 0.586 MB / 491.3 MB, free: 7.742 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.1785, allocations: 33.7 kB / 491.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.179, allocations: 462.5 kB / 491.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.1792, allocations: 185.4 kB / 491.9 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.1794, allocations: 69.67 kB / 492 MB, free: 6.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.1796, allocations: 378.8 kB / 492.4 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.1802, allocations: 249.8 kB / 492.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/0.1809, allocations: 480.9 kB / 493.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.1824, allocations: 0.778 MB / 493.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1824, allocations: 0 / 493.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003177/0.1856, allocations: 1.122 MB / 495 MB, free: 3.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.1857, allocations: 10.66 kB / 495 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001923/0.1876, allocations: 0.792 MB / 495.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009539/0.1886, allocations: 222.3 kB / 496 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.1894, allocations: 155.7 kB / 496.1 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007552/0.197, allocations: 5.248 MB / 0.4896 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.1979, allocations: 39.97 kB / 0.4897 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.198, allocations: 32 kB / 0.4897 GB, free: 12.82 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.0006689/0.1987, allocations: 306.3 kB / 0.49 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1989, allocations: 71.44 kB / 0.4901 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.2002, allocations: 0.6086 MB / 0.4907 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.2002, allocations: 7.984 kB / 0.4907 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2002, allocations: 3.938 kB / 0.4907 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2003, allocations: 3.938 kB / 0.4907 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.2035, allocations: 1.497 MB / 0.4921 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2036, allocations: 0 / 0.4921 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.2044, allocations: 128 kB / 0.4923 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.2044, allocations: 8 kB / 0.4923 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.2045, allocations: 15.98 kB / 0.4923 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.2045, allocations: 7.938 kB / 0.4923 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.2045, allocations: 4 kB / 0.4923 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.2062, allocations: 0.9193 MB / 0.4932 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/0.2066, allocations: 184.2 kB / 0.4934 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.2068, allocations: 19.94 kB / 0.4934 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.2072, allocations: 23.97 kB / 0.4934 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.2073, allocations: 28.41 kB / 0.4934 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.2073, allocations: 23.92 kB / 0.4935 GB, free: 8.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005808/0.2079, allocations: 419 kB / 0.4939 GB, free: 8.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2079, allocations: 0 / 0.4939 GB, free: 8.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009175/0.2088, allocations: 232 kB / 0.4941 GB, free: 8.207 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.0003059/0.2092, allocations: 134.6 kB / 0.4942 GB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.2108, allocations: 1.042 MB / 0.4952 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.2108, allocations: 4 kB / 0.4952 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.2112, allocations: 266.2 kB / 0.4955 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009146/0.2121, allocations: 149.8 kB / 0.4956 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.2155, allocations: 2.626 MB / 0.4982 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/0.2165, allocations: 1.079 MB / 0.4993 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.2167, allocations: 67.41 kB / 0.4993 GB, free: 2.738 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2167, allocations: 0 / 0.4993 GB, free: 2.738 MB / 382.1 MB Notification: Performance of Templates: time 0.2967/0.5134, allocations: 15.12 MB / 0.5141 GB, free: 50.18 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++ -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