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.0007616/0.0007618, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.0008023/0.0008023, allocations: 182.7 kB / 18.21 MB, free: 5.68 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.418/1.418, allocations: 223.3 MB / 242.2 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1947/0.1947, allocations: 38.09 MB / 331.4 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003527, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 59.17 MB / 460.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.01117/0.154, allocations: 6.586 MB / 467.1 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.1591, allocations: 1.862 MB / 469 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009781/0.1602, allocations: 39.75 kB / 469 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.1608, allocations: 115.2 kB / 469.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1619, allocations: 342.5 kB / 469.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.1628, allocations: 267.7 kB / 469.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.165, allocations: 1.668 MB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.1655, allocations: 307 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/0.1662, allocations: 434.3 kB / 472.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007242/0.1669, allocations: 0.514 MB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.167, allocations: 40 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1671, allocations: 40 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.1674, allocations: 295.2 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.1678, allocations: 372 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006928/0.1685, allocations: 0.8066 MB / 474.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1685, allocations: 4 kB / 474.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1685, allocations: 4 kB / 474.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1686, allocations: 0 / 474.2 MB, free: 9.367 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.002341/0.1709, allocations: 1.071 MB / 475.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.171, allocations: 8.031 kB / 475.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.1711, allocations: 84.09 kB / 475.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.1723, allocations: 0.6316 MB / 476 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004283/0.1727, allocations: 347.4 kB / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1728, allocations: 67.78 kB / 476.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.1751, allocations: 1.109 MB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1751, allocations: 4 kB / 477.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.1752, allocations: 20 kB / 477.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.1752, allocations: 16 kB / 477.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.1779, allocations: 1.206 MB / 478.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004653/0.1826, allocations: 3.26 MB / 482 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.1848, allocations: 0.841 MB / 482.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.1864, allocations: 0.5962 MB / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.295e-05/0.1865, allocations: 12.38 kB / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/0.1882, allocations: 0.6812 MB / 484.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 3.828e-06/0.1883, allocations: 0 / 484.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=49): time 0.004527/0.1928, allocations: 1.547 MB / 485.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.1929, allocations: 148.5 kB / 485.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.1934, allocations: 389.9 kB / 486.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/0.1935, allocations: 41.7 kB / 486.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.1937, allocations: 284.4 kB / 486.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.1939, allocations: 173.6 kB / 486.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.194, allocations: 57.69 kB / 486.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1941, allocations: 358.8 kB / 487.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.1952, allocations: 0.4969 MB / 487.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.1964, allocations: 0.603 MB / 488.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.1985, allocations: 0.9911 MB / 489.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1985, allocations: 0 / 489.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002511/0.2011, allocations: 1.179 MB / 490.4 MB, free: 8.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.2012, allocations: 57.62 kB / 490.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2012, allocations: 0 / 490.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.2012, allocations: 8 kB / 490.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006464/0.2077, allocations: 1.588 MB / 492 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/0.2159, allocations: 4.836 MB / 496.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000946/0.2169, allocations: 135.4 kB / 497 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/0.217, allocations: 39.97 kB / 497 MB, free: 1.73 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 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,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) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004763/0.2175, allocations: 255.3 kB / 497.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.2176, allocations: 51.34 kB / 497.3 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/0.2205, allocations: 1.102 MB / 498.4 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.2205, allocations: 8 kB / 498.4 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2205, allocations: 3.938 kB / 498.4 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.2205, allocations: 7.922 kB / 498.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.2248, allocations: 2.264 MB / 0.489 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.2248, allocations: 7.938 kB / 0.489 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007723/0.2326, allocations: 1.842 MB / 0.4908 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.2326, allocations: 8 kB / 0.4908 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/0.2327, allocations: 15.98 kB / 0.4908 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.2328, allocations: 4 kB / 0.4908 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.2328, allocations: 0 / 0.4908 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/0.2372, allocations: 1.879 MB / 0.4926 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.2375, allocations: 208.4 kB / 0.4928 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.2376, allocations: 27.98 kB / 0.4929 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.2384, allocations: 119.9 kB / 0.493 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.2386, allocations: 95.78 kB / 0.4931 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.2387, allocations: 19.98 kB / 0.4931 GB, free: 9.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003535/0.2391, allocations: 271.1 kB / 0.4933 GB, free: 9.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2391, allocations: 0 / 0.4933 GB, free: 9.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007128/0.2398, allocations: 179.6 kB / 0.4935 GB, free: 9.227 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 (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.0002049/0.24, allocations: 140.1 kB / 0.4937 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008412/0.2484, allocations: 2.64 MB / 0.4962 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.2485, allocations: 0 / 0.4962 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003906/0.2524, allocations: 1.16 MB / 0.4974 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2535, allocations: 121.5 kB / 0.4975 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.2575, allocations: 1.982 MB / 0.4994 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.2581, allocations: 0.9293 MB / 0.5003 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.2583, allocations: 43.42 kB / 0.5004 GB, free: 2.121 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2583, allocations: 0 / 0.5004 GB, free: 2.121 MB / 382.1 MB Notification: Performance of Templates: time 0.2653/0.5236, allocations: 11.33 MB / 0.5114 GB, free: 55.14 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++ -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.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