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.0007481/0.0007481, allocations: 92.39 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.0008784/0.0008785, allocations: 178.3 kB / 18.21 MB, free: 5.68 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.425/1.425, allocations: 223.3 MB / 242.2 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1899/0.1899, allocations: 38.09 MB / 331.5 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003233, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 59.17 MB / 460.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.0108/0.1325, allocations: 10.66 MB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.1394, allocations: 4.036 MB / 475.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.1405, allocations: 67.56 kB / 475.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008436/0.1413, allocations: 290.2 kB / 475.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.1434, allocations: 0.8171 MB / 476.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1446, allocations: 423.3 kB / 476.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.1475, allocations: 2.775 MB / 479.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.1498, allocations: 1.433 MB / 481 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.1509, allocations: 0.6026 MB / 481.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.152, allocations: 0.8799 MB / 482.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1522, allocations: 52 kB / 482.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000964/0.1531, allocations: 0.5069 MB / 483.1 MB, free: 416 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.1537, allocations: 0.5843 MB / 483.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.1543, allocations: 0.6468 MB / 484.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.1557, allocations: 1.43 MB / 485.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1557, allocations: 0 / 485.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1557, allocations: 0 / 485.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1557, allocations: 0 / 485.7 MB, free: 13.73 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.002897/0.1586, allocations: 1.387 MB / 487.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1587, allocations: 12.03 kB / 487.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.1603, allocations: 271 kB / 487.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.1619, allocations: 0.9024 MB / 488.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.162, allocations: 78.09 kB / 488.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.1623, allocations: 139.8 kB / 488.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.1646, allocations: 1.489 MB / 490 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.1646, allocations: 4 kB / 490 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.1647, allocations: 40 kB / 490 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002936/0.165, allocations: 98.16 kB / 490.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.167, allocations: 1.262 MB / 491.4 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007469/0.1745, allocations: 5.676 MB / 497.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.1754, allocations: 0.5937 MB / 497.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.1759, allocations: 403.2 kB / 498.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.176, allocations: 8.562 kB / 498.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1761, allocations: 43.12 kB / 498.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.434e-06/0.1761, allocations: 0 / 498.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.0073/0.1834, allocations: 3.638 MB / 0.49 GB, free: 12.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.1835, allocations: 97.62 kB / 0.4901 GB, free: 12.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.1844, allocations: 0.7313 MB / 0.4908 GB, free: 12.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.1845, allocations: 41.64 kB / 0.4908 GB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.1849, allocations: 0.5957 MB / 0.4914 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.1852, allocations: 272.1 kB / 0.4917 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1853, allocations: 85.67 kB / 0.4918 GB, free: 11.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1855, allocations: 402.7 kB / 0.4921 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.1861, allocations: 393.8 kB / 0.4925 GB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.1869, allocations: 0.6574 MB / 0.4932 GB, free: 9.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.1885, allocations: 1.148 MB / 0.4943 GB, free: 8.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.1885, allocations: 4 kB / 0.4943 GB, free: 8.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003286/0.1918, allocations: 1.705 MB / 0.4959 GB, free: 6.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1918, allocations: 8 kB / 0.4959 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002548/0.1944, allocations: 1.311 MB / 0.4972 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.1962, allocations: 0.5809 MB / 0.4978 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.1968, allocations: 175.7 kB / 0.498 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3018/0.4986, allocations: 9.459 MB / 0.5072 GB, free: 52.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4997, allocations: 51.47 kB / 0.5073 GB, free: 52.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/0.4998, allocations: 42.17 kB / 0.5073 GB, free: 52.11 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0008093/0.5006, allocations: 383.8 kB / 0.5077 GB, free: 51.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.5007, allocations: 89.81 kB / 0.5077 GB, free: 51.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.5034, allocations: 1.244 MB / 0.509 GB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.5034, allocations: 7.375 kB / 0.509 GB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.5034, allocations: 4.828 kB / 0.509 GB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.5034, allocations: 7.5 kB / 0.509 GB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004965/0.5084, allocations: 2.398 MB / 0.5113 GB, free: 50.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5084, allocations: 1.922 kB / 0.5113 GB, free: 50.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/0.509, allocations: 112 kB / 0.5114 GB, free: 50.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.5102, allocations: 382.4 kB / 0.5118 GB, free: 50.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/0.5103, allocations: 26.58 kB / 0.5118 GB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009248/0.5196, allocations: 8.506 MB / 0.5201 GB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5196, allocations: 2.312 kB / 0.5201 GB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/0.523, allocations: 1.677 MB / 0.5218 GB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.5235, allocations: 234.2 kB / 0.522 GB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.5236, allocations: 29.23 kB / 0.522 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.5241, allocations: 29.84 kB / 0.522 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.5243, allocations: 65.25 kB / 0.5221 GB, free: 42.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/0.5244, allocations: 23.5 kB / 0.5221 GB, free: 42.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007959/0.5252, allocations: 0.5037 MB / 0.5226 GB, free: 41.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5252, allocations: 1.094 kB / 0.5226 GB, free: 41.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001728/0.527, allocations: 362.9 kB / 0.523 GB, free: 41.86 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000396/0.5274, allocations: 155.5 kB / 0.5231 GB, free: 41.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.5301, allocations: 1.579 MB / 0.5247 GB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5301, allocations: 0 / 0.5247 GB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.5317, allocations: 1.085 MB / 0.5257 GB, free: 40.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.5331, allocations: 205.4 kB / 0.5259 GB, free: 40.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.5388, allocations: 3.466 MB / 0.5293 GB, free: 38.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.5401, allocations: 1.258 MB / 0.5305 GB, free: 37.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.5405, allocations: 69.84 kB / 0.5306 GB, free: 37.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.384e-06/0.5405, allocations: 0 / 0.5306 GB, free: 37.27 MB / 382.1 MB Notification: Performance of Templates: time 0.03731/0.5778, allocations: 32.59 MB / 0.5624 GB, free: 7.18 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++ -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.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