Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.InverterToLoad,tolerance=1e-05,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.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,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.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007834/0.0007835, allocations: 94.44 kB / 17.31 MB, free: 5.59 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.0008889/0.0008889, allocations: 177.2 kB / 18.21 MB, free: 5.191 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.531/1.531, allocations: 223.2 MB / 242.2 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1986/0.1986, allocations: 38.1 MB / 331.5 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005173, allocations: 8 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1447, allocations: 59.16 MB / 460.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.0105/0.1553, allocations: 7.089 MB / 467.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.1607, allocations: 2.75 MB / 470.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007129/0.1615, allocations: 47.69 kB / 470.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.162, allocations: 143 kB / 470.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.1634, allocations: 0.541 MB / 471.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1645, allocations: 451.3 kB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00249/0.167, allocations: 2.444 MB / 474 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.1686, allocations: 0.9517 MB / 474.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.1698, allocations: 0.6072 MB / 475.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.1714, allocations: 0.9193 MB / 476.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.1716, allocations: 68 kB / 476.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.173, allocations: 0.6083 MB / 477.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007037/0.1737, allocations: 0.5494 MB / 477.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007745/0.1745, allocations: 0.5927 MB / 478.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.1762, allocations: 1.547 MB / 479.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1762, allocations: 0 / 479.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1762, allocations: 0 / 479.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.343e-05/0.1763, allocations: 4 kB / 479.8 MB, free: 3.641 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004639/0.1809, allocations: 1.713 MB / 481.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.181, allocations: 8.031 kB / 481.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008688/0.1819, allocations: 159.6 kB / 481.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.184, allocations: 0.94 MB / 482.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006319/0.1847, allocations: 0.5223 MB / 483.2 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/0.185, allocations: 95.84 kB / 483.3 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/0.1893, allocations: 2.116 MB / 485.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.1894, allocations: 7.984 kB / 485.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.1896, allocations: 35.98 kB / 485.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002464/0.1898, allocations: 93.94 kB / 485.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005577/0.1954, allocations: 2.412 MB / 487.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.2055, allocations: 5.757 MB / 493.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005034/0.2106, allocations: 1.953 MB / 495.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.2137, allocations: 1.254 MB / 496.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.736e-05/0.2138, allocations: 16.97 kB / 496.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003222/0.217, allocations: 1.488 MB / 498.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.286e-06/0.217, allocations: 0 / 498.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=124): time 0.01504/0.2321, allocations: 6.122 MB / 0.4927 GB, free: 10.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.2322, allocations: 106.1 kB / 0.4928 GB, free: 10.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.2328, allocations: 497.9 kB / 0.4933 GB, free: 9.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.233, allocations: 53.7 kB / 0.4933 GB, free: 9.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.2333, allocations: 360.7 kB / 0.4937 GB, free: 9.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.2336, allocations: 418 kB / 0.4941 GB, free: 9.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.2339, allocations: 121.6 kB / 0.4942 GB, free: 8.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.2341, allocations: 390.8 kB / 0.4946 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/0.2367, allocations: 1.103 MB / 0.4956 GB, free: 7.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.239, allocations: 1.25 MB / 0.4969 GB, free: 6.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004517/0.2435, allocations: 2.192 MB / 0.499 GB, free: 3.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.2436, allocations: 4 kB / 0.499 GB, free: 3.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.2845/0.5281, allocations: 4.403 MB / 0.5033 GB, free: 55.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.5283, allocations: 63.91 kB / 0.5034 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.5283, allocations: 2.781 kB / 0.5034 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007049/0.5353, allocations: 2.222 MB / 0.5055 GB, free: 55.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.5364, allocations: 190.2 kB / 0.5057 GB, free: 55.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02794/0.5644, allocations: 11.64 MB / 0.5171 GB, free: 52.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.566, allocations: 205.6 kB / 0.5173 GB, free: 52.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.5662, allocations: 75.44 kB / 0.5173 GB, free: 52.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007121/0.5669, allocations: 381.3 kB / 0.5177 GB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.5671, allocations: 80.09 kB / 0.5178 GB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005717/0.5729, allocations: 2.557 MB / 0.5203 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.5729, allocations: 26.73 kB / 0.5203 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5729, allocations: 7.719 kB / 0.5203 GB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5729, allocations: 3.984 kB / 0.5203 GB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007575/0.5805, allocations: 4.307 MB / 0.5245 GB, free: 48.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.5806, allocations: 11.77 kB / 0.5245 GB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01121/0.5918, allocations: 2.846 MB / 0.5273 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/0.5918, allocations: 4 kB / 0.5273 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.592, allocations: 39.66 kB / 0.5274 GB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.592, allocations: 8 kB / 0.5274 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5921, allocations: 7.938 kB / 0.5274 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008127/0.6002, allocations: 4.16 MB / 0.5314 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/0.6008, allocations: 340.1 kB / 0.5318 GB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.6011, allocations: 89.97 kB / 0.5318 GB, free: 41.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.6026, allocations: 239.7 kB / 0.5321 GB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.603, allocations: 192.6 kB / 0.5323 GB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.6032, allocations: 39.97 kB / 0.5323 GB, free: 40.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004461/0.6036, allocations: 342.8 kB / 0.5326 GB, free: 40.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6036, allocations: 4 kB / 0.5326 GB, free: 40.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00136/0.605, allocations: 355 kB / 0.533 GB, free: 40.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004231/0.6054, allocations: 219.6 kB / 0.5332 GB, free: 40.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006502/0.6119, allocations: 3.151 MB / 0.5363 GB, free: 36.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.612, allocations: 0 / 0.5363 GB, free: 36.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00622/0.6182, allocations: 2.243 MB / 0.5384 GB, free: 34.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.62, allocations: 174.6 kB / 0.5386 GB, free: 34.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007621/0.6276, allocations: 4.022 MB / 0.5425 GB, free: 30.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/0.6286, allocations: 1.144 MB / 0.5437 GB, free: 29.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006993/0.6293, allocations: 75.42 kB / 0.5437 GB, free: 29.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.826e-06/0.6293, allocations: 0 / 0.5437 GB, free: 29.12 MB / 382.1 MB Notification: Performance of Templates: time 0.02876/0.6581, allocations: 18.93 MB / 0.5622 GB, free: 10.24 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.InverterToLoadCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.o] Error 1