Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009064/0.0009064, allocations: 106.2 kB / 17.16 MB, free: 6.352 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.0008879/0.0008879, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.177/1.177, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1545/0.1545, allocations: 37.99 MB / 309.2 MB, free: 6.242 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.001157/0.001157, allocations: 63.91 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1822, allocations: 55.24 MB / 430.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.005776/0.188, allocations: 7.73 MB / 438.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.1907, allocations: 2.307 MB / 440.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.1911, allocations: 51.69 kB / 440.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009337/0.1921, allocations: 410.3 kB / 441 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.1926, allocations: 394.3 kB / 441.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.1932, allocations: 307.5 kB / 441.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007358/0.1939, allocations: 1.5 MB / 443.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.1944, allocations: 460.4 kB / 443.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.1947, allocations: 398.2 kB / 444 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.1952, allocations: 0.588 MB / 444.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/0.1953, allocations: 44 kB / 444.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.1957, allocations: 275.5 kB / 444.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.1959, allocations: 347.1 kB / 445.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.1962, allocations: 397.9 kB / 445.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.1966, allocations: 0.7718 MB / 446.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1966, allocations: 8 kB / 446.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1967, allocations: 0 / 446.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1967, allocations: 0 / 446.4 MB, free: 3.82 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001616/0.1983, allocations: 1.117 MB / 447.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1983, allocations: 8.031 kB / 447.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.199, allocations: 135.7 kB / 447.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.1997, allocations: 0.5728 MB / 448.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1997, allocations: 49.69 kB / 448.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.1998, allocations: 76.11 kB / 448.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2009, allocations: 1.006 MB / 449.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.201, allocations: 11.94 kB / 449.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.201, allocations: 20 kB / 449.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.2012, allocations: 73.95 kB / 449.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.2024, allocations: 0.9836 MB / 450.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.2066, allocations: 3.26 MB / 453.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000975/0.2076, allocations: 0.6987 MB / 454.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.2082, allocations: 420 kB / 454.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.2082, allocations: 16.48 kB / 454.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2083, allocations: 39.12 kB / 454.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.786e-06/0.2083, allocations: 0 / 454.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.003353/0.2116, allocations: 2.431 MB / 457.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2117, allocations: 85.73 kB / 457.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.2121, allocations: 453.7 kB / 457.9 MB, free: 8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.2122, allocations: 37.7 kB / 457.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.2124, allocations: 359.5 kB / 458.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.2125, allocations: 256.3 kB / 458.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.2127, allocations: 150.5 kB / 458.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2129, allocations: 382.6 kB / 459 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.2133, allocations: 337.8 kB / 459.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.2139, allocations: 0.5186 MB / 459.9 MB, free: 5.891 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/0.2186, allocations: 2.253 MB / 462.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2186, allocations: 4 kB / 462.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001441/0.22, allocations: 1.09 MB / 463.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2201, allocations: 8 kB / 463.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2201, allocations: 8 kB / 463.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.2202, allocations: 37.3 kB / 463.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.2209, allocations: 195.6 kB / 463.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2219, allocations: 1.39 MB / 464.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.2223, allocations: 43.94 kB / 464.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.2224, allocations: 28 kB / 464.9 MB, free: 0.5781 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 system: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003142/0.2227, allocations: 273.5 kB / 465.2 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.2228, allocations: 67.17 kB / 465.2 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.2242, allocations: 0.9817 MB / 466.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.2242, allocations: 12 kB / 466.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2242, allocations: 3.984 kB / 466.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2242, allocations: 4 kB / 466.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.227, allocations: 2.005 MB / 468.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.227, allocations: 12.02 kB / 468.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.2277, allocations: 151.8 kB / 468.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.975e-05/0.2278, allocations: 36.84 kB / 468.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.2278, allocations: 23.98 kB / 468.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009195/0.2287, allocations: 1.39 MB / 469.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.2288, allocations: 11.88 kB / 469.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.2305, allocations: 1.529 MB / 471.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.2306, allocations: 140.3 kB / 471.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.2307, allocations: 20 kB / 471.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.2311, allocations: 31.97 kB / 471.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.783e-05/0.2312, allocations: 64.36 kB / 471.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.2312, allocations: 28 kB / 471.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002871/0.2315, allocations: 295.1 kB / 472 MB, free: 9.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2315, allocations: 0 / 472 MB, free: 9.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000619/0.2321, allocations: 180 kB / 472.1 MB, free: 8.918 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],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 (75): * Single equations (assignments): 71 * Array equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002258/0.2324, allocations: 159 kB / 472.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.2336, allocations: 0.9469 MB / 473.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2337, allocations: 7.938 kB / 473.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.2343, allocations: 0.529 MB / 473.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.235, allocations: 134.8 kB / 473.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.2378, allocations: 2.353 MB / 476.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.2383, allocations: 1.013 MB / 477.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.2385, allocations: 59.42 kB / 477.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2385, allocations: 3.938 kB / 477.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of Templates: time 0.013/0.2516, allocations: 11.97 MB / 489.3 MB, free: 7.594 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.InverterAvToGridCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGridCalcHelperMain.o] Error 1