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.001432/0.001432, allocations: 108 kB / 15.61 MB, free: 152 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.001508/0.001508, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3034/0.3034, allocations: 22.35 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.89 kB / 378.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2975, allocations: 54.95 MB / 433.7 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002974/0.3006, allocations: 1.598 MB / 435.3 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006622/0.3013, allocations: 441.5 kB / 435.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.3014, allocations: 0 / 435.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.3014, allocations: 10.03 kB / 435.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.3016, allocations: 29.17 kB / 435.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.7e-05/0.3017, allocations: 18.08 kB / 435.8 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.3018, allocations: 100.8 kB / 435.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3019, allocations: 38.72 kB / 435.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.302, allocations: 41.34 kB / 435.9 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.3021, allocations: 49.08 kB / 436 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3022, allocations: 12.88 kB / 436 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.3022, allocations: 8.531 kB / 436 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.3022, allocations: 22.44 kB / 436 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.3023, allocations: 47.33 kB / 436.1 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3024, allocations: 85.91 kB / 436.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3024, allocations: 4 kB / 436.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3024, allocations: 3.938 kB / 436.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3024, allocations: 4 kB / 436.2 MB, free: 37.11 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.0005023/0.3029, allocations: 399.3 kB / 436.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3029, allocations: 9.812 kB / 436.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.303, allocations: 7.688 kB / 436.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3031, allocations: 198.3 kB / 436.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3031, allocations: 7.156 kB / 436.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3032, allocations: 5.875 kB / 436.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.3033, allocations: 83.84 kB / 436.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3033, allocations: 4 kB / 436.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3033, allocations: 4 kB / 436.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3034, allocations: 2.656 kB / 436.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.3034, allocations: 43.23 kB / 436.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.304, allocations: 372.9 kB / 437.3 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.3042, allocations: 92.36 kB / 437.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.3043, allocations: 42.09 kB / 437.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.3043, allocations: 2.719 kB / 437.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.3043, allocations: 30.56 kB / 437.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.3043, allocations: 0 / 437.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007178/0.305, allocations: 422.7 kB / 437.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3051, allocations: 62.19 kB / 437.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3052, allocations: 145.9 kB / 438.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3052, allocations: 29.7 kB / 438.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.3053, allocations: 106.3 kB / 438.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.3053, allocations: 36.61 kB / 438.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3054, allocations: 30.31 kB / 438.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.3055, allocations: 328.3 kB / 438.6 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.3055, allocations: 22.03 kB / 438.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.3056, allocations: 61.22 kB / 438.7 MB, free: 34.89 MB / 350.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.306, allocations: 237.2 kB / 438.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.306, allocations: 0 / 438.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002112/0.3062, allocations: 160.8 kB / 439 MB, free: 34.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3062, allocations: 7.25 kB / 439.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3063, allocations: 0 / 439.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.3064, allocations: 37.91 kB / 439.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.3065, allocations: 27.73 kB / 439.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.3076, allocations: 1.613 MB / 440.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.3077, allocations: 6.531 kB / 440.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.3077, allocations: 2.531 kB / 440.7 MB, free: 33.01 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 system: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.3078, allocations: 127 kB / 440.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3078, allocations: 9.188 kB / 440.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.3079, allocations: 15.03 kB / 440.9 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3079, allocations: 4.062 kB / 440.9 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.3079, allocations: 6.75 kB / 440.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3079, allocations: 3.281 kB / 440.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.3083, allocations: 434.2 kB / 441.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3083, allocations: 3.938 kB / 441.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.3084, allocations: 16.31 kB / 441.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/0.3085, allocations: 54.7 kB / 441.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3086, allocations: 0 / 441.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008289/0.3094, allocations: 1.616 MB / 443 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3094, allocations: 2.656 kB / 443 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.3097, allocations: 268.7 kB / 443.3 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.3097, allocations: 87.02 kB / 443.4 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3097, allocations: 6.688 kB / 443.4 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.3098, allocations: 4 kB / 443.4 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.3098, allocations: 12.19 kB / 443.4 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3099, allocations: 6.5 kB / 443.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.07e-05/0.3099, allocations: 111.8 kB / 443.5 MB, free: 30.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3099, allocations: 3.719 kB / 443.5 MB, free: 30.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.3103, allocations: 25 kB / 443.5 MB, free: 30.43 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 7.67e-05/0.3103, allocations: 102.1 kB / 443.6 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.3106, allocations: 198.4 kB / 443.8 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3107, allocations: 4.125 kB / 443.8 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3108, allocations: 160.1 kB / 444 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.311, allocations: 13.02 kB / 444 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.3118, allocations: 468.9 kB / 444.5 MB, free: 29.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.312, allocations: 0.7021 MB / 445.2 MB, free: 29.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.312, allocations: 14.22 kB / 445.2 MB, free: 29.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.3121, allocations: 13 kB / 445.2 MB, free: 29.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3121, allocations: 4 kB / 445.2 MB, free: 29.01 MB / 350.1 MB Notification: Performance of Templates: time 0.003757/0.3158, allocations: 1.358 MB / 446.5 MB, free: 28.9 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1)