Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009353, allocations: 90.06 kB / 17.31 MB, free: 5.59 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.001264/0.001264, allocations: 172.7 kB / 18.21 MB, free: 5.195 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.81/1.81, 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.2009/0.2009, allocations: 38.05 MB / 310.7 MB, free: 5.883 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.0005859/0.0005859, allocations: 12 kB / 377.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3377, allocations: 56.33 MB / 434.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005987/0.3438, allocations: 6.897 MB / 441 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.3471, allocations: 1.816 MB / 442.9 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.3478, allocations: 51.62 kB / 442.9 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.3483, allocations: 111.3 kB / 443 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007756/0.3491, allocations: 366.4 kB / 443.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.3495, allocations: 163.8 kB / 443.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009154/0.3505, allocations: 1.395 MB / 444.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.3508, allocations: 237.4 kB / 445.2 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.3512, allocations: 322.4 kB / 445.5 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.3518, allocations: 474.3 kB / 445.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.3519, allocations: 24 kB / 446 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.3519, allocations: 24 kB / 446 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.3522, allocations: 243.3 kB / 446.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.3524, allocations: 312.1 kB / 446.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.3528, allocations: 0.491 MB / 447 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3528, allocations: 0 / 447 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3528, allocations: 0 / 447 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3528, allocations: 0 / 447 MB, free: 5.727 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00139/0.3542, allocations: 0.8435 MB / 447.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3542, allocations: 12.03 kB / 447.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.3544, allocations: 72.09 kB / 447.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.3551, allocations: 0.5218 MB / 448.5 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.3551, allocations: 41.12 kB / 448.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.3552, allocations: 52 kB / 448.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.356, allocations: 0.6249 MB / 449.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.356, allocations: 0 / 449.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.3561, allocations: 16 kB / 449.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.3562, allocations: 36.97 kB / 449.2 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.3568, allocations: 0.5074 MB / 449.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.3592, allocations: 2.241 MB / 452 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.3599, allocations: 0.5008 MB / 452.5 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.3606, allocations: 337.6 kB / 452.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.3606, allocations: 4 kB / 452.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3607, allocations: 38.56 kB / 452.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.824e-06/0.3607, allocations: 0 / 452.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.003486/0.3642, allocations: 1.75 MB / 454.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3643, allocations: 92.92 kB / 454.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.3647, allocations: 421.8 kB / 455.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3648, allocations: 37.7 kB / 455.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.365, allocations: 300.6 kB / 455.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.3652, allocations: 157.7 kB / 455.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.3653, allocations: 57.62 kB / 455.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3655, allocations: 358.8 kB / 456 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.3658, allocations: 189 kB / 456.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.3661, allocations: 307.7 kB / 456.5 MB, free: 11.82 MB / 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.002658/0.3688, allocations: 1.257 MB / 457.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3688, allocations: 4 kB / 457.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001197/0.37, allocations: 0.7068 MB / 458.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3701, allocations: 4 kB / 458.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3701, allocations: 4 kB / 458.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.3705, allocations: 140.8 kB / 458.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.3709, allocations: 108.1 kB / 458.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.3738, allocations: 2.381 MB / 461.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.3742, allocations: 24.03 kB / 461.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.3742, allocations: 23.98 kB / 461.1 MB, free: 6.965 MB / 334.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: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003556/0.3746, allocations: 225.7 kB / 461.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.3747, allocations: 51.34 kB / 461.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.3758, allocations: 0.6542 MB / 462.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3759, allocations: 4 kB / 462.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3759, allocations: 4 kB / 462.1 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3759, allocations: 4 kB / 462.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.3781, allocations: 1.377 MB / 463.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3781, allocations: 4 kB / 463.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.3784, allocations: 75.89 kB / 463.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.3788, allocations: 152.5 kB / 463.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.3789, allocations: 16 kB / 463.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.3816, allocations: 2.365 MB / 466.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.3816, allocations: 7.984 kB / 466.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.383, allocations: 0.9932 MB / 467.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.3832, allocations: 124.5 kB / 467.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.3833, allocations: 12 kB / 467.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3835, allocations: 19.98 kB / 467.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.3836, allocations: 39.97 kB / 467.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.3836, allocations: 23.88 kB / 467.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000354/0.384, allocations: 287.1 kB / 467.5 MB, free: 252 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.384, allocations: 0 / 467.5 MB, free: 252 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006538/0.3847, allocations: 152 kB / 467.7 MB, free: 100 kB / 334.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001908/0.3849, allocations: 111.1 kB / 467.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.386, allocations: 0.6562 MB / 468.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.3861, allocations: 0 / 468.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.3867, allocations: 442.8 kB / 468.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/0.3876, allocations: 122.4 kB / 469 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.39, allocations: 1.692 MB / 470.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.3906, allocations: 0.9256 MB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3907, allocations: 51.42 kB / 471.7 MB, free: 12 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3907, allocations: 0 / 471.7 MB, free: 12 MB / 350.1 MB Notification: Performance of Templates: time 0.01328/0.404, allocations: 9.079 MB / 480.8 MB, free: 2.918 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.InverterAvToGridCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.o] Error 1