Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 109.7 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.0008621/0.0008621, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1556/0.1556, allocations: 37.99 MB / 309.3 MB, free: 6.246 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 71.19 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1779, allocations: 55.24 MB / 430.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.005629/0.1835, allocations: 7.796 MB / 438.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1856, allocations: 2.082 MB / 440.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.1859, allocations: 51.62 kB / 440.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.1863, allocations: 127.2 kB / 440.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.1868, allocations: 418.2 kB / 441 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1872, allocations: 315.6 kB / 441.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009571/0.1881, allocations: 2.011 MB / 443.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.1884, allocations: 332.2 kB / 443.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.1889, allocations: 0.5058 MB / 444.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.1894, allocations: 0.6659 MB / 444.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/0.1895, allocations: 55.98 kB / 444.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1897, allocations: 52 kB / 444.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.1899, allocations: 371.1 kB / 445.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.1902, allocations: 426 kB / 445.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.1907, allocations: 0.9199 MB / 446.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1907, allocations: 0 / 446.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1907, allocations: 4 kB / 446.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1907, allocations: 3.938 kB / 446.6 MB, free: 3.664 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002032/0.1927, allocations: 1.305 MB / 447.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.1928, allocations: 12.03 kB / 447.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.1929, allocations: 95.91 kB / 448 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.1939, allocations: 0.6938 MB / 448.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.1941, allocations: 347 kB / 449 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-05/0.1943, allocations: 64 kB / 449.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.196, allocations: 1.138 MB / 450.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1961, allocations: 3.938 kB / 450.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.1961, allocations: 27.98 kB / 450.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.1963, allocations: 41.28 kB / 450.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.1987, allocations: 1.172 MB / 451.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.2031, allocations: 3.5 MB / 455 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.2054, allocations: 0.968 MB / 456 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.2068, allocations: 0.6864 MB / 456.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.2069, allocations: 4.562 kB / 456.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/0.2083, allocations: 0.681 MB / 457.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 2.876e-06/0.2083, allocations: 0 / 457.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01673/0.225, allocations: 5.667 MB / 463 MB, free: 2.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2251, allocations: 93.64 kB / 463.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.2255, allocations: 473.9 kB / 463.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.2256, allocations: 37.7 kB / 463.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.2258, allocations: 328.2 kB / 463.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.2259, allocations: 201.2 kB / 464.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.2261, allocations: 130.2 kB / 464.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2263, allocations: 374.8 kB / 464.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009782/0.2273, allocations: 0.5051 MB / 465.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.2283, allocations: 0.6297 MB / 465.7 MB, free: 12 kB / 334.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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.006102/0.2344, allocations: 3.143 MB / 468.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2344, allocations: 0 / 468.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00647/0.2409, allocations: 2.494 MB / 471.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.2409, allocations: 45.69 kB / 471.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2409, allocations: 4 kB / 471.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.2431, allocations: 1.094 MB / 472.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.2435, allocations: 111.8 kB / 472.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.2563, allocations: 6.287 MB / 478.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.2569, allocations: 87.94 kB / 479 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.257, allocations: 43.91 kB / 479 MB, free: 2.453 MB / 350.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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$PRE.inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],$PRE.inverter.modulator.t0,$PRE.inverter.modulator.sigdel_t,inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[4],inverter.modulator.gates[3],inverter.modulator.gates[2],inverter.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * 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 {(5,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.2573, allocations: 283.4 kB / 479.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.2574, allocations: 55.34 kB / 479.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006796/0.2642, allocations: 2.433 MB / 481.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2642, allocations: 11.94 kB / 481.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2642, allocations: 3.938 kB / 481.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2642, allocations: 0 / 481.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008011/0.2723, allocations: 3.559 MB / 485.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2723, allocations: 160 / 485.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.2726, allocations: 83.89 kB / 485.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.2747, allocations: 1.09 MB / 486.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/0.2748, allocations: 19.98 kB / 486.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/0.2874, allocations: 6.271 MB / 492.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2874, allocations: 0 / 492.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008029/0.2955, allocations: 3.207 MB / 496 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.2958, allocations: 220.3 kB / 496.3 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2959, allocations: 31.98 kB / 496.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.2965, allocations: 91.88 kB / 496.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.2969, allocations: 172.2 kB / 496.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.2969, allocations: 23.98 kB / 496.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.2972, allocations: 322.9 kB / 496.9 MB, free: 300 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2972, allocations: 0 / 496.9 MB, free: 300 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006706/0.2979, allocations: 224 kB / 497.1 MB, free: 76 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * Number of discrete variables: 8 ($whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0,system.initime) * 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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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 {(5,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/0.2981, allocations: 139.2 kB / 497.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003707/0.3018, allocations: 1.716 MB / 499 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3018, allocations: 0 / 499 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.3045, allocations: 1.103 MB / 0.4883 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007761/0.3053, allocations: 150.3 kB / 0.4885 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.3079, allocations: 2.036 MB / 0.4905 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.3084, allocations: 0.9931 MB / 0.4914 GB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3086, allocations: 51.42 kB / 0.4915 GB, free: 9.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3086, allocations: 0 / 0.4915 GB, free: 9.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01401/0.3226, allocations: 13.41 MB / 0.5046 GB, free: 12.35 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.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_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGridCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGridCalcHelperMain.o] Error 1