Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Inverter.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.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008141/0.000814, allocations: 92.48 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.0008691/0.0008691, allocations: 176.8 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.336/1.336, allocations: 223.2 MB / 241.8 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1706/0.1706, allocations: 38.1 MB / 331.1 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 8 kB / 400.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 59.18 MB / 459.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.008081/0.1311, allocations: 7.479 MB / 467.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.1356, allocations: 2.342 MB / 469.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.1363, allocations: 55.62 kB / 469.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.1367, allocations: 162.7 kB / 469.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.1382, allocations: 0.6105 MB / 470.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1392, allocations: 391.4 kB / 470.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.1407, allocations: 1.566 MB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.142, allocations: 0.916 MB / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.1428, allocations: 0.5058 MB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008139/0.1436, allocations: 0.6426 MB / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.911e-05/0.1437, allocations: 48 kB / 474.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007816/0.1445, allocations: 467.2 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.1449, allocations: 450.9 kB / 475.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.1451, allocations: 221.2 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1462, allocations: 1.15 MB / 476.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1462, allocations: 0 / 476.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1462, allocations: 0 / 476.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1462, allocations: 0 / 476.8 MB, free: 6.34 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002458/0.1487, allocations: 1.372 MB / 478.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1487, allocations: 8.031 kB / 478.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/0.1494, allocations: 170.5 kB / 478.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.1505, allocations: 0.6698 MB / 479.1 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.1507, allocations: 175 kB / 479.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.151, allocations: 111.9 kB / 479.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.1535, allocations: 1.548 MB / 480.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.1535, allocations: 4 kB / 480.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.891e-05/0.1536, allocations: 36 kB / 480.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.1538, allocations: 65.97 kB / 481 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.1558, allocations: 1.194 MB / 482.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005772/0.1616, allocations: 4.801 MB / 487 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.1642, allocations: 1.19 MB / 488.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.1654, allocations: 0.5813 MB / 488.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-05/0.1655, allocations: 12.55 kB / 488.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.1668, allocations: 0.7457 MB / 489.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.756e-06/0.1669, allocations: 0 / 489.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=81): time 0.006574/0.1734, allocations: 3.306 MB / 492.8 MB, free: 5.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/0.1735, allocations: 131.4 kB / 492.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/0.1743, allocations: 0.5809 MB / 493.5 MB, free: 5.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.1743, allocations: 53.69 kB / 493.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.1747, allocations: 447.1 kB / 494 MB, free: 4.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.175, allocations: 284.1 kB / 494.3 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.175, allocations: 20 kB / 494.3 MB, free: 4.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1752, allocations: 394.8 kB / 494.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.1758, allocations: 466 kB / 495.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.1767, allocations: 0.7229 MB / 495.9 MB, free: 2.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/0.1775, allocations: 0.5899 MB / 496.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.1775, allocations: 4 kB / 496.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002604/0.1801, allocations: 1.546 MB / 498 MB, free: 436 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.1802, allocations: 65.67 kB / 498.1 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001938/0.1822, allocations: 1.309 MB / 499.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.1826, allocations: 117.6 kB / 499.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.1834, allocations: 199.7 kB / 499.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.1861, allocations: 3.067 MB / 0.491 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/0.1868, allocations: 75.94 kB / 0.4911 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.1869, allocations: 83.86 kB / 0.4911 GB, free: 11.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.ac_dc.modulator.gates[1],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006121/0.1875, allocations: 373.4 kB / 0.4915 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.1877, allocations: 75.06 kB / 0.4916 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.1903, allocations: 1.321 MB / 0.4929 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.1903, allocations: 19.97 kB / 0.4929 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1903, allocations: 7.953 kB / 0.4929 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/0.1904, allocations: 3.984 kB / 0.4929 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.1943, allocations: 2.479 MB / 0.4953 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.1944, allocations: 8 kB / 0.4953 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006705/0.195, allocations: 139.8 kB / 0.4954 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.1952, allocations: 36.84 kB / 0.4955 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.1953, allocations: 31.91 kB / 0.4955 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1964, allocations: 1.471 MB / 0.4969 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1964, allocations: 4.031 kB / 0.4969 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/0.2, allocations: 1.985 MB / 0.4989 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.2004, allocations: 244 kB / 0.4991 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.2006, allocations: 83.94 kB / 0.4992 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.2013, allocations: 103.8 kB / 0.4993 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.2014, allocations: 48.58 kB / 0.4993 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.2015, allocations: 35.97 kB / 0.4994 GB, free: 2.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004802/0.2019, allocations: 394.8 kB / 0.4998 GB, free: 2.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.202, allocations: 4 kB / 0.4998 GB, free: 2.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009449/0.2029, allocations: 240.1 kB / 0.5 GB, free: 1.789 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002978/0.2032, allocations: 178.9 kB / 0.5002 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2029/0.4061, allocations: 1.633 MB / 0.5018 GB, free: 56.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.4062, allocations: 0.6562 kB / 0.5018 GB, free: 56.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.4082, allocations: 0.6803 MB / 0.5024 GB, free: 56.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.4093, allocations: 164.4 kB / 0.5026 GB, free: 56.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.4143, allocations: 2.898 MB / 0.5054 GB, free: 54.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.4151, allocations: 1.119 MB / 0.5065 GB, free: 54.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.4154, allocations: 69.48 kB / 0.5066 GB, free: 54.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.693e-06/0.4154, allocations: 1.422 kB / 0.5066 GB, free: 54.21 MB / 382.1 MB Notification: Performance of Templates: time 0.0305/0.4459, allocations: 17.52 MB / 0.5237 GB, free: 47.64 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Inverter.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.Elementary.InverterCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.InverterCalcHelperMain.o] Error 1