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.001693/0.001693, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002283/0.002283, allocations: 220.7 kB / 23.01 MB, free: 4.609 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.1078/0.1078, allocations: 24.12 MB / 337.3 MB, free: 11.48 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.002092/0.002092, allocations: 65.47 kB / 472.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3122, allocations: 59.6 MB / 0.5193 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.00276/0.3149, allocations: 1.709 MB / 0.521 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.3159, allocations: 0.4923 MB / 0.5215 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.3159, allocations: 1.625 kB / 0.5215 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.42e-05/0.316, allocations: 10.92 kB / 0.5215 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.3162, allocations: 34.52 kB / 0.5215 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.179e-05/0.3163, allocations: 28.48 kB / 0.5215 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3165, allocations: 126.2 kB / 0.5217 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3166, allocations: 21.59 kB / 0.5217 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3168, allocations: 56.83 kB / 0.5217 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3169, allocations: 55.77 kB / 0.5218 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3169, allocations: 12.48 kB / 0.5218 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.3169, allocations: 9.219 kB / 0.5218 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.3169, allocations: 19.78 kB / 0.5218 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.317, allocations: 58.75 kB / 0.5219 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.3171, allocations: 96.95 kB / 0.522 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3171, allocations: 1.188 kB / 0.522 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3171, allocations: 4 kB / 0.522 GB, free: 7.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3172, allocations: 3.938 kB / 0.522 GB, free: 7.59 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.0005368/0.3177, allocations: 351.3 kB / 0.5223 GB, free: 7.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3177, allocations: 9.562 kB / 0.5223 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.3178, allocations: 15.94 kB / 0.5224 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.318, allocations: 148.8 kB / 0.5225 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.318, allocations: 15.78 kB / 0.5225 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.318, allocations: 10.75 kB / 0.5225 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3182, allocations: 77.38 kB / 0.5226 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3182, allocations: 0 / 0.5226 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3182, allocations: 4 kB / 0.5226 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3182, allocations: 3.281 kB / 0.5226 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.3183, allocations: 49.31 kB / 0.5226 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.3188, allocations: 360.9 kB / 0.523 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.3191, allocations: 93.41 kB / 0.5231 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.3191, allocations: 41.41 kB / 0.5231 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3192, allocations: 1.156 kB / 0.5231 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.3192, allocations: 36.73 kB / 0.5232 GB, free: 6.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3192, allocations: 0 / 0.5232 GB, free: 6.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007152/0.3199, allocations: 379.5 kB / 0.5235 GB, free: 6.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.3199, allocations: 53.94 kB / 0.5236 GB, free: 6.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.32, allocations: 155.5 kB / 0.5237 GB, free: 6.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.32, allocations: 30.45 kB / 0.5237 GB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.3201, allocations: 104.7 kB / 0.5238 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.3201, allocations: 57.91 kB / 0.5239 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3202, allocations: 29.7 kB / 0.5239 GB, free: 5.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.3202, allocations: 327.3 kB / 0.5242 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.3203, allocations: 27.03 kB / 0.5243 GB, free: 5.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.3203, allocations: 56.12 kB / 0.5243 GB, free: 5.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.3207, allocations: 176.3 kB / 0.5245 GB, free: 5.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3207, allocations: 5.25 kB / 0.5245 GB, free: 5.516 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.0004126/0.3212, allocations: 193.2 kB / 0.5247 GB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3212, allocations: 14.08 kB / 0.5247 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3212, allocations: 1 kB / 0.5247 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.3213, allocations: 56.8 kB / 0.5247 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3215, allocations: 22.2 kB / 0.5248 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.3231, allocations: 4.434 MB / 0.5291 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.861e-05/0.3232, allocations: 6.938 kB / 0.5291 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.3232, allocations: 7.188 kB / 0.5291 GB, free: 0.8711 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 0.0001131/0.3233, allocations: 132.2 kB / 0.5292 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.3233, allocations: 18.39 kB / 0.5293 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.3234, allocations: 16.52 kB / 0.5293 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3234, allocations: 1.125 kB / 0.5293 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3234, allocations: 1.219 kB / 0.5293 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3234, allocations: 1.172 kB / 0.5293 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.3238, allocations: 425.9 kB / 0.5297 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3238, allocations: 5.062 kB / 0.5297 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3239, allocations: 18.22 kB / 0.5297 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.3241, allocations: 40.44 kB / 0.5297 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3241, allocations: 11.11 kB / 0.5298 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.3252, allocations: 1.507 MB / 0.5312 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3253, allocations: 1.25 kB / 0.5312 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.3256, allocations: 284.1 kB / 0.5315 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.3256, allocations: 18.7 kB / 0.5315 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3257, allocations: 2.375 kB / 0.5315 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3258, allocations: 1.938 kB / 0.5315 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.3258, allocations: 16.11 kB / 0.5315 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3258, allocations: 8.062 kB / 0.5315 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.3259, allocations: 116.8 kB / 0.5317 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3259, allocations: 1.156 kB / 0.5317 GB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.3263, allocations: 29.19 kB / 0.5317 GB, free: 14.54 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.0001203/0.3264, allocations: 108.6 kB / 0.5318 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000446/0.3269, allocations: 315.2 kB / 0.5321 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3269, allocations: 0 / 0.5321 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.3271, allocations: 169 kB / 0.5322 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3274, allocations: 20.73 kB / 0.5323 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3284, allocations: 0.528 MB / 0.5328 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3287, allocations: 0.7104 MB / 0.5335 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3288, allocations: 13.09 kB / 0.5335 GB, free: 12.93 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3288, allocations: 0 / 0.5335 GB, free: 12.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004646/0.3334, allocations: 2.169 MB / 0.5356 GB, free: 12.78 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.888731942046434] Failed to read output from testmodel.py, exit status != 0: 0.3424879058729857 0.359442927 0.038918127000000004 Calling exit ...