Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_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_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008722/0.0008722, allocations: 102.2 kB / 15.71 MB, free: 448 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.001182/0.001182, allocations: 177.3 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.555/1.555, allocations: 223.3 MB / 240.6 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2416/0.2416, allocations: 22.35 MB / 314.1 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 11.94 kB / 380.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3993, allocations: 55.97 MB / 436.5 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002183/0.4016, allocations: 1.351 MB / 437.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000865/0.4025, allocations: 439 kB / 438.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.4026, allocations: 0 / 438.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.4027, allocations: 10.62 kB / 438.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.4029, allocations: 26.36 kB / 438.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.403, allocations: 19 kB / 438.4 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.4033, allocations: 114.1 kB / 438.5 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.4034, allocations: 30.98 kB / 438.5 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.4036, allocations: 39.86 kB / 438.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4037, allocations: 52.31 kB / 438.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.4038, allocations: 3.031 kB / 438.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.614e-05/0.4038, allocations: 5.688 kB / 438.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.4038, allocations: 22.09 kB / 438.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.4039, allocations: 41.7 kB / 438.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.404, allocations: 80.45 kB / 438.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.404, allocations: 3.469 kB / 438.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.404, allocations: 2.875 kB / 438.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.4041, allocations: 0 / 438.8 MB, free: 36.81 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006552/0.4047, allocations: 398.3 kB / 439.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4048, allocations: 11.75 kB / 439.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.4048, allocations: 20.97 kB / 439.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.4051, allocations: 199.5 kB / 439.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4052, allocations: 6.031 kB / 439.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.4052, allocations: 10.03 kB / 439.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4054, allocations: 74.64 kB / 439.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4054, allocations: 3.031 kB / 439.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4054, allocations: 7.953 kB / 439.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4054, allocations: 3.062 kB / 439.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.4055, allocations: 39.06 kB / 439.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.4063, allocations: 394.4 kB / 439.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.4066, allocations: 176.2 kB / 440.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.4067, allocations: 48.69 kB / 440.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.4067, allocations: 2.5 kB / 440.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4068, allocations: 34.78 kB / 440.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.4068, allocations: 3.938 kB / 440.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007914/0.4076, allocations: 439.2 kB / 440.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.4076, allocations: 63.3 kB / 440.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.4078, allocations: 158.5 kB / 440.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.4078, allocations: 29.7 kB / 440.8 MB, free: 35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.4079, allocations: 109.1 kB / 440.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4079, allocations: 48.09 kB / 441 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.4079, allocations: 0 / 441 MB, free: 34.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.408, allocations: 325.2 kB / 441.3 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.408, allocations: 26.97 kB / 441.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.4081, allocations: 62.17 kB / 441.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.4082, allocations: 36.31 kB / 441.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4082, allocations: 0 / 441.4 MB, free: 34.47 MB / 350.1 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pm = G.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ G.Pcmd ; G.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004862/0.4087, allocations: 358 kB / 441.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4087, allocations: 9.156 kB / 441.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4087, allocations: 0 / 441.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.4089, allocations: 53.14 kB / 441.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.902e-05/0.4091, allocations: 23.66 kB / 441.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.4111, allocations: 4.237 MB / 446.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.867e-05/0.4112, allocations: 4 kB / 446.1 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4112, allocations: 9.844 kB / 446.1 MB, free: 29.79 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 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 (14): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.4113, allocations: 123.1 kB / 446.2 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.4114, allocations: 16.36 kB / 446.3 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.4114, allocations: 19.58 kB / 446.3 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4114, allocations: 0 / 446.3 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4114, allocations: 0 / 446.3 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4114, allocations: 3 kB / 446.3 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.4119, allocations: 452.9 kB / 446.7 MB, free: 29.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.412, allocations: 0 / 446.7 MB, free: 29.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/0.4121, allocations: 27.84 kB / 446.7 MB, free: 29.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.4122, allocations: 34.44 kB / 446.8 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4122, allocations: 7 kB / 446.8 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008724/0.4131, allocations: 1.456 MB / 448.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4131, allocations: 96 / 448.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.4134, allocations: 284.4 kB / 448.5 MB, free: 27.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.4135, allocations: 90.59 kB / 448.6 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.4135, allocations: 0 / 448.6 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.4136, allocations: 6.656 kB / 448.6 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.4136, allocations: 10.81 kB / 448.6 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.4136, allocations: 6.562 kB / 448.6 MB, free: 27.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.256e-05/0.4137, allocations: 123.5 kB / 448.8 MB, free: 27.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4137, allocations: 0 / 448.8 MB, free: 27.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000385/0.4141, allocations: 29.19 kB / 448.8 MB, free: 27.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (G.thetap,G.deltag,G.wg,Gact.y) * 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 (9): * Single equations (assignments): 8 * 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 0.0001158/0.4143, allocations: 110.8 kB / 448.9 MB, free: 27.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003901/0.4147, allocations: 323.4 kB / 449.2 MB, free: 27.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4147, allocations: 0 / 449.2 MB, free: 27.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.4148, allocations: 154.4 kB / 449.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.4151, allocations: 23.45 kB / 449.4 MB, free: 26.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/0.4161, allocations: 0.6117 MB / 450 MB, free: 26.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.4164, allocations: 0.7122 MB / 450.7 MB, free: 25.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.4164, allocations: 13.19 kB / 450.7 MB, free: 25.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4164, allocations: 0 / 450.7 MB, free: 25.73 MB / 350.1 MB Notification: Performance of Templates: time 0.004679/0.4211, allocations: 2.14 MB / 452.9 MB, free: 25.6 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_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_1stOrder_prescribed_PCalcHelperMain.o OMCppAES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_PCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_PCalcHelperMain.o] Error 1