Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_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.001751/0.001751, 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.001415/0.001415, allocations: 221.8 kB / 23.77 MB, free: 4.422 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1093/0.1093, allocations: 24.03 MB / 338 MB, free: 11.32 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_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_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.00229/0.00229, allocations: 67.89 kB / 472.7 MB, free: 8.219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3116, allocations: 59.57 MB / 0.5198 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.002184/0.3137, allocations: 1.477 MB / 0.5213 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006344/0.3144, allocations: 419.4 kB / 0.5217 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.3144, allocations: 5.094 kB / 0.5217 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.3145, allocations: 5.766 kB / 0.5217 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.3146, allocations: 28.38 kB / 0.5217 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.697e-05/0.3147, allocations: 10.72 kB / 0.5217 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.996e-05/0.3147, allocations: 73.27 kB / 0.5218 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.3148, allocations: 7.531 kB / 0.5218 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.315, allocations: 39.78 kB / 0.5218 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.315, allocations: 32.27 kB / 0.5219 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3151, allocations: 3.312 kB / 0.5219 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.3151, allocations: 3.844 kB / 0.5219 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3151, allocations: 13.17 kB / 0.5219 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3151, allocations: 29.97 kB / 0.5219 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.915e-05/0.3152, allocations: 44.12 kB / 0.522 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3152, allocations: 0.6875 kB / 0.522 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3152, allocations: 4 kB / 0.522 GB, free: 8.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3152, allocations: 1.375 kB / 0.522 GB, free: 8.027 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004469/0.3157, allocations: 308.4 kB / 0.5223 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3157, allocations: 10.72 kB / 0.5223 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.3158, allocations: 9.078 kB / 0.5223 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3159, allocations: 131.7 kB / 0.5224 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3159, allocations: 2.531 kB / 0.5224 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.3159, allocations: 8.844 kB / 0.5224 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3161, allocations: 66.19 kB / 0.5225 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3161, allocations: 0 / 0.5225 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3161, allocations: 5.062 kB / 0.5225 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3161, allocations: 0.9688 kB / 0.5225 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.3162, allocations: 32.17 kB / 0.5225 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.3166, allocations: 248.6 kB / 0.5227 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3169, allocations: 80.94 kB / 0.5228 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.3169, allocations: 31.08 kB / 0.5229 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.317, allocations: 2.766 kB / 0.5229 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.317, allocations: 35.78 kB / 0.5229 GB, free: 7.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.317, allocations: 0 / 0.5229 GB, free: 7.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006896/0.3177, allocations: 318.1 kB / 0.5232 GB, free: 6.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.3177, allocations: 57.47 kB / 0.5232 GB, free: 6.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3178, allocations: 132.7 kB / 0.5234 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3178, allocations: 26.92 kB / 0.5234 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.3179, allocations: 92.62 kB / 0.5235 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.3179, allocations: 47.55 kB / 0.5235 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3179, allocations: 33.42 kB / 0.5236 GB, free: 6.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.318, allocations: 319.8 kB / 0.5239 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.3181, allocations: 23.62 kB / 0.5239 GB, free: 6.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.3181, allocations: 44.89 kB / 0.5239 GB, free: 6.246 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.3185, allocations: 147.9 kB / 0.5241 GB, free: 6.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3185, allocations: 0 / 0.5241 GB, free: 6.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002172/0.3187, allocations: 135.5 kB / 0.5242 GB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3187, allocations: 7.328 kB / 0.5242 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3187, allocations: 0 / 0.5242 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.3189, allocations: 32.25 kB / 0.5242 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.319, allocations: 33.19 kB / 0.5243 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.3199, allocations: 1.438 MB / 0.5257 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.32, allocations: 6.203 kB / 0.5257 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.32, allocations: 3.359 kB / 0.5257 GB, free: 4.668 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: 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: Pm = 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 (12): * Single equations (assignments): 11 * 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 7.181e-05/0.3201, allocations: 130.5 kB / 0.5258 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3201, allocations: 13.31 kB / 0.5258 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.3201, allocations: 10.23 kB / 0.5258 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3201, allocations: 2.219 kB / 0.5258 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3201, allocations: 0.7031 kB / 0.5258 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3201, allocations: 0.5625 kB / 0.5258 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.3204, allocations: 325.2 kB / 0.5261 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3205, allocations: 0.7031 kB / 0.5261 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.3205, allocations: 19.81 kB / 0.5262 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.3206, allocations: 39.33 kB / 0.5262 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3206, allocations: 5.891 kB / 0.5262 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007269/0.3214, allocations: 1.445 MB / 0.5276 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3214, allocations: 4.094 kB / 0.5276 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.3216, allocations: 242.4 kB / 0.5279 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.3216, allocations: 8.859 kB / 0.5279 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3216, allocations: 6.141 kB / 0.5279 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.3217, allocations: 1.406 kB / 0.5279 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.3217, allocations: 14.66 kB / 0.5279 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3218, allocations: 7.484 kB / 0.5279 GB, free: 2.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.3218, allocations: 97.48 kB / 0.528 GB, free: 2.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3218, allocations: 0 / 0.528 GB, free: 2.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.3221, allocations: 24.38 kB / 0.528 GB, free: 2.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (thetap,deltag,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 (7): * Single equations (assignments): 6 * 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 6.499e-05/0.3222, allocations: 108.7 kB / 0.5281 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.3225, allocations: 181.9 kB / 0.5283 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3225, allocations: 0 / 0.5283 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3226, allocations: 148.2 kB / 0.5284 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3228, allocations: 6.125 kB / 0.5284 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.3235, allocations: 453.8 kB / 0.5289 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.536e-05/0.3236, allocations: 88.48 kB / 0.529 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3236, allocations: 12.38 kB / 0.529 GB, free: 1.727 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3236, allocations: 0 / 0.529 GB, free: 1.727 MB / 382.1 MB Notification: Performance of Templates: time 0.003235/0.3269, allocations: 1.401 MB / 0.5303 GB, free: 1.629 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile [Timeout 660] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.559012319892645] Failed to read output from testmodel.py, exit status != 0: 0.33461025170981884 0.348575282 0.030417641000000002 Calling exit ...