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.001138/0.001138, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001255/0.001255, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2599/0.2599, allocations: 22.33 MB / 313.3 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 4 kB / 379.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3893, allocations: 55.98 MB / 435.8 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002058/0.3914, allocations: 1.327 MB / 437.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006796/0.3921, allocations: 442.1 kB / 437.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.3922, allocations: 3.938 kB / 437.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.3923, allocations: 3.938 kB / 437.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.3925, allocations: 32.53 kB / 437.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.12e-05/0.3925, allocations: 21.41 kB / 437.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.3927, allocations: 77.45 kB / 437.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3928, allocations: 25.56 kB / 437.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.3929, allocations: 52.53 kB / 437.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3931, allocations: 43.03 kB / 437.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3931, allocations: 5.25 kB / 437.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.3931, allocations: 5.656 kB / 437.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.3932, allocations: 20.86 kB / 437.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.3932, allocations: 41.83 kB / 437.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.45e-05/0.3933, allocations: 70.81 kB / 438 MB, free: 36.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3933, allocations: 0 / 438 MB, free: 36.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3933, allocations: 0 / 438 MB, free: 36.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3933, allocations: 7.938 kB / 438 MB, free: 36.78 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.0005565/0.3939, allocations: 405.4 kB / 438.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3939, allocations: 10.81 kB / 438.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.394, allocations: 13.41 kB / 438.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.3942, allocations: 204.9 kB / 438.6 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3943, allocations: 7.031 kB / 438.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.3943, allocations: 9.781 kB / 438.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3944, allocations: 81.36 kB / 438.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3945, allocations: 0 / 438.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3945, allocations: 11.56 kB / 438.7 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3945, allocations: 7.922 kB / 438.7 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.3946, allocations: 37.73 kB / 438.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.3952, allocations: 389.9 kB / 439.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.3955, allocations: 170.2 kB / 439.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3955, allocations: 3 kB / 439.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3955, allocations: 30.56 kB / 439.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.3955, allocations: 4 kB / 439.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007328/0.3963, allocations: 446 kB / 439.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3963, allocations: 58.34 kB / 439.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3964, allocations: 162.2 kB / 440 MB, free: 35.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3965, allocations: 29.64 kB / 440 MB, free: 34.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.3965, allocations: 117.6 kB / 440.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.3966, allocations: 40.84 kB / 440.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.3966, allocations: 4 kB / 440.2 MB, free: 34.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.716e-05/0.3966, allocations: 321.1 kB / 440.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.3967, allocations: 30.05 kB / 440.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.984e-05/0.3968, allocations: 53.2 kB / 440.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.3968, allocations: 45.97 kB / 440.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3968, allocations: 2.344 kB / 440.6 MB, free: 34.46 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.0004546/0.3973, allocations: 350.3 kB / 440.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3973, allocations: 2.875 kB / 440.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3973, allocations: 7 kB / 441 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.3975, allocations: 52.83 kB / 441 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.3977, allocations: 22.53 kB / 441 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.3995, allocations: 4.24 MB / 445.3 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.3996, allocations: 4 kB / 445.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3996, allocations: 5.781 kB / 445.3 MB, free: 29.78 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.0001169/0.3997, allocations: 123.5 kB / 445.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.3998, allocations: 14.75 kB / 445.4 MB, free: 29.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.3998, allocations: 19.91 kB / 445.4 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3998, allocations: 6.891 kB / 445.4 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3998, allocations: 0 / 445.4 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3998, allocations: 3 kB / 445.4 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.4003, allocations: 448.3 kB / 445.9 MB, free: 29.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4003, allocations: 6.844 kB / 445.9 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.4004, allocations: 16.62 kB / 445.9 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.4005, allocations: 37.33 kB / 445.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4005, allocations: 10.81 kB / 445.9 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007737/0.4013, allocations: 1.465 MB / 447.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4013, allocations: 6.188 kB / 447.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.4016, allocations: 306.5 kB / 447.7 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.4017, allocations: 88.27 kB / 447.8 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.4017, allocations: 2.938 kB / 447.8 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.4018, allocations: 4 kB / 447.8 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.4018, allocations: 13.16 kB / 447.8 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.4018, allocations: 2.438 kB / 447.8 MB, free: 27.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.438e-05/0.4019, allocations: 121.2 kB / 447.9 MB, free: 27.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4019, allocations: 0 / 447.9 MB, free: 27.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.4023, allocations: 31 kB / 448 MB, free: 27.32 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 8.754e-05/0.4024, allocations: 99.42 kB / 448.1 MB, free: 27.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.4027, allocations: 332.6 kB / 448.4 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4027, allocations: 3.031 kB / 448.4 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4029, allocations: 149.5 kB / 448.5 MB, free: 26.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.4031, allocations: 18 kB / 448.6 MB, free: 26.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.4039, allocations: 0.5778 MB / 449.1 MB, free: 26.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.4041, allocations: 0.7255 MB / 449.9 MB, free: 25.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.782e-05/0.4041, allocations: 10.12 kB / 449.9 MB, free: 25.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.4042, allocations: 16.94 kB / 449.9 MB, free: 25.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4042, allocations: 0 / 449.9 MB, free: 25.72 MB / 350.1 MB Notification: Performance of Templates: time 0.004236/0.4084, allocations: 1.423 MB / 451.3 MB, free: 25.61 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile Environment - environmentSimulation: (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) Environment - environmentSimulation: