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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 92.42 kB / 20.46 MB, free: 1.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 216.8 kB / 23.77 MB, free: 4.43 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1114/0.1114, allocations: 24.04 MB / 338 MB, free: 11.36 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.91 kB / 472.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2973, allocations: 59.58 MB / 0.5198 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002474/0.2998, allocations: 1.655 MB / 0.5214 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.3005, allocations: 468.3 kB / 0.5219 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.3006, allocations: 1.125 kB / 0.5219 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.3006, allocations: 10.64 kB / 0.5219 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.3008, allocations: 35.06 kB / 0.5219 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.873e-05/0.3009, allocations: 26.84 kB / 0.522 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.301, allocations: 122.8 kB / 0.5221 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3011, allocations: 20.64 kB / 0.5221 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.3013, allocations: 62.33 kB / 0.5222 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3014, allocations: 51.77 kB / 0.5222 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.3014, allocations: 7.906 kB / 0.5222 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.248e-05/0.3014, allocations: 9.719 kB / 0.5222 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.3015, allocations: 19.14 kB / 0.5222 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.3015, allocations: 51.73 kB / 0.5223 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.3017, allocations: 102.1 kB / 0.5224 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3017, allocations: 0 / 0.5224 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3017, allocations: 0.7031 kB / 0.5224 GB, free: 7.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.3017, allocations: 0 / 0.5224 GB, free: 7.637 MB / 382.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.0005245/0.3022, allocations: 355.5 kB / 0.5227 GB, free: 7.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3022, allocations: 9.344 kB / 0.5227 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.3023, allocations: 16.53 kB / 0.5227 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3025, allocations: 149.4 kB / 0.5229 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3025, allocations: 11.94 kB / 0.5229 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.3025, allocations: 9.375 kB / 0.5229 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3026, allocations: 77.03 kB / 0.523 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3026, allocations: 0 / 0.523 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3026, allocations: 5.797 kB / 0.523 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3027, allocations: 2.344 kB / 0.523 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.3027, allocations: 44.53 kB / 0.523 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.3032, allocations: 315.1 kB / 0.5233 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3035, allocations: 93.03 kB / 0.5234 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.3036, allocations: 46.2 kB / 0.5235 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3036, allocations: 1.219 kB / 0.5235 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.3036, allocations: 37.58 kB / 0.5235 GB, free: 6.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.3036, allocations: 2.672 kB / 0.5235 GB, free: 6.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.000661/0.3043, allocations: 376 kB / 0.5239 GB, free: 6.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.3043, allocations: 53.78 kB / 0.5239 GB, free: 6.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3044, allocations: 163.6 kB / 0.5241 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.3044, allocations: 26.83 kB / 0.5241 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.3045, allocations: 109.3 kB / 0.5242 GB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3045, allocations: 48.34 kB / 0.5242 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.3045, allocations: 34.95 kB / 0.5243 GB, free: 6.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.3046, allocations: 326.1 kB / 0.5246 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.3046, allocations: 31.64 kB / 0.5246 GB, free: 5.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.3047, allocations: 53.38 kB / 0.5247 GB, free: 5.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.3051, allocations: 178.3 kB / 0.5248 GB, free: 5.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3051, allocations: 1.094 kB / 0.5248 GB, free: 5.605 MB / 382.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.0003882/0.3055, allocations: 194.8 kB / 0.525 GB, free: 5.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3055, allocations: 10.69 kB / 0.525 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3055, allocations: 0.9688 kB / 0.525 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.3057, allocations: 52.38 kB / 0.5251 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3058, allocations: 22.36 kB / 0.5251 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.3074, allocations: 4.387 MB / 0.5294 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.3075, allocations: 6.125 kB / 0.5294 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3075, allocations: 4.281 kB / 0.5294 GB, free: 1.039 MB / 382.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 9.107e-05/0.3076, allocations: 131.2 kB / 0.5295 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.3076, allocations: 13.38 kB / 0.5295 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.3077, allocations: 16.7 kB / 0.5296 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3077, allocations: 5.219 kB / 0.5296 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3077, allocations: 1.125 kB / 0.5296 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3077, allocations: 0.7969 kB / 0.5296 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.3081, allocations: 384 kB / 0.5299 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3081, allocations: 0.9375 kB / 0.5299 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3082, allocations: 18.84 kB / 0.53 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.3084, allocations: 45.58 kB / 0.53 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3084, allocations: 9.875 kB / 0.53 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.3095, allocations: 1.482 MB / 0.5315 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3095, allocations: 1.094 kB / 0.5315 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.3099, allocations: 284.5 kB / 0.5317 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.3099, allocations: 18.52 kB / 0.5317 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3099, allocations: 6.281 kB / 0.5317 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.31, allocations: 2.234 kB / 0.5318 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.31, allocations: 12.88 kB / 0.5318 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.3101, allocations: 4.156 kB / 0.5318 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.3102, allocations: 116.9 kB / 0.5319 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3102, allocations: 0 / 0.5319 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.3106, allocations: 30.12 kB / 0.5319 GB, free: 14.78 MB / 398.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 0.0001111/0.3107, allocations: 115.6 kB / 0.532 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.3111, allocations: 323.3 kB / 0.5323 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3111, allocations: 0 / 0.5323 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.3113, allocations: 160.1 kB / 0.5325 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3116, allocations: 19.94 kB / 0.5325 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009571/0.3126, allocations: 0.5138 MB / 0.533 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.52e-05/0.3127, allocations: 101.9 kB / 0.5331 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.3127, allocations: 13 kB / 0.5331 GB, free: 13.81 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3127, allocations: 0 / 0.5331 GB, free: 13.81 MB / 398.1 MB Notification: Performance of Templates: time 0.00439/0.3171, allocations: 2.22 MB / 0.5353 GB, free: 13.65 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.575432667974383] Failed to read output from testmodel.py, exit status != 0: 0.32526330975815654 0.340489419 0.035881616000000005 Calling exit ...