Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterToLoad,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.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,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.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007853/0.0007855, allocations: 96.94 kB / 16.96 MB, free: 6.41 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.0007775/0.0007775, allocations: 179.6 kB / 17.84 MB, free: 5.969 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.352/1.352, allocations: 223.2 MB / 241.9 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1718/0.1718, allocations: 38.09 MB / 331.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003917, allocations: 9.281 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 59.17 MB / 459.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.00694/0.1261, allocations: 6.232 MB / 466.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1295, allocations: 1.789 MB / 467.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005515/0.1301, allocations: 43.69 kB / 467.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.1306, allocations: 143 kB / 468.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009277/0.1315, allocations: 401.9 kB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.1323, allocations: 291.6 kB / 468.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.1336, allocations: 1.367 MB / 470.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.134, allocations: 259.6 kB / 470.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000617/0.1346, allocations: 446.2 kB / 470.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006818/0.1353, allocations: 0.5102 MB / 471.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.424e-05/0.1354, allocations: 40 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1356, allocations: 40 kB / 471.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.1359, allocations: 291.3 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.136, allocations: 157.3 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.1367, allocations: 0.8065 MB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1367, allocations: 0 / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1368, allocations: 0 / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1368, allocations: 0 / 472.6 MB, free: 10.61 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00211/0.1389, allocations: 1.083 MB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1389, allocations: 8.031 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.1391, allocations: 83.16 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.1402, allocations: 0.6188 MB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/0.1406, allocations: 350.8 kB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.1407, allocations: 56 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.1428, allocations: 1.101 MB / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1428, allocations: 4 kB / 475.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/0.1429, allocations: 35.86 kB / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1429, allocations: 16 kB / 476 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.1454, allocations: 1.19 MB / 477.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.1501, allocations: 3.26 MB / 480.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.1521, allocations: 0.8354 MB / 481.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.1534, allocations: 0.5963 MB / 481.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-05/0.1535, allocations: 4.438 kB / 481.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.1549, allocations: 0.6812 MB / 482.6 MB, free: 368 kB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.675e-06/0.1549, allocations: 0 / 482.6 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.003664/0.1586, allocations: 1.559 MB / 484.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.1587, allocations: 148.5 kB / 484.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.1591, allocations: 385.8 kB / 484.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.1592, allocations: 37.7 kB / 484.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1594, allocations: 292.4 kB / 485 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.1596, allocations: 161.7 kB / 485.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1596, allocations: 12.03 kB / 485.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1598, allocations: 362.8 kB / 485.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009876/0.1608, allocations: 488.9 kB / 486 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.1618, allocations: 0.5914 MB / 486.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1631, allocations: 0.4918 MB / 487 MB, free: 11.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1631, allocations: 0 / 487 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00231/0.1654, allocations: 1.164 MB / 488.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/0.1655, allocations: 49.62 kB / 488.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1655, allocations: 12.16 kB / 488.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1655, allocations: 7.984 kB / 488.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005409/0.171, allocations: 1.584 MB / 489.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007196/0.1782, allocations: 4.828 MB / 494.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.179, allocations: 139.4 kB / 494.8 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.1791, allocations: 35.98 kB / 494.9 MB, free: 3.652 MB / 366.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: 14 ($whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004433/0.1796, allocations: 255.3 kB / 495.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.1797, allocations: 47.44 kB / 495.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.1823, allocations: 1.106 MB / 496.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.1823, allocations: 11.98 kB / 496.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1823, allocations: 0 / 496.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1823, allocations: 0 / 496.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.1863, allocations: 2.249 MB / 498.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.1863, allocations: 8 kB / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006388/0.1927, allocations: 1.838 MB / 0.4886 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.1927, allocations: 4 kB / 0.4886 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/0.1928, allocations: 15.98 kB / 0.4887 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.1928, allocations: 11.89 kB / 0.4887 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1928, allocations: 4 kB / 0.4887 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.1967, allocations: 1.875 MB / 0.4905 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.1971, allocations: 212.3 kB / 0.4907 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1972, allocations: 28 kB / 0.4907 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.1979, allocations: 119.9 kB / 0.4908 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.1981, allocations: 91.8 kB / 0.4909 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.1982, allocations: 23.98 kB / 0.491 GB, free: 11.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.1985, allocations: 267.1 kB / 0.4912 GB, free: 11.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1985, allocations: 0 / 0.4912 GB, free: 11.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007378/0.1993, allocations: 183.5 kB / 0.4914 GB, free: 11.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001935/0.1995, allocations: 134.1 kB / 0.4915 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007027/0.2065, allocations: 2.621 MB / 0.4941 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2065, allocations: 4.125 kB / 0.4941 GB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00319/0.2097, allocations: 1.164 MB / 0.4952 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.2106, allocations: 125.5 kB / 0.4953 GB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.2141, allocations: 1.934 MB / 0.4972 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.2146, allocations: 0.9254 MB / 0.4981 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.2149, allocations: 47.44 kB / 0.4982 GB, free: 4.121 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2149, allocations: 0 / 0.4982 GB, free: 4.121 MB / 382.1 MB Notification: Performance of Templates: time 0.2205/0.4353, allocations: 11.33 MB / 0.5092 GB, free: 54.62 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.o] Error 1