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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001866/0.001866, allocations: 194.3 kB / 16.14 MB, free: 6.645 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1988/0.1988, allocations: 22.37 MB / 312.3 MB, free: 12.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 63.91 kB / 378.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3004, allocations: 54.94 MB / 433 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.003169/0.3036, allocations: 1.715 MB / 434.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000834/0.3045, allocations: 463.5 kB / 435.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3046, allocations: 0 / 435.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.108e-05/0.3047, allocations: 7.266 kB / 435.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.3049, allocations: 36.02 kB / 435.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.305, allocations: 21.98 kB / 435.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3052, allocations: 114.3 kB / 435.3 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3054, allocations: 26.02 kB / 435.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3055, allocations: 55.14 kB / 435.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3056, allocations: 54.97 kB / 435.5 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3057, allocations: 5.938 kB / 435.5 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.37e-05/0.3057, allocations: 5.656 kB / 435.5 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.3057, allocations: 22.16 kB / 435.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.3058, allocations: 52.5 kB / 435.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.3059, allocations: 102.1 kB / 435.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3059, allocations: 0 / 435.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3059, allocations: 0 / 435.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3059, allocations: 0 / 435.7 MB, free: 36.85 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.0005777/0.3065, allocations: 428.2 kB / 436.1 MB, free: 36.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3066, allocations: 9.188 kB / 436.1 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.3066, allocations: 14.56 kB / 436.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3068, allocations: 203.4 kB / 436.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3068, allocations: 13.94 kB / 436.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3069, allocations: 9.938 kB / 436.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.307, allocations: 78.75 kB / 436.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.307, allocations: 0 / 436.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3071, allocations: 7.938 kB / 436.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3071, allocations: 2.844 kB / 436.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.3072, allocations: 45.89 kB / 436.5 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.3077, allocations: 391.1 kB / 436.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.308, allocations: 180.2 kB / 437 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.3081, allocations: 39.72 kB / 437.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3081, allocations: 2.812 kB / 437.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.3081, allocations: 34.56 kB / 437.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.3081, allocations: 0 / 437.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007359/0.3089, allocations: 448.7 kB / 437.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.3089, allocations: 54.47 kB / 437.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3091, allocations: 155.1 kB / 437.7 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3091, allocations: 33.64 kB / 437.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.3091, allocations: 109.2 kB / 437.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3092, allocations: 40.59 kB / 437.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.3092, allocations: 37.78 kB / 438 MB, free: 34.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.3093, allocations: 324.9 kB / 438.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.3094, allocations: 28.88 kB / 438.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.3094, allocations: 59.33 kB / 438.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.3099, allocations: 183.6 kB / 438.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3099, allocations: 3.938 kB / 438.5 MB, free: 34.39 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.Pm ; G.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pcmd 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.0004945/0.3104, allocations: 347.5 kB / 438.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3104, allocations: 6.344 kB / 438.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.3104, allocations: 0 / 438.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.3106, allocations: 48.33 kB / 438.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3107, allocations: 31.59 kB / 439 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.3123, allocations: 4.236 MB / 443.2 MB, free: 29.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.3125, allocations: 2.688 kB / 443.2 MB, free: 29.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3125, allocations: 6.594 kB / 443.2 MB, free: 29.72 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.3126, allocations: 136.5 kB / 443.3 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.3126, allocations: 18.75 kB / 443.4 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.3127, allocations: 23.2 kB / 443.4 MB, free: 29.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3127, allocations: 3 kB / 443.4 MB, free: 29.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3127, allocations: 0 / 443.4 MB, free: 29.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3127, allocations: 4 kB / 443.4 MB, free: 29.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.3131, allocations: 456.5 kB / 443.8 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3131, allocations: 2.625 kB / 443.8 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.3133, allocations: 18.19 kB / 443.9 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.3134, allocations: 32.17 kB / 443.9 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3134, allocations: 10.03 kB / 443.9 MB, free: 29.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000764/0.3142, allocations: 1.456 MB / 445.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3142, allocations: 6.875 kB / 445.4 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3145, allocations: 279.2 kB / 445.6 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.3145, allocations: 87.27 kB / 445.7 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3145, allocations: 2.875 kB / 445.7 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3147, allocations: 15.94 kB / 445.7 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3147, allocations: 6.109 kB / 445.7 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3147, allocations: 2.5 kB / 445.7 MB, free: 27.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.3148, allocations: 118.7 kB / 445.9 MB, free: 27.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3148, allocations: 0 / 445.9 MB, free: 27.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000385/0.3152, allocations: 34.47 kB / 445.9 MB, free: 27.29 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 (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 8.37e-05/0.3153, allocations: 101.2 kB / 446 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.3156, allocations: 322.8 kB / 446.3 MB, free: 26.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3156, allocations: 0 / 446.3 MB, free: 26.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3157, allocations: 158.5 kB / 446.5 MB, free: 26.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3161, allocations: 13.34 kB / 446.5 MB, free: 26.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.3169, allocations: 0.539 MB / 447 MB, free: 26.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.317, allocations: 0.7208 MB / 447.7 MB, free: 25.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.862e-05/0.3171, allocations: 10.92 kB / 447.7 MB, free: 25.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.3171, allocations: 13.38 kB / 447.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3171, allocations: 0 / 447.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of Templates: time 0.003906/0.321, allocations: 1.472 MB / 449.2 MB, free: 25.58 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile (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)