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.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.001567/0.001567, allocations: 104.3 kB / 19.72 MB, free: 1.926 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.001963/0.001963, allocations: 208.5 kB / 23.01 MB, free: 4.984 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.1085/0.1085, allocations: 24.04 MB / 337.2 MB, free: 11.44 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_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_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.002205/0.002205, allocations: 67.89 kB / 472 MB, free: 8.273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4748, allocations: 59.57 MB / 0.5191 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002977/0.4778, allocations: 1.582 MB / 0.5206 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008491/0.4786, allocations: 448 kB / 0.5211 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.4787, allocations: 3.938 kB / 0.5211 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.978e-05/0.4787, allocations: 7.703 kB / 0.5211 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.4789, allocations: 36.98 kB / 0.5211 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.187e-05/0.479, allocations: 20.95 kB / 0.5211 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.4792, allocations: 101.5 kB / 0.5212 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.4793, allocations: 25.88 kB / 0.5212 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.4795, allocations: 47.98 kB / 0.5213 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.4796, allocations: 42.75 kB / 0.5213 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.4797, allocations: 8.688 kB / 0.5213 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.4797, allocations: 8.156 kB / 0.5213 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.4797, allocations: 27.11 kB / 0.5214 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.4798, allocations: 36.16 kB / 0.5214 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.4799, allocations: 90.8 kB / 0.5215 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4799, allocations: 0 / 0.5215 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4799, allocations: 1.219 kB / 0.5215 GB, free: 7.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.48, allocations: 0 / 0.5215 GB, free: 7.73 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005878/0.4805, allocations: 335.4 kB / 0.5218 GB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4806, allocations: 10.11 kB / 0.5218 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.4806, allocations: 14.22 kB / 0.5218 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4808, allocations: 129.5 kB / 0.522 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4808, allocations: 7.719 kB / 0.522 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.4808, allocations: 9.219 kB / 0.522 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.481, allocations: 78.31 kB / 0.5221 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.481, allocations: 0 / 0.5221 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.481, allocations: 5.281 kB / 0.5221 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.481, allocations: 5.312 kB / 0.5221 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.4811, allocations: 46.8 kB / 0.5221 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.4816, allocations: 304.5 kB / 0.5224 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.4819, allocations: 84.59 kB / 0.5225 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.482, allocations: 37.48 kB / 0.5225 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.482, allocations: 2.672 kB / 0.5225 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.482, allocations: 35.72 kB / 0.5225 GB, free: 6.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.482, allocations: 0 / 0.5225 GB, free: 6.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007243/0.4827, allocations: 346.5 kB / 0.5229 GB, free: 6.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.4827, allocations: 53.34 kB / 0.5229 GB, free: 6.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.4828, allocations: 145.2 kB / 0.5231 GB, free: 6.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.4829, allocations: 25.7 kB / 0.5231 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.4829, allocations: 102.9 kB / 0.5232 GB, free: 6.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4829, allocations: 45.58 kB / 0.5232 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.483, allocations: 32.14 kB / 0.5233 GB, free: 6.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.483, allocations: 322.5 kB / 0.5236 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.4831, allocations: 25.41 kB / 0.5236 GB, free: 5.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.4832, allocations: 51.02 kB / 0.5236 GB, free: 5.855 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.4836, allocations: 176.7 kB / 0.5238 GB, free: 5.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4836, allocations: 1.062 kB / 0.5238 GB, free: 5.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002528/0.4839, allocations: 150.2 kB / 0.524 GB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4839, allocations: 6.453 kB / 0.524 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4839, allocations: 1.5 kB / 0.524 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.484, allocations: 36.22 kB / 0.524 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.4841, allocations: 22.78 kB / 0.524 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.4852, allocations: 1.488 MB / 0.5255 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.4853, allocations: 10.28 kB / 0.5255 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4853, allocations: 4.297 kB / 0.5255 GB, free: 4.211 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 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.0001038/0.4854, allocations: 134.5 kB / 0.5256 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.4854, allocations: 8.156 kB / 0.5256 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.4854, allocations: 22.44 kB / 0.5256 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.4855, allocations: 5.406 kB / 0.5257 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.4855, allocations: 0 / 0.5257 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4855, allocations: 2.172 kB / 0.5257 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.4859, allocations: 363.8 kB / 0.526 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4859, allocations: 1.812 kB / 0.526 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.486, allocations: 20.36 kB / 0.526 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.4861, allocations: 41.11 kB / 0.5261 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4861, allocations: 2.812 kB / 0.5261 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/0.487, allocations: 1.485 MB / 0.5275 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.487, allocations: 1.969 kB / 0.5275 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.4872, allocations: 271.2 kB / 0.5278 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.4873, allocations: 13.27 kB / 0.5278 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.4873, allocations: 14.98 kB / 0.5278 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.4874, allocations: 1.344 kB / 0.5278 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.4874, allocations: 8.422 kB / 0.5278 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.4874, allocations: 3.312 kB / 0.5278 GB, free: 2.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.4875, allocations: 110.7 kB / 0.5279 GB, free: 1.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4875, allocations: 1.125 kB / 0.5279 GB, free: 1.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.4879, allocations: 26.25 kB / 0.5279 GB, free: 1.973 MB / 382.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 8.583e-05/0.488, allocations: 104.8 kB / 0.528 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.4883, allocations: 202.8 kB / 0.5282 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4883, allocations: 1.125 kB / 0.5282 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.4884, allocations: 149.8 kB / 0.5284 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.4887, allocations: 13.16 kB / 0.5284 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008269/0.4895, allocations: 469.2 kB / 0.5288 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.477e-05/0.4896, allocations: 92.33 kB / 0.5289 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.4896, allocations: 8.078 kB / 0.5289 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.4897, allocations: 17.11 kB / 0.529 GB, free: 1.168 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4897, allocations: 0 / 0.529 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Templates: time 0.00521/0.4949, allocations: 1.417 MB / 0.5303 GB, free: 0.9922 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.368576031178236] Failed to read output from testmodel.py, exit status != 0: 0.5033209249377251 0.519473497 0.036437143000000005 Calling exit ...