Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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.InverterAvToGrid,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.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,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.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 93.78 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.001547/0.001547, allocations: 174.8 kB / 18.21 MB, free: 5.684 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.491/1.491, allocations: 223.2 MB / 242.2 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1988/0.1988, allocations: 38.08 MB / 331.4 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 8 kB / 401.4 MB, free: 34.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 59.16 MB / 460.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008095/0.1406, allocations: 6.909 MB / 467.4 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.1446, allocations: 1.765 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008676/0.1456, allocations: 47.69 kB / 469.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.1461, allocations: 119.2 kB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.1472, allocations: 354.5 kB / 469.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.1478, allocations: 175.7 kB / 469.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1495, allocations: 1.387 MB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004206/0.1499, allocations: 229.5 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007051/0.1507, allocations: 334.3 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008656/0.1515, allocations: 466.4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.178e-05/0.1516, allocations: 24 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.1517, allocations: 28 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.152, allocations: 239.3 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.1524, allocations: 320 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.1529, allocations: 0.4909 MB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1529, allocations: 0 / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.153, allocations: 0 / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.153, allocations: 0 / 473.4 MB, free: 10.21 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00187/0.1548, allocations: 0.8551 MB / 474.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.1549, allocations: 8.031 kB / 474.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.1551, allocations: 68.17 kB / 474.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009133/0.156, allocations: 0.518 MB / 474.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.156, allocations: 41.12 kB / 474.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.79e-05/0.1562, allocations: 55.91 kB / 474.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.1572, allocations: 0.621 MB / 475.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.1573, allocations: 11.88 kB / 475.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.1573, allocations: 20 kB / 475.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.1574, allocations: 32.97 kB / 475.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000871/0.1583, allocations: 0.5113 MB / 476.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.1618, allocations: 2.234 MB / 478.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008591/0.1627, allocations: 0.4932 MB / 478.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/0.1634, allocations: 337.5 kB / 479.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.1635, allocations: 7.984 kB / 479.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.1635, allocations: 34.56 kB / 479.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 4.469e-06/0.1635, allocations: 7.938 kB / 479.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.003628/0.1672, allocations: 1.753 MB / 481 MB, free: 2.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.1672, allocations: 89.05 kB / 481 MB, free: 2.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.1677, allocations: 410 kB / 481.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1678, allocations: 33.7 kB / 481.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.168, allocations: 308.5 kB / 481.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1681, allocations: 157.7 kB / 481.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.1682, allocations: 53.69 kB / 482 MB, free: 1.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1684, allocations: 358.8 kB / 482.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.1687, allocations: 189 kB / 482.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.169, allocations: 307.6 kB / 482.8 MB, free: 320 kB / 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.002573/0.1716, allocations: 1.246 MB / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1716, allocations: 0 / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001168/0.1728, allocations: 0.703 MB / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1728, allocations: 8 kB / 484.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1729, allocations: 4 kB / 484.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/0.1732, allocations: 136.7 kB / 484.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.1737, allocations: 116 kB / 485 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.1765, allocations: 2.385 MB / 487.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.1768, allocations: 20.03 kB / 487.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.1769, allocations: 23.98 kB / 487.5 MB, free: 11.45 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: 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.0003571/0.1772, allocations: 231.8 kB / 487.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.1773, allocations: 47.44 kB / 487.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.1785, allocations: 0.6541 MB / 488.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1785, allocations: 4 kB / 488.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1785, allocations: 8 kB / 488.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1785, allocations: 3.984 kB / 488.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.1806, allocations: 1.393 MB / 489.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1807, allocations: 3.938 kB / 489.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.181, allocations: 75.89 kB / 489.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.1814, allocations: 144.9 kB / 490 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.1815, allocations: 15.98 kB / 490 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.1841, allocations: 2.369 MB / 492.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.1841, allocations: 3.938 kB / 492.4 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.1855, allocations: 0.9885 MB / 493.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1857, allocations: 124.5 kB / 493.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.1857, allocations: 16 kB / 493.5 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.186, allocations: 15.98 kB / 493.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.1861, allocations: 35.95 kB / 493.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.1861, allocations: 19.92 kB / 493.6 MB, free: 5.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000326/0.1864, allocations: 287.1 kB / 493.9 MB, free: 4.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1865, allocations: 7.938 kB / 493.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006434/0.1871, allocations: 148 kB / 494 MB, free: 4.578 MB / 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: 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.0001543/0.1873, allocations: 115 kB / 494.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.1884, allocations: 0.6565 MB / 494.8 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1884, allocations: 0 / 494.8 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.189, allocations: 435.2 kB / 495.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.1899, allocations: 132.7 kB / 495.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.1925, allocations: 1.681 MB / 497 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.1931, allocations: 0.9295 MB / 498 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1932, allocations: 47.42 kB / 498 MB, free: 492 kB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1932, allocations: 0 / 498 MB, free: 492 kB / 366.1 MB Notification: Performance of Templates: time 0.01302/0.2063, allocations: 9.087 MB / 0.4952 GB, free: 7.414 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGridCalcHelperMain.o] Error 1