Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.LocalGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008433/0.0008433, allocations: 93.25 kB / 17.31 MB, free: 6.539 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.001057/0.001058, allocations: 176.8 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.489/1.489, allocations: 223.2 MB / 242.2 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1853/0.1853, allocations: 38.09 MB / 331.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 11.98 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 59.16 MB / 460.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01149/0.1523, allocations: 9.945 MB / 470.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007521/0.1599, allocations: 3.592 MB / 474.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.1616, allocations: 63.62 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.1628, allocations: 266.3 kB / 474.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.1655, allocations: 0.7311 MB / 475.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1668, allocations: 427.5 kB / 475.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.17, allocations: 2.432 MB / 478 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.1716, allocations: 1.009 MB / 479 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1729, allocations: 0.587 MB / 479.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.1741, allocations: 0.743 MB / 480.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.1742, allocations: 56 kB / 480.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.1749, allocations: 299.5 kB / 480.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.1753, allocations: 402.7 kB / 481.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006634/0.176, allocations: 0.6195 MB / 481.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.1774, allocations: 1.512 MB / 483.2 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1775, allocations: 0 / 483.2 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1775, allocations: 3.938 kB / 483.2 MB, free: 292 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.1775, allocations: 0 / 483.2 MB, free: 292 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.002878/0.1804, allocations: 1.402 MB / 484.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1804, allocations: 12.03 kB / 484.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007144/0.1811, allocations: 187.2 kB / 484.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.1827, allocations: 0.9187 MB / 485.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.1828, allocations: 74.06 kB / 485.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.1831, allocations: 120 kB / 485.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.1854, allocations: 1.349 MB / 487.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.1854, allocations: 4 kB / 487.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.1855, allocations: 47.97 kB / 487.3 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.1857, allocations: 69.97 kB / 487.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.1876, allocations: 1.081 MB / 488.4 MB, free: 10.85 MB / 366.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007274/0.1949, allocations: 5.152 MB / 493.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.1962, allocations: 0.7674 MB / 494.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.1968, allocations: 344.6 kB / 494.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.1968, allocations: 12.55 kB / 494.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.1969, allocations: 35.12 kB / 494.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=64): time 5.019e-06/0.1969, allocations: 8 kB / 494.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=71): time 0.0058/0.2027, allocations: 2.709 MB / 497.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.2029, allocations: 145 kB / 497.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.2039, allocations: 0.7509 MB / 498.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.204, allocations: 37.7 kB / 498.4 MB, free: 464 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/0.2045, allocations: 0.5611 MB / 499 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.2048, allocations: 252.4 kB / 499.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.2049, allocations: 77.67 kB / 499.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.205, allocations: 341.9 kB / 499.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.2056, allocations: 297.9 kB / 499.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.2063, allocations: 0.5567 MB / 0.4887 GB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.2076, allocations: 0.9053 MB / 0.4896 GB, free: 13.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.2077, allocations: 7.938 kB / 0.4896 GB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002991/0.2107, allocations: 1.367 MB / 0.491 GB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002861/0.211, allocations: 333.7 kB / 0.4913 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.211, allocations: 8 kB / 0.4913 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.2124, allocations: 416.5 kB / 0.4917 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.2131, allocations: 163.8 kB / 0.4918 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008065/0.2212, allocations: 4.949 MB / 0.4967 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/0.2221, allocations: 39.89 kB / 0.4967 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.2221, allocations: 36 kB / 0.4967 GB, free: 5.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2222, allocations: 8 kB / 0.4967 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00238/0.2246, allocations: 1.156 MB / 0.4979 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2246, allocations: 8 kB / 0.4979 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.2259, allocations: 404.9 kB / 0.4983 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.2265, allocations: 159.8 kB / 0.4984 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3272/0.5537, allocations: 4.626 MB / 0.5029 GB, free: 52.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.5546, allocations: 36.67 kB / 0.503 GB, free: 52.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.5547, allocations: 38 kB / 0.503 GB, free: 52.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008547/0.5555, allocations: 444.5 kB / 0.5034 GB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.5558, allocations: 91.22 kB / 0.5035 GB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.5577, allocations: 0.8798 MB / 0.5044 GB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.5577, allocations: 10.06 kB / 0.5044 GB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5578, allocations: 5.625 kB / 0.5044 GB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.5578, allocations: 4.391 kB / 0.5044 GB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.5618, allocations: 1.872 MB / 0.5062 GB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5618, allocations: 3.172 kB / 0.5062 GB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/0.5627, allocations: 167.2 kB / 0.5064 GB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.5627, allocations: 5.391 kB / 0.5064 GB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.5628, allocations: 17.27 kB / 0.5064 GB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.5628, allocations: 7.25 kB / 0.5064 GB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5628, allocations: 4.031 kB / 0.5064 GB, free: 51.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.5651, allocations: 1.275 MB / 0.5077 GB, free: 51.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.5655, allocations: 229.8 kB / 0.5079 GB, free: 51.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.5656, allocations: 22.83 kB / 0.5079 GB, free: 51.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.5661, allocations: 29.05 kB / 0.5079 GB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5662, allocations: 45.36 kB / 0.508 GB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.5663, allocations: 20.12 kB / 0.508 GB, free: 51.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008352/0.5671, allocations: 0.51 MB / 0.5085 GB, free: 51.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5671, allocations: 0 / 0.5085 GB, free: 51.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002087/0.5692, allocations: 461.9 kB / 0.5089 GB, free: 51 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * 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.0004204/0.5697, allocations: 145.6 kB / 0.5091 GB, free: 50.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004531/0.5742, allocations: 1.918 MB / 0.5109 GB, free: 50.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.5742, allocations: 0 / 0.5109 GB, free: 50.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.575, allocations: 355.2 kB / 0.5113 GB, free: 50 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5767, allocations: 241 kB / 0.5115 GB, free: 49.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/0.5827, allocations: 3.204 MB / 0.5146 GB, free: 48.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.5839, allocations: 1.203 MB / 0.5158 GB, free: 47.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.5843, allocations: 74.31 kB / 0.5159 GB, free: 47.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.834e-06/0.5843, allocations: 1.469 kB / 0.5159 GB, free: 47.32 MB / 382.1 MB Notification: Performance of Templates: time 0.03009/0.6144, allocations: 17 MB / 0.5325 GB, free: 38.21 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.LocalGenerationCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGenerationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGenerationCalcHelperMain.o] Error 1