Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009501, allocations: 110.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.000985/0.0009851, 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 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1575/0.1575, allocations: 38 MB / 309.3 MB, free: 6.227 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.03 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1852, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005381/0.1906, allocations: 7.333 MB / 437.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1928, allocations: 1.836 MB / 439.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.1931, allocations: 51.69 kB / 439.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.1935, allocations: 119.1 kB / 439.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.1941, allocations: 358.4 kB / 440.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1944, allocations: 167.8 kB / 440.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006661/0.1951, allocations: 1.395 MB / 441.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.1953, allocations: 233.5 kB / 442 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.1956, allocations: 338.4 kB / 442.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.196, allocations: 494.3 kB / 442.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.1961, allocations: 32 kB / 442.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.1962, allocations: 32 kB / 442.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1964, allocations: 251.3 kB / 443.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.1966, allocations: 306.3 kB / 443.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.1969, allocations: 0.4989 MB / 443.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1969, allocations: 0 / 443.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1969, allocations: 0 / 443.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1969, allocations: 0 / 443.9 MB, free: 6.352 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001234/0.1981, allocations: 0.9447 MB / 444.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1982, allocations: 12.03 kB / 444.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.1983, allocations: 68.09 kB / 444.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.1989, allocations: 0.5335 MB / 445.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1989, allocations: 37.12 kB / 445.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.199, allocations: 48 kB / 445.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.1997, allocations: 0.6249 MB / 446.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1997, allocations: 3.984 kB / 446.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.1998, allocations: 20 kB / 446.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-05/0.1998, allocations: 36.97 kB / 446.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.2004, allocations: 0.5035 MB / 446.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.2025, allocations: 2.234 MB / 449 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006137/0.2032, allocations: 0.5014 MB / 449.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.2036, allocations: 345.5 kB / 449.8 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2037, allocations: 8 kB / 449.8 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.2037, allocations: 34.56 kB / 449.8 MB, free: 156 kB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/0.2037, allocations: 0 / 449.8 MB, free: 156 kB / 318.1 MB Notification: Performance of matching and sorting (n=47): time 0.002962/0.2067, allocations: 1.746 MB / 451.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2067, allocations: 85.05 kB / 451.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.2071, allocations: 421.8 kB / 452.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.2072, allocations: 37.7 kB / 452.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.2074, allocations: 300.4 kB / 452.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.2075, allocations: 161.6 kB / 452.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.2076, allocations: 98.19 kB / 452.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2078, allocations: 366.8 kB / 453 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.208, allocations: 185 kB / 453.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.2084, allocations: 319.6 kB / 453.5 MB, free: 12.3 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.2107, allocations: 1.235 MB / 454.7 MB, free: 11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2107, allocations: 4 kB / 454.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001019/0.2118, allocations: 0.7032 MB / 455.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2118, allocations: 8 kB / 455.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2118, allocations: 7.938 kB / 455.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.2122, allocations: 136.8 kB / 455.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.2126, allocations: 107.9 kB / 455.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.215, allocations: 2.384 MB / 458.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.2153, allocations: 24.03 kB / 458.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.2153, allocations: 27.98 kB / 458.1 MB, free: 7.457 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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): 1 system {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.2156, allocations: 221.6 kB / 458.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.2157, allocations: 51.34 kB / 458.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2167, allocations: 0.6581 MB / 459.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2167, allocations: 8 kB / 459.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2167, allocations: 0 / 459.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2167, allocations: 4 kB / 459.1 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.2186, allocations: 1.373 MB / 460.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.2186, allocations: 160 / 460.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.2189, allocations: 75.98 kB / 460.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003562/0.2193, allocations: 152.8 kB / 460.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.2194, allocations: 12 kB / 460.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/0.2217, allocations: 2.376 MB / 463.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2217, allocations: 4 kB / 463.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.2229, allocations: 0.9815 MB / 464.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.223, allocations: 128.5 kB / 464.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.2231, allocations: 12 kB / 464.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2233, allocations: 15.98 kB / 464.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.2234, allocations: 39.89 kB / 464.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.2235, allocations: 23.92 kB / 464.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.2237, allocations: 291.1 kB / 464.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2238, allocations: 0 / 464.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.2243, allocations: 144 kB / 464.7 MB, free: 0.6094 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.2244, allocations: 111.1 kB / 464.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009649/0.2254, allocations: 0.6597 MB / 465.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2254, allocations: 96 / 465.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.226, allocations: 447.1 kB / 465.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.2267, allocations: 125.9 kB / 466 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.2286, allocations: 1.597 MB / 467.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.2291, allocations: 0.9295 MB / 468.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.2292, allocations: 47.42 kB / 468.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2292, allocations: 0 / 468.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Templates: time 0.009816/0.239, allocations: 9.142 MB / 477.7 MB, free: 3.445 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.o] Error 1