Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.001081/0.001082, allocations: 110.5 kB / 17.16 MB, free: 6.082 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.001706/0.001707, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1634/0.1634, allocations: 38.04 MB / 329.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 55.61 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1154, allocations: 58.06 MB / 456.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008723/0.1242, allocations: 7.335 MB / 464.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.1275, allocations: 1.792 MB / 465.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.1281, allocations: 55.62 kB / 466 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.1287, allocations: 119.2 kB / 466.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008045/0.1295, allocations: 350.5 kB / 466.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.13, allocations: 171.8 kB / 466.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.1312, allocations: 1.387 MB / 468 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.1315, allocations: 229.5 kB / 468.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/0.132, allocations: 354.3 kB / 468.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006242/0.1327, allocations: 482.4 kB / 469 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.26e-05/0.1328, allocations: 32 kB / 469.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1329, allocations: 32 kB / 469.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.1331, allocations: 259.2 kB / 469.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.1335, allocations: 302.4 kB / 469.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.134, allocations: 0.5028 MB / 470.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.134, allocations: 4 kB / 470.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.134, allocations: 4 kB / 470.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.134, allocations: 0 / 470.2 MB, free: 11.14 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001673/0.1357, allocations: 0.9554 MB / 471.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1357, allocations: 8.031 kB / 471.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1358, allocations: 64.19 kB / 471.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008295/0.1367, allocations: 0.518 MB / 471.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.1367, allocations: 37.12 kB / 471.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.629e-05/0.1368, allocations: 48 kB / 471.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/0.1377, allocations: 0.6249 MB / 472.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1377, allocations: 4 kB / 472.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.1378, allocations: 20 kB / 472.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.1379, allocations: 40.84 kB / 472.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.1387, allocations: 0.5035 MB / 473 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.1416, allocations: 2.241 MB / 475.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.1425, allocations: 497 kB / 475.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.1431, allocations: 345.6 kB / 476 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.1431, allocations: 4 kB / 476 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1432, allocations: 38.56 kB / 476.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.415e-06/0.1432, allocations: 0 / 476.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.003224/0.1464, allocations: 1.749 MB / 477.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1465, allocations: 88.98 kB / 477.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.1469, allocations: 418.1 kB / 478.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1469, allocations: 37.7 kB / 478.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.1471, allocations: 304.3 kB / 478.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1473, allocations: 153.8 kB / 478.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1474, allocations: 98.16 kB / 478.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1476, allocations: 362.8 kB / 479.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.1478, allocations: 181 kB / 479.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.1482, allocations: 319.6 kB / 479.7 MB, free: 1.113 MB / 350.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.002481/0.1507, allocations: 1.241 MB / 481 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1507, allocations: 0 / 481 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001094/0.1518, allocations: 0.7107 MB / 481.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1519, allocations: 8 kB / 481.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1519, allocations: 4 kB / 481.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.1523, allocations: 132.8 kB / 481.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.1528, allocations: 112 kB / 481.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.1556, allocations: 2.377 MB / 484.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.1559, allocations: 24.03 kB / 484.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.156, allocations: 23.98 kB / 484.4 MB, free: 12.26 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 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.0003174/0.1563, allocations: 225.6 kB / 484.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.1564, allocations: 51.34 kB / 484.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.1575, allocations: 0.6581 MB / 485.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1575, allocations: 4 kB / 485.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1575, allocations: 8 kB / 485.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1575, allocations: 0 / 485.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.1596, allocations: 1.377 MB / 486.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1596, allocations: 0 / 486.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.16, allocations: 75.83 kB / 486.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.1604, allocations: 152.8 kB / 486.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.1604, allocations: 16 kB / 486.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.1629, allocations: 2.369 MB / 489.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1629, allocations: 0 / 489.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.1643, allocations: 0.9885 MB / 490.3 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1645, allocations: 128.5 kB / 490.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.1645, allocations: 16.09 kB / 490.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1648, allocations: 19.92 kB / 490.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.1648, allocations: 39.94 kB / 490.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.1649, allocations: 15.94 kB / 490.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003191/0.1652, allocations: 295.1 kB / 490.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1652, allocations: 0 / 490.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006228/0.1659, allocations: 144 kB / 490.9 MB, free: 5.402 MB / 366.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.000157/0.166, allocations: 115.1 kB / 491 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.1672, allocations: 0.6491 MB / 491.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1672, allocations: 4 kB / 491.7 MB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006428/0.1678, allocations: 438.7 kB / 492.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007362/0.1686, allocations: 126.2 kB / 492.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.1708, allocations: 1.599 MB / 493.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.1714, allocations: 0.9295 MB / 494.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1715, allocations: 47.42 kB / 494.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1715, allocations: 0 / 494.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of Templates: time 0.01125/0.1828, allocations: 9.129 MB / 0.4921 GB, free: 8.289 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.o] Error 1