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.0008528/0.0008526, allocations: 96.09 kB / 17.31 MB, free: 5.941 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.001041/0.001041, allocations: 175.8 kB / 18.21 MB, free: 5.418 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.836/1.836, allocations: 205.4 MB / 224.4 MB, free: 12.93 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1694/0.1694, allocations: 38.05 MB / 310.7 MB, free: 5.879 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.0005219/0.0005223, allocations: 12 kB / 377.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3474, allocations: 56.32 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.006341/0.3538, allocations: 7.356 MB / 441.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.3575, allocations: 2.066 MB / 443.6 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.3581, allocations: 47.69 kB / 443.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.3586, allocations: 139.1 kB / 443.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.3594, allocations: 410.2 kB / 444.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.3601, allocations: 311.6 kB / 444.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.3615, allocations: 2.011 MB / 446.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.3619, allocations: 324.2 kB / 446.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.3625, allocations: 490 kB / 447.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006921/0.3632, allocations: 0.6308 MB / 447.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.3633, allocations: 47.94 kB / 447.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3634, allocations: 40 kB / 448 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.3637, allocations: 359.1 kB / 448.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.364, allocations: 427.7 kB / 448.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.3647, allocations: 0.8962 MB / 449.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3647, allocations: 0 / 449.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3647, allocations: 4 kB / 449.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.3647, allocations: 0 / 449.6 MB, free: 3.105 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.002218/0.3669, allocations: 1.177 MB / 450.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.367, allocations: 12.03 kB / 450.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.3671, allocations: 92 kB / 450.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.3683, allocations: 0.6937 MB / 451.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.3686, allocations: 355 kB / 452 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3688, allocations: 64 kB / 452 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.3711, allocations: 1.208 MB / 453.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3711, allocations: 3.938 kB / 453.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.3712, allocations: 24 kB / 453.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/0.3714, allocations: 45.28 kB / 453.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.3744, allocations: 1.285 MB / 454.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005827/0.3802, allocations: 3.562 MB / 458.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.383, allocations: 1.046 MB / 459.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.3848, allocations: 0.7373 MB / 459.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.3848, allocations: 12.48 kB / 459.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.3865, allocations: 0.7475 MB / 460.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 2.504e-06/0.3865, allocations: 0 / 460.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.02292/0.4094, allocations: 6.983 MB / 467.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002208/0.4097, allocations: 89.61 kB / 467.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.4105, allocations: 477.8 kB / 468.2 MB, free: 64 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/0.4106, allocations: 45.69 kB / 468.3 MB, free: 12 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.411, allocations: 328.2 kB / 468.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.4112, allocations: 197.2 kB / 468.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.4113, allocations: 61.69 kB / 468.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4115, allocations: 370.8 kB / 469.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.4128, allocations: 0.5598 MB / 469.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4142, allocations: 0.6804 MB / 470.4 MB, free: 13.77 MB / 350.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.007703/0.422, allocations: 3.389 MB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.422, allocations: 0 / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00879/0.4308, allocations: 3.053 MB / 476.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.813e-05/0.4309, allocations: 49.69 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4309, allocations: 4 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.4337, allocations: 1.184 MB / 478.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.4342, allocations: 115.7 kB / 478.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.451, allocations: 7.153 MB / 485.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009278/0.452, allocations: 108 kB / 485.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.4521, allocations: 47.91 kB / 485.5 MB, free: 14.43 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0005251/0.4526, allocations: 275.6 kB / 485.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.4527, allocations: 63.25 kB / 485.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008916/0.4616, allocations: 3.011 MB / 488.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4617, allocations: 8 kB / 488.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4617, allocations: 7.938 kB / 488.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.4617, allocations: 3.984 kB / 488.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.4722, allocations: 4.141 MB / 493 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4723, allocations: 0 / 493 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.4727, allocations: 84.05 kB / 493.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.4753, allocations: 1.191 MB / 494.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.4753, allocations: 19.98 kB / 494.3 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/0.4915, allocations: 7.119 MB / 0.4897 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4916, allocations: 0 / 0.4897 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.5023, allocations: 3.848 MB / 0.4935 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.5028, allocations: 220.3 kB / 0.4937 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.503, allocations: 31.98 kB / 0.4937 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.5037, allocations: 131.9 kB / 0.4938 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004423/0.5042, allocations: 160.3 kB / 0.494 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.5043, allocations: 23.98 kB / 0.494 GB, free: 9.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004137/0.5047, allocations: 322.9 kB / 0.4943 GB, free: 9.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5047, allocations: 0 / 0.4943 GB, free: 9.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009029/0.5056, allocations: 224 kB / 0.4945 GB, free: 9.258 MB / 382.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.0002438/0.5059, allocations: 147 kB / 0.4947 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0049/0.5108, allocations: 1.946 MB / 0.4966 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5108, allocations: 0 / 0.4966 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003423/0.5142, allocations: 1.279 MB / 0.4978 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.5152, allocations: 158.3 kB / 0.498 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.5186, allocations: 2.123 MB / 0.5 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.5193, allocations: 0.997 MB / 0.501 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.5194, allocations: 47.42 kB / 0.5011 GB, free: 2.445 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5194, allocations: 0 / 0.5011 GB, free: 2.445 MB / 382.1 MB Notification: Performance of Templates: time 0.01788/0.5373, allocations: 13.34 MB / 0.5141 GB, free: 5.102 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