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.001315/0.001315, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001495/0.001495, allocations: 212.6 kB / 23.01 MB, free: 4.992 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1076/0.1076, allocations: 24.03 MB / 337.2 MB, free: 11.34 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.002389/0.002389, allocations: 71.89 kB / 472 MB, free: 8.242 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4499, allocations: 59.57 MB / 0.5191 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.002568/0.4525, allocations: 1.478 MB / 0.5205 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007692/0.4532, allocations: 422.7 kB / 0.5209 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.4533, allocations: 4 kB / 0.5209 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.4533, allocations: 7.062 kB / 0.5209 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.4535, allocations: 27.81 kB / 0.521 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.895e-05/0.4536, allocations: 10.33 kB / 0.521 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.4537, allocations: 65.12 kB / 0.521 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.316e-05/0.4537, allocations: 4.188 kB / 0.521 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.4539, allocations: 47.14 kB / 0.5211 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.454, allocations: 32.72 kB / 0.5211 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.454, allocations: 3.344 kB / 0.5211 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.454, allocations: 7.344 kB / 0.5211 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.4541, allocations: 9.797 kB / 0.5211 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.4541, allocations: 29.98 kB / 0.5212 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.4542, allocations: 43.25 kB / 0.5212 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4542, allocations: 0.6562 kB / 0.5212 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4542, allocations: 0 / 0.5212 GB, free: 7.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4542, allocations: 1.281 kB / 0.5212 GB, free: 7.949 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.0006029/0.4548, allocations: 313.4 kB / 0.5215 GB, free: 7.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4549, allocations: 13.67 kB / 0.5215 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.4549, allocations: 8.891 kB / 0.5215 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.455, allocations: 133.7 kB / 0.5217 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4551, allocations: 2.594 kB / 0.5217 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4551, allocations: 10.95 kB / 0.5217 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.4552, allocations: 61.25 kB / 0.5217 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4552, allocations: 0 / 0.5217 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4552, allocations: 1.156 kB / 0.5217 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4552, allocations: 0.9375 kB / 0.5217 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4553, allocations: 32.98 kB / 0.5218 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.4559, allocations: 248.8 kB / 0.522 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.4562, allocations: 88.27 kB / 0.5221 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.4563, allocations: 31.52 kB / 0.5221 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.4563, allocations: 1.25 kB / 0.5221 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.4563, allocations: 33.83 kB / 0.5221 GB, free: 7.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4563, allocations: 3.938 kB / 0.5222 GB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007/0.457, allocations: 317.3 kB / 0.5225 GB, free: 6.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.457, allocations: 56.44 kB / 0.5225 GB, free: 6.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4571, allocations: 130 kB / 0.5226 GB, free: 6.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.4571, allocations: 29.7 kB / 0.5227 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.4572, allocations: 94.92 kB / 0.5228 GB, free: 6.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.4572, allocations: 42.73 kB / 0.5228 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.4572, allocations: 29.17 kB / 0.5228 GB, free: 6.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.4573, allocations: 320 kB / 0.5231 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-05/0.4573, allocations: 27.95 kB / 0.5232 GB, free: 6.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.4574, allocations: 46.53 kB / 0.5232 GB, free: 6.16 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.4578, allocations: 151.3 kB / 0.5233 GB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4578, allocations: 0 / 0.5233 GB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003329/0.4582, allocations: 128.8 kB / 0.5235 GB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4582, allocations: 6.031 kB / 0.5235 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4582, allocations: 5.406 kB / 0.5235 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.4584, allocations: 31.83 kB / 0.5235 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.4585, allocations: 29.83 kB / 0.5235 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.4598, allocations: 1.44 MB / 0.5249 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.4598, allocations: 13.98 kB / 0.525 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4599, allocations: 3.594 kB / 0.525 GB, free: 4.574 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 0.0001129/0.46, allocations: 115.6 kB / 0.5251 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.46, allocations: 11.45 kB / 0.5251 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.46, allocations: 14.97 kB / 0.5251 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.46, allocations: 2.188 kB / 0.5251 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.46, allocations: 0 / 0.5251 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.46, allocations: 5.156 kB / 0.5251 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.4605, allocations: 325.3 kB / 0.5254 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4605, allocations: 0 / 0.5254 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.4605, allocations: 15.88 kB / 0.5254 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.4607, allocations: 39.39 kB / 0.5255 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4607, allocations: 1.781 kB / 0.5255 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008121/0.4615, allocations: 1.45 MB / 0.5269 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4615, allocations: 1 kB / 0.5269 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.4617, allocations: 246.9 kB / 0.5271 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.4618, allocations: 7.703 kB / 0.5271 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4618, allocations: 3.094 kB / 0.5271 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.4619, allocations: 5.094 kB / 0.5271 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.4619, allocations: 15.28 kB / 0.5271 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.4619, allocations: 7.047 kB / 0.5272 GB, free: 2.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.928e-05/0.462, allocations: 104.3 kB / 0.5273 GB, free: 2.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.462, allocations: 0 / 0.5273 GB, free: 2.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.4623, allocations: 24.62 kB / 0.5273 GB, free: 2.43 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 9.346e-05/0.4624, allocations: 102.8 kB / 0.5274 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.4627, allocations: 190 kB / 0.5276 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4627, allocations: 0 / 0.5276 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.4628, allocations: 151.1 kB / 0.5277 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.4631, allocations: 7.391 kB / 0.5277 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.4639, allocations: 417.7 kB / 0.5281 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.9e-05/0.464, allocations: 80.17 kB / 0.5282 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.464, allocations: 6.094 kB / 0.5282 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.464, allocations: 15.88 kB / 0.5282 GB, free: 1.68 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.464, allocations: 0 / 0.5282 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004968/0.469, allocations: 1.203 MB / 0.5294 GB, free: 1.531 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: 5.345594059675932] Failed to read output from testmodel.py, exit status != 0: 0.47858682461082935 0.49529143999999997 0.037672661 Calling exit ...