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.001091/0.001091, allocations: 106.2 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.001245/0.001246, allocations: 202.9 kB / 18.08 MB, free: 5.418 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 13.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1661/0.1661, allocations: 38.03 MB / 329.9 MB, free: 8.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 62.08 kB / 398.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1058, allocations: 58.06 MB / 456.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008122/0.114, allocations: 7.742 MB / 464.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.118, allocations: 2.259 MB / 466.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.1186, allocations: 55.62 kB / 466.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.1198, allocations: 406.3 kB / 467.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007683/0.1206, allocations: 386.3 kB / 467.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.1214, allocations: 311.5 kB / 467.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.1226, allocations: 1.508 MB / 469.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000614/0.1232, allocations: 448.5 kB / 469.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.1237, allocations: 398.2 kB / 470.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.1244, allocations: 0.5841 MB / 470.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.949e-05/0.1245, allocations: 44 kB / 470.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.125, allocations: 275.5 kB / 471.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.1253, allocations: 343.1 kB / 471.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.1257, allocations: 405.8 kB / 471.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.1263, allocations: 0.7717 MB / 472.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1263, allocations: 8 kB / 472.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1263, allocations: 0 / 472.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1263, allocations: 0 / 472.7 MB, free: 8.578 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.001963/0.1283, allocations: 1.117 MB / 473.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1284, allocations: 11.97 kB / 473.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/0.129, allocations: 127.8 kB / 473.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008639/0.1299, allocations: 0.569 MB / 474.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.1299, allocations: 49.67 kB / 474.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.1301, allocations: 80.03 kB / 474.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1315, allocations: 1.017 MB / 475.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.1315, allocations: 4 kB / 475.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.1316, allocations: 31.97 kB / 475.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.1318, allocations: 69.95 kB / 475.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1331, allocations: 0.9797 MB / 476.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.1374, allocations: 3.275 MB / 480 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1385, allocations: 0.684 MB / 480.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.1391, allocations: 426.2 kB / 481.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.1391, allocations: 13.02 kB / 481.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1392, allocations: 39.06 kB / 481.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/0.1392, allocations: 0 / 481.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003742/0.1429, allocations: 2.431 MB / 483.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.143, allocations: 89.78 kB / 483.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.1434, allocations: 437.8 kB / 484.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.1435, allocations: 37.7 kB / 484.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.1437, allocations: 355.6 kB / 484.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.1439, allocations: 264.1 kB / 484.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.1441, allocations: 150.6 kB / 484.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1442, allocations: 374.7 kB / 485.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.1447, allocations: 341.8 kB / 485.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.1453, allocations: 0.5224 MB / 486.1 MB, free: 10.64 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.004876/0.1502, allocations: 2.238 MB / 488.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1502, allocations: 4 kB / 488.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001557/0.1517, allocations: 1.098 MB / 489.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1518, allocations: 10.03 kB / 489.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.1518, allocations: 11.98 kB / 489.5 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.1519, allocations: 41.31 kB / 489.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.1527, allocations: 191.7 kB / 489.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1538, allocations: 1.397 MB / 491.1 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.1542, allocations: 35.97 kB / 491.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.1543, allocations: 35.98 kB / 491.2 MB, free: 5.324 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[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.0004355/0.1547, allocations: 269.6 kB / 491.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.1549, allocations: 63.19 kB / 491.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.1563, allocations: 0.9739 MB / 492.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.1564, allocations: 15.98 kB / 492.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1564, allocations: 0 / 492.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.1564, allocations: 7.984 kB / 492.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.1594, allocations: 2.005 MB / 494.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.1595, allocations: 8 kB / 494.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.1601, allocations: 147.8 kB / 494.6 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.1602, allocations: 36.83 kB / 494.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.1603, allocations: 27.94 kB / 494.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000965/0.1612, allocations: 1.39 MB / 496.1 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.1613, allocations: 7.938 kB / 496.1 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.1631, allocations: 1.529 MB / 497.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1633, allocations: 140.3 kB / 497.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.1634, allocations: 24 kB / 497.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.1637, allocations: 31.95 kB / 497.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.1638, allocations: 68.36 kB / 497.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.1638, allocations: 24 kB / 497.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.1642, allocations: 299.1 kB / 498.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1642, allocations: 3.938 kB / 498.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.1648, allocations: 176 kB / 498.4 MB, free: 13.68 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.0002551/0.1651, allocations: 159 kB / 498.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.1664, allocations: 0.9584 MB / 499.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1665, allocations: 0 / 499.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000655/0.1671, allocations: 0.5174 MB / 0.4883 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007968/0.1679, allocations: 139 kB / 0.4884 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.1708, allocations: 2.366 MB / 0.4907 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.1713, allocations: 1.009 MB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.1716, allocations: 63.42 kB / 0.4918 GB, free: 8.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1716, allocations: 0 / 0.4918 GB, free: 8.32 MB / 382.1 MB Notification: Performance of Templates: time 0.2179/0.3894, allocations: 11.96 MB / 0.5035 GB, free: 55.76 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