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.0008251/0.000825, allocations: 92.53 kB / 16.95 MB, free: 5.953 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.0007804/0.0007804, allocations: 179.6 kB / 17.84 MB, free: 5.617 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.368/1.368, allocations: 223.2 MB / 241.8 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.1707/0.1707, allocations: 38.1 MB / 331 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 12.66 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 59.17 MB / 459.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.007665/0.1301, allocations: 6.887 MB / 466.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.1343, allocations: 2.143 MB / 468.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.1349, allocations: 51.69 kB / 469 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.1354, allocations: 174.7 kB / 469.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.1366, allocations: 465.6 kB / 469.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1377, allocations: 359.3 kB / 469.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.1391, allocations: 1.2 MB / 471.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009544/0.14, allocations: 0.6328 MB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.1406, allocations: 378.3 kB / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000745/0.1413, allocations: 0.5608 MB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.1414, allocations: 36 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.1418, allocations: 195.6 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.1421, allocations: 335.1 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1423, allocations: 161.3 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.143, allocations: 0.7638 MB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.143, allocations: 0 / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.143, allocations: 0 / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.143, allocations: 0 / 474.2 MB, free: 9.027 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.001759/0.1448, allocations: 0.9882 MB / 475.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1448, allocations: 16.02 kB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006349/0.1455, allocations: 122.9 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.1464, allocations: 0.5717 MB / 475.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.1464, allocations: 49.31 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.1466, allocations: 64 kB / 476 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.148, allocations: 1.017 MB / 477 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.148, allocations: 3.938 kB / 477 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.1481, allocations: 24 kB / 477 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.1483, allocations: 73.95 kB / 477.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1497, allocations: 0.968 MB / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.1543, allocations: 3.283 MB / 481.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.1554, allocations: 0.6809 MB / 482 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.156, allocations: 419.5 kB / 482.4 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.969e-05/0.156, allocations: 20.61 kB / 482.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1561, allocations: 39.12 kB / 482.5 MB, free: 428 kB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.879e-06/0.1561, allocations: 0 / 482.5 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003755/0.1599, allocations: 2.428 MB / 484.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.1599, allocations: 85.67 kB / 485 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.1604, allocations: 441.7 kB / 485.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.1605, allocations: 45.64 kB / 485.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1607, allocations: 355.7 kB / 485.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.1609, allocations: 256.3 kB / 486.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1609, allocations: 16 kB / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1611, allocations: 374.8 kB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.1615, allocations: 333.8 kB / 486.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.1621, allocations: 0.5146 MB / 487.3 MB, free: 11.39 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.003577/0.1657, allocations: 1.404 MB / 488.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.1657, allocations: 3.953 kB / 488.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001607/0.1673, allocations: 1.09 MB / 489.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.1674, allocations: 12.03 kB / 489.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.1674, allocations: 4 kB / 489.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.1676, allocations: 44.83 kB / 489.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007111/0.1683, allocations: 183.7 kB / 490 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1695, allocations: 1.39 MB / 491.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.1699, allocations: 39.92 kB / 491.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/0.17, allocations: 31.98 kB / 491.5 MB, free: 7.008 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004535/0.1705, allocations: 277.6 kB / 491.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.1706, allocations: 67.3 kB / 491.8 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.1721, allocations: 0.9583 MB / 492.8 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.1722, allocations: 19.95 kB / 492.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1722, allocations: 0 / 492.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1722, allocations: 7.922 kB / 492.8 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.1753, allocations: 2.002 MB / 494.8 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.1753, allocations: 8 kB / 494.8 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.1761, allocations: 147.7 kB / 495 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.1762, allocations: 49.36 kB / 495 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.1762, allocations: 20 kB / 495 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.1773, allocations: 1.393 MB / 496.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1773, allocations: 4 kB / 496.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.1792, allocations: 1.518 MB / 498 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.1794, allocations: 136.5 kB / 498.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/0.1795, allocations: 28.05 kB / 498.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.1798, allocations: 31.97 kB / 498.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1799, allocations: 64.2 kB / 498.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.18, allocations: 24 kB / 498.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.1803, allocations: 295.1 kB / 498.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1803, allocations: 0 / 498.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007419/0.1811, allocations: 188 kB / 498.7 MB, free: 15.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.1813, allocations: 139.1 kB / 498.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.1828, allocations: 0.9381 MB / 499.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.1828, allocations: 0 / 499.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006517/0.1835, allocations: 0.5231 MB / 0.4886 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/0.1843, allocations: 145 kB / 0.4887 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.1875, allocations: 2.438 MB / 0.4911 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.1881, allocations: 1.013 MB / 0.4921 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.1883, allocations: 63.42 kB / 0.4921 GB, free: 9.961 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1883, allocations: 0 / 0.4921 GB, free: 9.961 MB / 382.1 MB Notification: Performance of Templates: time 0.2272/0.4155, allocations: 11.86 MB / 0.5037 GB, free: 55.24 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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