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.0008394/0.0008394, allocations: 92.23 kB / 16.95 MB, free: 5.633 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.0008306/0.0008305, allocations: 185.5 kB / 17.85 MB, free: 5.301 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.609/1.609, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1896/0.1896, allocations: 38.05 MB / 310.3 MB, free: 6.023 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.0005553/0.0005554, allocations: 12 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2717, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005137/0.2769, allocations: 6.52 MB / 440 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.2796, allocations: 1.755 MB / 441.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.2801, allocations: 51.69 kB / 441.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.2805, allocations: 154.9 kB / 441.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007189/0.2812, allocations: 441.7 kB / 442.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.2817, allocations: 231.6 kB / 442.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007198/0.2824, allocations: 1.09 MB / 443.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.2827, allocations: 184.3 kB / 443.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.2831, allocations: 342.3 kB / 444.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.2836, allocations: 450.5 kB / 444.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.2836, allocations: 32 kB / 444.7 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.197e-05/0.2837, allocations: 24 kB / 444.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.2839, allocations: 239.3 kB / 444.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/0.284, allocations: 137.4 kB / 445.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.2843, allocations: 0.4909 MB / 445.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.2844, allocations: 3.938 kB / 445.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2844, allocations: 0 / 445.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2844, allocations: 3.938 kB / 445.6 MB, free: 6.676 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.001548/0.2859, allocations: 0.8472 MB / 446.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.286, allocations: 16.03 kB / 446.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.2861, allocations: 71.11 kB / 446.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.2871, allocations: 0.5054 MB / 447 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.2871, allocations: 37 kB / 447 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.2873, allocations: 51.98 kB / 447.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.2883, allocations: 0.6248 MB / 447.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.2884, allocations: 0 / 447.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.2884, allocations: 20 kB / 447.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.2886, allocations: 40.92 kB / 447.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009226/0.2895, allocations: 0.5034 MB / 448.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.2928, allocations: 2.241 MB / 450.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008594/0.2936, allocations: 0.4893 MB / 451 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.2943, allocations: 337.6 kB / 451.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.2944, allocations: 4 kB / 451.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2944, allocations: 38.5 kB / 451.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 3.476e-06/0.2944, allocations: 4 kB / 451.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of matching and sorting (n=47): time 0.004417/0.2989, allocations: 1.769 MB / 453.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.2989, allocations: 85.11 kB / 453.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.2996, allocations: 409.9 kB / 453.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.2996, allocations: 33.7 kB / 453.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.2999, allocations: 300.4 kB / 454 MB, free: 13.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.3002, allocations: 165.6 kB / 454.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3003, allocations: 8 kB / 454.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.3005, allocations: 366.8 kB / 454.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.3009, allocations: 185 kB / 454.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.3015, allocations: 307.6 kB / 455 MB, free: 12.84 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.002669/0.3042, allocations: 0.7762 MB / 455.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3042, allocations: 0 / 455.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001692/0.3059, allocations: 0.6992 MB / 456.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.3059, allocations: 8 kB / 456.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.306, allocations: 7.984 kB / 456.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.3065, allocations: 140.7 kB / 456.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.307, allocations: 107.9 kB / 456.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.3105, allocations: 2.377 MB / 459.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.3109, allocations: 28.02 kB / 459.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.3109, allocations: 23.95 kB / 459.1 MB, free: 8.512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003705/0.3113, allocations: 221.7 kB / 459.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.3114, allocations: 51.44 kB / 459.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.3125, allocations: 0.658 MB / 460.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3125, allocations: 7.953 kB / 460.1 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3125, allocations: 4 kB / 460.1 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3126, allocations: 7.984 kB / 460.1 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3146, allocations: 1.377 MB / 461.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3146, allocations: 96 / 461.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.3149, allocations: 75.89 kB / 461.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/0.3153, allocations: 148.8 kB / 461.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.3153, allocations: 15.98 kB / 461.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.3179, allocations: 2.373 MB / 464.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3179, allocations: 0 / 464.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3193, allocations: 0.9693 MB / 465 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3194, allocations: 124.4 kB / 465.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.3195, allocations: 20.03 kB / 465.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.3197, allocations: 19.98 kB / 465.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.3198, allocations: 39.89 kB / 465.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.3198, allocations: 12 kB / 465.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.3201, allocations: 287.1 kB / 465.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3201, allocations: 0 / 465.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006105/0.3207, allocations: 148 kB / 465.7 MB, free: 1.676 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.3209, allocations: 117.5 kB / 465.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3221, allocations: 0.6607 MB / 466.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3221, allocations: 0 / 466.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.3227, allocations: 438.3 kB / 466.9 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.3234, allocations: 134.7 kB / 467 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.3256, allocations: 1.645 MB / 468.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.3262, allocations: 0.9295 MB / 469.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3263, allocations: 39.44 kB / 469.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3263, allocations: 4 kB / 469.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Templates: time 0.01259/0.3389, allocations: 9.099 MB / 478.7 MB, free: 4.504 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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