Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008757, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.555/1.555, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3464/0.3464, allocations: 22.35 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 11.98 kB / 380.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3946, allocations: 55.97 MB / 436.5 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001641/0.3963, allocations: 1.295 MB / 437.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005649/0.3969, allocations: 419.6 kB / 438.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.3969, allocations: 0 / 438.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.397, allocations: 10.19 kB / 438.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.3972, allocations: 22.33 kB / 438.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.926e-05/0.3973, allocations: 11.22 kB / 438.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3974, allocations: 98.73 kB / 438.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3975, allocations: 21.34 kB / 438.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.3976, allocations: 36.95 kB / 438.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.3977, allocations: 47.14 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3977, allocations: 3.25 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.3978, allocations: 5.781 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3978, allocations: 13.84 kB / 438.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.3978, allocations: 42.38 kB / 438.6 MB, free: 37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.751e-05/0.3979, allocations: 65.7 kB / 438.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3979, allocations: 0 / 438.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3979, allocations: 0 / 438.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3979, allocations: 0 / 438.6 MB, free: 36.99 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004755/0.3984, allocations: 397.2 kB / 439 MB, free: 36.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3985, allocations: 8.719 kB / 439 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.3985, allocations: 9.719 kB / 439 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3986, allocations: 181.9 kB / 439.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3987, allocations: 14.59 kB / 439.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3987, allocations: 9.781 kB / 439.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3988, allocations: 84.34 kB / 439.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3989, allocations: 0 / 439.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3989, allocations: 3.953 kB / 439.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3989, allocations: 2.938 kB / 439.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.399, allocations: 39.44 kB / 439.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.3995, allocations: 375.5 kB / 439.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.3997, allocations: 96.34 kB / 439.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.3998, allocations: 39.84 kB / 439.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3998, allocations: 3.984 kB / 439.9 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.3999, allocations: 34.56 kB / 439.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3999, allocations: 0 / 439.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000671/0.4005, allocations: 417.3 kB / 440.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.4006, allocations: 55.36 kB / 440.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.4007, allocations: 151.1 kB / 440.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.4007, allocations: 25.7 kB / 440.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.4008, allocations: 100.4 kB / 440.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.4008, allocations: 52.12 kB / 440.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.4008, allocations: 0 / 440.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.4009, allocations: 321 kB / 441 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.4009, allocations: 30 kB / 441 MB, free: 34.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.401, allocations: 52.89 kB / 441.1 MB, free: 34.8 MB / 350.1 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.4013, allocations: 111.5 kB / 441.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4013, allocations: 3 kB / 441.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002093/0.4015, allocations: 145.8 kB / 441.3 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4016, allocations: 9.328 kB / 441.3 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4016, allocations: 4.719 kB / 441.3 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.4017, allocations: 32.72 kB / 441.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.4018, allocations: 32.11 kB / 441.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009435/0.4028, allocations: 1.431 MB / 442.8 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.4029, allocations: 6.906 kB / 442.8 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4029, allocations: 2.406 kB / 442.8 MB, free: 33.23 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: G.deltag:VARIABLE(unit = "rad" fixed = true ) "generator angle wrt port" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: G.Pm = G.Pcmd. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 9.903e-05/0.403, allocations: 137.2 kB / 443 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.403, allocations: 9.5 kB / 443 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.403, allocations: 15.41 kB / 443 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4031, allocations: 96 / 443 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4031, allocations: 6.078 kB / 443 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4031, allocations: 3.984 kB / 443 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.4035, allocations: 435.1 kB / 443.4 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4035, allocations: 2.656 kB / 443.4 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.4036, allocations: 21.33 kB / 443.5 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.4037, allocations: 38.42 kB / 443.5 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4037, allocations: 3.953 kB / 443.5 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007498/0.4045, allocations: 1.455 MB / 445 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4045, allocations: 0 / 445 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.4047, allocations: 263.1 kB / 445.2 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.4048, allocations: 93.72 kB / 445.3 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4048, allocations: 0 / 445.3 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.4049, allocations: 2.688 kB / 445.3 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.4049, allocations: 14.02 kB / 445.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.4049, allocations: 9.766 kB / 445.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.652e-05/0.405, allocations: 110.1 kB / 445.4 MB, free: 30.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.405, allocations: 0 / 445.4 MB, free: 30.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.4054, allocations: 26.72 kB / 445.5 MB, free: 30.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (G.thetap,G.deltag,G.wg) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 8.588e-05/0.4055, allocations: 105 kB / 445.6 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.4058, allocations: 195 kB / 445.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4058, allocations: 7.938 kB / 445.8 MB, free: 30.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.4059, allocations: 157.1 kB / 445.9 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4062, allocations: 9.156 kB / 445.9 MB, free: 30.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.407, allocations: 0.5611 MB / 446.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.4072, allocations: 0.7048 MB / 447.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.4072, allocations: 17.28 kB / 447.2 MB, free: 29.33 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4072, allocations: 0 / 447.2 MB, free: 29.33 MB / 350.1 MB Notification: Performance of Templates: time 0.003223/0.4105, allocations: 1.647 MB / 448.9 MB, free: 29.24 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.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 OMCppAES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_PCalcHelperMain.o OMCppAES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_PCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_PCalcHelperMain.o] Error 1