Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_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_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 102.5 kB / 15.71 MB, free: 440 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.001803/0.001803, allocations: 176.2 kB / 16.58 MB, free: 6.879 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.595/1.595, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2985/0.2985, allocations: 22.36 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005571/0.0005572, allocations: 12 kB / 380.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4292, allocations: 55.98 MB / 436.5 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.001776/0.431, allocations: 1.172 MB / 437.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006144/0.4316, allocations: 397.8 kB / 438.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.4317, allocations: 0 / 438.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.4317, allocations: 3.938 kB / 438.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.432, allocations: 17.31 kB / 438.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.77e-05/0.432, allocations: 14.64 kB / 438.1 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.4321, allocations: 64.91 kB / 438.2 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.4322, allocations: 8.922 kB / 438.2 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.4324, allocations: 26.09 kB / 438.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.4325, allocations: 41.16 kB / 438.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.4325, allocations: 2.812 kB / 438.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.4325, allocations: 2.438 kB / 438.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.4326, allocations: 18.22 kB / 438.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.4326, allocations: 37.48 kB / 438.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.989e-05/0.4327, allocations: 24.22 kB / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.4327, allocations: 3.938 kB / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4327, allocations: 0 / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4327, allocations: 0 / 438.4 MB, free: 37.36 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006259/0.4334, allocations: 368.5 kB / 438.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4334, allocations: 15 kB / 438.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.4335, allocations: 10.81 kB / 438.8 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.4337, allocations: 184 kB / 438.9 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4337, allocations: 6.656 kB / 438.9 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.4338, allocations: 5.562 kB / 438.9 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.4339, allocations: 61.42 kB / 439 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4339, allocations: 0 / 439 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.434, allocations: 3.953 kB / 439 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.434, allocations: 3.234 kB / 439 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.4341, allocations: 31.75 kB / 439 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.4346, allocations: 303.5 kB / 439.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.4349, allocations: 92.34 kB / 439.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.435, allocations: 33.42 kB / 439.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.435, allocations: 0 / 439.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.435, allocations: 34.56 kB / 439.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.435, allocations: 0 / 439.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007253/0.4358, allocations: 384.4 kB / 439.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.4358, allocations: 54.34 kB / 439.9 MB, free: 35.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4359, allocations: 128.1 kB / 440 MB, free: 35.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.436, allocations: 29.7 kB / 440.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.436, allocations: 104.9 kB / 440.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.436, allocations: 48.2 kB / 440.2 MB, free: 35.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.4361, allocations: 3.938 kB / 440.2 MB, free: 35.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.4361, allocations: 324.8 kB / 440.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.4362, allocations: 18.97 kB / 440.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.4362, allocations: 45.39 kB / 440.6 MB, free: 35.27 MB / 350.1 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.4366, allocations: 99.58 kB / 440.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4366, allocations: 0 / 440.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002017/0.4368, allocations: 140.2 kB / 440.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4368, allocations: 2.938 kB / 440.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4368, allocations: 0 / 440.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.437, allocations: 38.52 kB / 440.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.4371, allocations: 25.17 kB / 440.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.4383, allocations: 1.399 MB / 442.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.4384, allocations: 0 / 442.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4384, allocations: 13.25 kB / 442.3 MB, free: 33.73 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: 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: Pm = 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 (12): * Single equations (assignments): 11 * 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 0.0001145/0.4385, allocations: 121.1 kB / 442.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.4386, allocations: 13.52 kB / 442.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.4386, allocations: 8.375 kB / 442.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4386, allocations: 2.594 kB / 442.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4386, allocations: 0 / 442.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4386, allocations: 3.375 kB / 442.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.439, allocations: 384.3 kB / 442.8 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.439, allocations: 0 / 442.8 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.4391, allocations: 13.88 kB / 442.9 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.4392, allocations: 38.91 kB / 442.9 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4392, allocations: 6.312 kB / 442.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007631/0.44, allocations: 1.418 MB / 444.3 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.44, allocations: 4.188 kB / 444.3 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.4402, allocations: 247.7 kB / 444.6 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.4402, allocations: 84.02 kB / 444.6 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4403, allocations: 4 kB / 444.7 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.4403, allocations: 6.5 kB / 444.7 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.4404, allocations: 6.5 kB / 444.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4404, allocations: 9.906 kB / 444.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.667e-05/0.4404, allocations: 95.91 kB / 444.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.4404, allocations: 0 / 444.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.4408, allocations: 27.28 kB / 444.8 MB, free: 31.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (thetap,deltag,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 (7): * Single equations (assignments): 6 * 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.152e-05/0.4409, allocations: 99.91 kB / 444.9 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.4411, allocations: 196.1 kB / 445.1 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4411, allocations: 0 / 445.1 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.4413, allocations: 149.4 kB / 445.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.4415, allocations: 12.17 kB / 445.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.4422, allocations: 0.502 MB / 445.7 MB, free: 30.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.4424, allocations: 0.6965 MB / 446.4 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.4424, allocations: 16.31 kB / 446.5 MB, free: 29.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4424, allocations: 3.938 kB / 446.5 MB, free: 29.97 MB / 350.1 MB Notification: Performance of Templates: time 0.002867/0.4453, allocations: 1.324 MB / 447.8 MB, free: 29.91 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_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_prescribed_PCalcHelperMain.o OMCppAES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_PCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_PCalcHelperMain.o] Error 1