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.001953/0.001953, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.002208/0.002208, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.713/1.713, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1253/0.1253, allocations: 24.11 MB / 333 MB, free: 12.61 MB / 270.1 MB " [Timeout remaining time 179] 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.00189/0.00189, allocations: 71.89 kB / 466.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.567/0.5689, allocations: 59.56 MB / 0.5135 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.003336/0.5722, allocations: 1.63 MB / 0.515 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000913/0.5731, allocations: 484.2 kB / 0.5155 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.5732, allocations: 1.438 kB / 0.5155 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.5732, allocations: 11.66 kB / 0.5155 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.5733, allocations: 38.39 kB / 0.5156 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.53e-05/0.5734, allocations: 16.55 kB / 0.5156 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.5736, allocations: 104.7 kB / 0.5157 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.5737, allocations: 19.08 kB / 0.5157 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.5739, allocations: 55.31 kB / 0.5157 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.574, allocations: 48.83 kB / 0.5158 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.574, allocations: 11 kB / 0.5158 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.574, allocations: 8.438 kB / 0.5158 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.5741, allocations: 19.61 kB / 0.5158 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.5741, allocations: 48.81 kB / 0.5159 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.5743, allocations: 89.02 kB / 0.516 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5743, allocations: 0.5625 kB / 0.516 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5743, allocations: 0.6875 kB / 0.516 GB, free: 7.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.5743, allocations: 0 / 0.516 GB, free: 7.395 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.0006656/0.575, allocations: 412.1 kB / 0.5164 GB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.575, allocations: 9.594 kB / 0.5164 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.5751, allocations: 18.19 kB / 0.5164 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.5752, allocations: 192.7 kB / 0.5166 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5752, allocations: 4.125 kB / 0.5166 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.5753, allocations: 9.859 kB / 0.5166 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.5755, allocations: 78.8 kB / 0.5166 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5755, allocations: 0 / 0.5166 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.5755, allocations: 6.906 kB / 0.5167 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.5755, allocations: 3.109 kB / 0.5167 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.5756, allocations: 39.47 kB / 0.5167 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.5763, allocations: 375.3 kB / 0.5171 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.5766, allocations: 93.09 kB / 0.5171 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.5767, allocations: 33.59 kB / 0.5172 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.5767, allocations: 5.625 kB / 0.5172 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5767, allocations: 36.27 kB / 0.5172 GB, free: 6.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.5767, allocations: 1.094 kB / 0.5172 GB, free: 6.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008847/0.5776, allocations: 417.2 kB / 0.5176 GB, free: 5.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.5777, allocations: 52.59 kB / 0.5177 GB, free: 5.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.5778, allocations: 151.8 kB / 0.5178 GB, free: 5.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.5778, allocations: 25.7 kB / 0.5178 GB, free: 5.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.5779, allocations: 103.7 kB / 0.5179 GB, free: 5.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.5779, allocations: 48.39 kB / 0.518 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.578, allocations: 28.97 kB / 0.518 GB, free: 5.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.5781, allocations: 321.1 kB / 0.5183 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-05/0.5781, allocations: 29.19 kB / 0.5183 GB, free: 5.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.571e-05/0.5782, allocations: 54.47 kB / 0.5184 GB, free: 5.18 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.5787, allocations: 248.9 kB / 0.5186 GB, free: 5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5787, allocations: 1.344 kB / 0.5186 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002665/0.5789, allocations: 151.5 kB / 0.5188 GB, free: 4.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.579, allocations: 5.156 kB / 0.5188 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.579, allocations: 1.094 kB / 0.5188 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.5792, allocations: 36.67 kB / 0.5188 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.5793, allocations: 26.83 kB / 0.5188 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.5807, allocations: 1.62 MB / 0.5204 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.5807, allocations: 5.75 kB / 0.5204 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.5807, allocations: 7.438 kB / 0.5204 GB, free: 3.281 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.0001339/0.5809, allocations: 131 kB / 0.5206 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.5809, allocations: 9.969 kB / 0.5206 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.5809, allocations: 12.38 kB / 0.5206 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5809, allocations: 1.25 kB / 0.5206 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5809, allocations: 1.891 kB / 0.5206 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.581, allocations: 0.7969 kB / 0.5206 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.5815, allocations: 436.7 kB / 0.521 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5815, allocations: 9.938 kB / 0.521 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.5816, allocations: 20.66 kB / 0.521 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.5818, allocations: 36.86 kB / 0.5211 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5818, allocations: 1.922 kB / 0.5211 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.5829, allocations: 1.618 MB / 0.5226 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5829, allocations: 1.188 kB / 0.5226 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.5833, allocations: 274 kB / 0.5229 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.5833, allocations: 85.61 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.5834, allocations: 3.328 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.059e-05/0.5835, allocations: 6.812 kB / 0.523 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.5835, allocations: 11.58 kB / 0.523 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.5835, allocations: 3.734 kB / 0.523 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.5836, allocations: 115.9 kB / 0.5231 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5836, allocations: 0 / 0.5231 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.5839, allocations: 27.91 kB / 0.5232 GB, free: 0.7188 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 0.0001287/0.5841, allocations: 106.1 kB / 0.5233 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.5845, allocations: 204.6 kB / 0.5235 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5845, allocations: 3.938 kB / 0.5235 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.5847, allocations: 149 kB / 0.5236 GB, free: 352 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.5849, allocations: 12.7 kB / 0.5236 GB, free: 348 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.5859, allocations: 464.1 kB / 0.5241 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.5863, allocations: 0.7068 MB / 0.5247 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.5864, allocations: 9.406 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.5864, allocations: 17.09 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5864, allocations: 0.6562 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Templates: time 0.005811/0.5923, allocations: 1.412 MB / 0.5261 GB, free: 15.16 MB / 398.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.884421281982213] Failed to read output from testmodel.py, exit status != 0: 0.6012594338972121 0.620057727 0.042042908000000004 Calling exit ...