Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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 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.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007712/0.0007714, allocations: 93.7 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.0008321/0.0008322, allocations: 175.9 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.472/1.472, allocations: 223.2 MB / 242.2 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1812/0.1812, allocations: 38.09 MB / 331.5 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003405, allocations: 9.75 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 59.16 MB / 460.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.00792/0.1407, allocations: 7.299 MB / 467.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.1448, allocations: 2.232 MB / 470.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/0.1454, allocations: 47.69 kB / 470.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.1459, allocations: 135.1 kB / 470.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008416/0.1468, allocations: 386.3 kB / 470.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.1477, allocations: 323.4 kB / 470.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.1492, allocations: 1.504 MB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.1502, allocations: 0.6913 MB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.1508, allocations: 378.2 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007464/0.1515, allocations: 0.5568 MB / 474 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.061e-05/0.1516, allocations: 32 kB / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.1521, allocations: 263.5 kB / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.1525, allocations: 331.1 kB / 474.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.1528, allocations: 407.6 kB / 475.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.1535, allocations: 0.7521 MB / 475.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1535, allocations: 0 / 475.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1536, allocations: 0 / 475.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1536, allocations: 0 / 475.8 MB, free: 7.684 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001849/0.1554, allocations: 0.9883 MB / 476.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1555, allocations: 12.03 kB / 476.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007386/0.1562, allocations: 127.8 kB / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008807/0.1571, allocations: 0.5805 MB / 477.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.1572, allocations: 49.67 kB / 477.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.1573, allocations: 76.11 kB / 477.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.1588, allocations: 1.006 MB / 478.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.1588, allocations: 4 kB / 478.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.1589, allocations: 27.92 kB / 478.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/0.1591, allocations: 73.95 kB / 478.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1606, allocations: 0.9758 MB / 479.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/0.1652, allocations: 3.283 MB / 483 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1663, allocations: 0.684 MB / 483.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.1669, allocations: 423.5 kB / 484.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.167, allocations: 16.62 kB / 484.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.167, allocations: 39.12 kB / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.434e-06/0.167, allocations: 0 / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003872/0.1709, allocations: 2.44 MB / 486.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.171, allocations: 85.61 kB / 486.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.1715, allocations: 441.7 kB / 487.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.1715, allocations: 37.7 kB / 487.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1718, allocations: 359.6 kB / 487.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.172, allocations: 268.2 kB / 487.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.1721, allocations: 77.67 kB / 487.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1722, allocations: 374.7 kB / 488.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.1727, allocations: 341.8 kB / 488.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.1733, allocations: 0.5186 MB / 489.1 MB, free: 9.926 MB / 366.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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/0.1785, allocations: 2.237 MB / 491.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.1786, allocations: 4 kB / 491.3 MB, free: 7.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001872/0.1805, allocations: 1.098 MB / 492.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.1805, allocations: 11.98 kB / 492.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1805, allocations: 4 kB / 492.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.1807, allocations: 36.84 kB / 492.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/0.1815, allocations: 191.6 kB / 492.6 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.183, allocations: 1.394 MB / 494 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/0.1836, allocations: 35.97 kB / 494.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/0.1837, allocations: 35.98 kB / 494.1 MB, free: 4.625 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006232/0.1843, allocations: 286.3 kB / 494.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.1845, allocations: 67.17 kB / 494.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.1865, allocations: 0.9661 MB / 495.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.1865, allocations: 23.98 kB / 495.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1865, allocations: 0 / 495.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.1866, allocations: 3.984 kB / 495.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.1903, allocations: 2.016 MB / 497.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.1903, allocations: 4 kB / 497.5 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006804/0.191, allocations: 147.8 kB / 497.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.1912, allocations: 41.39 kB / 497.6 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.1912, allocations: 24 kB / 497.7 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.1924, allocations: 1.374 MB / 499 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.1925, allocations: 15.94 kB / 499.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.1945, allocations: 1.532 MB / 0.4889 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.1947, allocations: 144.2 kB / 0.489 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.1948, allocations: 20 kB / 0.489 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.1951, allocations: 35.97 kB / 0.489 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1953, allocations: 60.36 kB / 0.4891 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.1953, allocations: 24.14 kB / 0.4891 GB, free: 13.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.1957, allocations: 299.1 kB / 0.4894 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1957, allocations: 0 / 0.4894 GB, free: 13.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007995/0.1965, allocations: 196 kB / 0.4896 GB, free: 12.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],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 (75): * Single equations (assignments): 71 * Array equations: 2 * 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 {(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.000292/0.1968, allocations: 151 kB / 0.4897 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.1983, allocations: 0.9576 MB / 0.4907 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.1983, allocations: 0 / 0.4907 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.199, allocations: 0.5231 MB / 0.4912 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.2001, allocations: 133 kB / 0.4913 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.2034, allocations: 2.494 MB / 0.4937 GB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.2042, allocations: 1.009 MB / 0.4947 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.2044, allocations: 63.42 kB / 0.4948 GB, free: 7.473 MB / 382.1 MB Notification: Performance of SimCode: time 1.974e-06/0.2044, allocations: 0 / 0.4948 GB, free: 7.473 MB / 382.1 MB Notification: Performance of Templates: time 0.2591/0.4635, allocations: 11.88 MB / 0.5064 GB, free: 55.31 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.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_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGridCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGridCalcHelperMain.o] Error 1