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.001725/0.001725, 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.00227/0.00227, allocations: 219.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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.1744/0.1744, allocations: 24.13 MB / 337.3 MB, free: 11.47 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.002012/0.002012, allocations: 67.89 kB / 472.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 59.6 MB / 0.5193 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002681/0.3193, allocations: 1.637 MB / 0.5209 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007846/0.3201, allocations: 488.1 kB / 0.5214 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.3202, allocations: 1.219 kB / 0.5214 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.64e-05/0.3202, allocations: 10.5 kB / 0.5214 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.3204, allocations: 33.53 kB / 0.5214 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.433e-05/0.3205, allocations: 21.05 kB / 0.5214 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.3207, allocations: 104.6 kB / 0.5215 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3208, allocations: 30.95 kB / 0.5216 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.321, allocations: 46.52 kB / 0.5216 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3211, allocations: 51.75 kB / 0.5217 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.3211, allocations: 7.969 kB / 0.5217 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/0.3211, allocations: 9.062 kB / 0.5217 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.3212, allocations: 22.33 kB / 0.5217 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.3212, allocations: 40.44 kB / 0.5217 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.3214, allocations: 89.34 kB / 0.5218 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3214, allocations: 4.516 kB / 0.5218 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3214, allocations: 1.344 kB / 0.5218 GB, free: 7.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3214, allocations: 0 / 0.5218 GB, free: 7.668 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.0005307/0.3219, allocations: 331.2 kB / 0.5222 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.322, allocations: 9.922 kB / 0.5222 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.322, allocations: 14.47 kB / 0.5222 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3221, allocations: 132.3 kB / 0.5223 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3222, allocations: 11.72 kB / 0.5223 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3222, allocations: 5.906 kB / 0.5223 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3223, allocations: 82.19 kB / 0.5224 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3223, allocations: 0 / 0.5224 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3224, allocations: 5.219 kB / 0.5224 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3224, allocations: 3.875 kB / 0.5224 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.3225, allocations: 39.62 kB / 0.5224 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.323, allocations: 349.1 kB / 0.5228 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.3233, allocations: 87.39 kB / 0.5229 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.3234, allocations: 38.45 kB / 0.5229 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3234, allocations: 1.25 kB / 0.5229 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.3234, allocations: 32.08 kB / 0.5229 GB, free: 6.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3234, allocations: 1.219 kB / 0.5229 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006994/0.3241, allocations: 345.4 kB / 0.5233 GB, free: 6.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3241, allocations: 53.27 kB / 0.5233 GB, free: 6.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3243, allocations: 143.3 kB / 0.5234 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.3243, allocations: 29.7 kB / 0.5235 GB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.3243, allocations: 104.5 kB / 0.5236 GB, free: 6.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.3243, allocations: 43.06 kB / 0.5236 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3244, allocations: 29.84 kB / 0.5236 GB, free: 6.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.3244, allocations: 320.7 kB / 0.524 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.3245, allocations: 37.2 kB / 0.524 GB, free: 5.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.3245, allocations: 52.05 kB / 0.524 GB, free: 5.746 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.3249, allocations: 164.1 kB / 0.5242 GB, free: 5.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3249, allocations: 0 / 0.5242 GB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002362/0.3252, allocations: 156.1 kB / 0.5243 GB, free: 5.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3252, allocations: 4.594 kB / 0.5243 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3252, allocations: 1.062 kB / 0.5243 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.3254, allocations: 35.72 kB / 0.5244 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.3255, allocations: 30.5 kB / 0.5244 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.3265, allocations: 1.524 MB / 0.5259 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.3265, allocations: 5.031 kB / 0.5259 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3266, allocations: 9.047 kB / 0.5259 GB, free: 4.062 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 8.809e-05/0.3266, allocations: 127 kB / 0.526 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3267, allocations: 8.781 kB / 0.526 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.3267, allocations: 16.34 kB / 0.5261 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3267, allocations: 1.094 kB / 0.5261 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3267, allocations: 1.156 kB / 0.5261 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3267, allocations: 4.609 kB / 0.5261 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.3271, allocations: 399.7 kB / 0.5264 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3271, allocations: 5.781 kB / 0.5265 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.3272, allocations: 20.33 kB / 0.5265 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.3273, allocations: 44.91 kB / 0.5265 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3273, allocations: 1.859 kB / 0.5265 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008249/0.3282, allocations: 1.508 MB / 0.528 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3282, allocations: 1.094 kB / 0.528 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.3284, allocations: 274.7 kB / 0.5283 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.3285, allocations: 11.97 kB / 0.5283 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3285, allocations: 3 kB / 0.5283 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.3286, allocations: 5.281 kB / 0.5283 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.3286, allocations: 8.266 kB / 0.5283 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3286, allocations: 4.234 kB / 0.5283 GB, free: 1.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.3287, allocations: 114.5 kB / 0.5284 GB, free: 1.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3287, allocations: 4 kB / 0.5284 GB, free: 1.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.329, allocations: 27.69 kB / 0.5284 GB, free: 1.762 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.112e-05/0.3291, allocations: 108.6 kB / 0.5285 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.3294, allocations: 202.9 kB / 0.5287 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3294, allocations: 0 / 0.5287 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3295, allocations: 157.7 kB / 0.5289 GB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3297, allocations: 13.16 kB / 0.5289 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007751/0.3305, allocations: 0.4891 MB / 0.5294 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.3306, allocations: 0.7014 MB / 0.53 GB, free: 308 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.3307, allocations: 22.31 kB / 0.5301 GB, free: 292 kB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3307, allocations: 0 / 0.5301 GB, free: 292 kB / 382.1 MB Notification: Performance of Templates: time 0.003664/0.3343, allocations: 1.689 MB / 0.5317 GB, free: 168 kB / 382.1 MB " [Timeout remaining time 660] 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: 7.820625847904012] Failed to read output from testmodel.py, exit status != 0: 0.34279287210665643 0.35737798299999995 0.033035904000000005 Calling exit ...