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.0007881/0.0007882, allocations: 97.12 kB / 16.96 MB, free: 5.605 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.0007998/0.0007998, allocations: 186.6 kB / 17.85 MB, free: 5.277 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.528/1.528, 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.176/0.176, allocations: 38.05 MB / 310.3 MB, free: 6.027 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.0005564/0.0005566, allocations: 15.98 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2906, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006614/0.2972, allocations: 6.894 MB / 440.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004348/0.3016, allocations: 2.187 MB / 442.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007012/0.3024, allocations: 51.69 kB / 442.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.3029, allocations: 170.7 kB / 442.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.304, allocations: 473.5 kB / 443.2 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.305, allocations: 351.4 kB / 443.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008912/0.306, allocations: 1.2 MB / 444.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008234/0.3068, allocations: 0.6406 MB / 445.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004313/0.3072, allocations: 370.3 kB / 445.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.3079, allocations: 0.5608 MB / 446.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.3079, allocations: 36 kB / 446.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.3084, allocations: 195.7 kB / 446.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.3086, allocations: 343.1 kB / 446.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3088, allocations: 161.3 kB / 447.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.3093, allocations: 0.756 MB / 447.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3093, allocations: 0 / 447.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3094, allocations: 0 / 447.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3094, allocations: 0 / 447.8 MB, free: 4.398 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.001748/0.3111, allocations: 0.9921 MB / 448.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3112, allocations: 15.97 kB / 448.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006413/0.3118, allocations: 122.9 kB / 448.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.3126, allocations: 0.5562 MB / 449.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.3127, allocations: 45.3 kB / 449.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.3128, allocations: 79.98 kB / 449.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.314, allocations: 1.006 MB / 450.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.3141, allocations: 3.984 kB / 450.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.3142, allocations: 32 kB / 450.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.3143, allocations: 73.94 kB / 450.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3155, allocations: 0.9719 MB / 451.7 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.3203, allocations: 3.276 MB / 455 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3215, allocations: 0.6828 MB / 455.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.3221, allocations: 423.9 kB / 456.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/0.3222, allocations: 17.42 kB / 456.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.238e-05/0.3223, allocations: 51.05 kB / 456.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.816e-06/0.3223, allocations: 4 kB / 456.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.00412/0.3264, allocations: 2.428 MB / 458.6 MB, free: 9.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.3265, allocations: 93.62 kB / 458.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.327, allocations: 433.8 kB / 459.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.3271, allocations: 37.7 kB / 459.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.3274, allocations: 355.6 kB / 459.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.3276, allocations: 264.2 kB / 459.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3276, allocations: 12 kB / 459.7 MB, free: 8.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.3279, allocations: 382.8 kB / 460.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.3284, allocations: 333.8 kB / 460.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006714/0.3291, allocations: 0.5185 MB / 461 MB, free: 6.742 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.003587/0.3327, allocations: 1.392 MB / 462.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3327, allocations: 4 kB / 462.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001763/0.3344, allocations: 1.09 MB / 463.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3345, allocations: 11.95 kB / 463.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.3345, allocations: 12 kB / 463.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.3347, allocations: 37.31 kB / 463.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.3354, allocations: 195.7 kB / 463.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.3369, allocations: 1.39 MB / 465.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.3373, allocations: 35.97 kB / 465.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.3374, allocations: 35.98 kB / 465.2 MB, free: 2.359 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[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 (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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005695/0.338, allocations: 277.5 kB / 465.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3381, allocations: 63.2 kB / 465.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.3395, allocations: 0.9622 MB / 466.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.3396, allocations: 19.98 kB / 466.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3396, allocations: 0 / 466.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3396, allocations: 3.984 kB / 466.5 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.3427, allocations: 2.01 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3427, allocations: 4 kB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.3433, allocations: 151.7 kB / 468.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.3434, allocations: 32.84 kB / 468.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.3435, allocations: 27.98 kB / 468.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.3447, allocations: 1.39 MB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.3447, allocations: 7.938 kB / 470.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.3468, allocations: 1.514 MB / 471.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.347, allocations: 136.4 kB / 471.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.3471, allocations: 31.92 kB / 471.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.3474, allocations: 35.95 kB / 471.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.3475, allocations: 60.39 kB / 471.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.3476, allocations: 27.98 kB / 471.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003602/0.348, allocations: 299.1 kB / 472.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.348, allocations: 0 / 472.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008009/0.3488, allocations: 184 kB / 472.4 MB, free: 10.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/0.349, allocations: 139 kB / 472.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.3505, allocations: 0.9352 MB / 473.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3505, allocations: 4.062 kB / 473.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.3512, allocations: 0.5209 MB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/0.352, allocations: 135 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.3554, allocations: 2.445 MB / 476.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007879/0.3562, allocations: 1.009 MB / 477.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.3564, allocations: 59.42 kB / 477.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3564, allocations: 0 / 477.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.0176/0.374, allocations: 11.88 MB / 489.5 MB, free: 9.438 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++ 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.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