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.001369/0.001369, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.001563/0.001563, allocations: 220.2 kB / 23.77 MB, free: 4.516 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1125/0.1125, allocations: 24.04 MB / 338 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_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.002169/0.002169, allocations: 63.91 kB / 472.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 59.57 MB / 0.5198 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002428/0.3232, allocations: 1.591 MB / 0.5214 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.3239, allocations: 447.7 kB / 0.5218 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.324, allocations: 1.094 kB / 0.5218 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.324, allocations: 15.53 kB / 0.5218 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.3242, allocations: 33.45 kB / 0.5218 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.266e-05/0.3242, allocations: 16.66 kB / 0.5219 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.3244, allocations: 104.5 kB / 0.522 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3245, allocations: 25.78 kB / 0.522 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3246, allocations: 51.38 kB / 0.522 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.84e-05/0.3247, allocations: 49.39 kB / 0.5221 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3247, allocations: 11.44 kB / 0.5221 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.3248, allocations: 8.344 kB / 0.5221 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.3248, allocations: 18.11 kB / 0.5221 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.3248, allocations: 37.08 kB / 0.5222 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.325, allocations: 90.11 kB / 0.5222 GB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.325, allocations: 0 / 0.5222 GB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.325, allocations: 1.094 kB / 0.5222 GB, free: 7.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.325, allocations: 4 kB / 0.5222 GB, free: 7.762 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.0004888/0.3255, allocations: 331.3 kB / 0.5226 GB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3255, allocations: 9.859 kB / 0.5226 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.3255, allocations: 15.22 kB / 0.5226 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3257, allocations: 134.4 kB / 0.5227 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3257, allocations: 4.281 kB / 0.5227 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.3257, allocations: 10.22 kB / 0.5227 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3258, allocations: 79.47 kB / 0.5228 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3258, allocations: 4 kB / 0.5228 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3259, allocations: 4 kB / 0.5228 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3259, allocations: 2.531 kB / 0.5228 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.3259, allocations: 46.53 kB / 0.5229 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.3264, allocations: 295.5 kB / 0.5231 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.3267, allocations: 88.58 kB / 0.5232 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.3267, allocations: 38.09 kB / 0.5233 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3267, allocations: 2.281 kB / 0.5233 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.3267, allocations: 32.31 kB / 0.5233 GB, free: 6.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3267, allocations: 4 kB / 0.5233 GB, free: 6.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006536/0.3274, allocations: 345.8 kB / 0.5236 GB, free: 6.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.3274, allocations: 57.89 kB / 0.5237 GB, free: 6.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3275, allocations: 143.6 kB / 0.5238 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.3275, allocations: 31.64 kB / 0.5238 GB, free: 6.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.3276, allocations: 98.8 kB / 0.5239 GB, free: 6.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.3276, allocations: 48.33 kB / 0.524 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3277, allocations: 29.94 kB / 0.524 GB, free: 6.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.3277, allocations: 325.2 kB / 0.5243 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.3278, allocations: 29.23 kB / 0.5244 GB, free: 5.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/0.3278, allocations: 50.86 kB / 0.5244 GB, free: 5.883 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.3283, allocations: 170.1 kB / 0.5246 GB, free: 5.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3283, allocations: 0.6094 kB / 0.5246 GB, free: 5.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002298/0.3285, allocations: 147 kB / 0.5247 GB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3285, allocations: 6.141 kB / 0.5247 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3286, allocations: 1.094 kB / 0.5247 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.3287, allocations: 32.47 kB / 0.5247 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3288, allocations: 33.94 kB / 0.5248 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.3299, allocations: 1.481 MB / 0.5262 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.33, allocations: 9.25 kB / 0.5262 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.33, allocations: 4.062 kB / 0.5262 GB, free: 4.25 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.0001145/0.3301, allocations: 129.8 kB / 0.5264 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.3301, allocations: 8.359 kB / 0.5264 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.3301, allocations: 17.92 kB / 0.5264 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3301, allocations: 2.062 kB / 0.5264 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.3301, allocations: 0 / 0.5264 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3301, allocations: 1.719 kB / 0.5264 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.3306, allocations: 372.8 kB / 0.5267 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3306, allocations: 1.312 kB / 0.5267 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.3307, allocations: 17.91 kB / 0.5268 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.3308, allocations: 43.67 kB / 0.5268 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3308, allocations: 6.391 kB / 0.5268 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008284/0.3316, allocations: 1.478 MB / 0.5283 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3316, allocations: 1.188 kB / 0.5283 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3319, allocations: 271.3 kB / 0.5285 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.3319, allocations: 13.28 kB / 0.5285 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.332, allocations: 6.281 kB / 0.5285 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.3321, allocations: 1.766 kB / 0.5285 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.3321, allocations: 17.06 kB / 0.5285 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.3321, allocations: 3.5 kB / 0.5285 GB, free: 2.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.518e-05/0.3322, allocations: 117.4 kB / 0.5287 GB, free: 2.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3322, allocations: 0 / 0.5287 GB, free: 2.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.3325, allocations: 27.34 kB / 0.5287 GB, free: 2.012 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 7.197e-05/0.3326, allocations: 104.5 kB / 0.5288 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.3329, allocations: 203 kB / 0.529 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3329, allocations: 0 / 0.529 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.333, allocations: 155 kB / 0.5291 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.3333, allocations: 9.984 kB / 0.5291 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.3341, allocations: 0.4907 MB / 0.5296 GB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.3e-05/0.3341, allocations: 89.03 kB / 0.5297 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3342, allocations: 12.5 kB / 0.5297 GB, free: 1.176 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3342, allocations: 0 / 0.5297 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Templates: time 0.003703/0.3379, allocations: 1.719 MB / 0.5314 GB, free: 1.055 MB / 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.306925455108285] Failed to read output from testmodel.py, exit status != 0: 0.34597919695079327 0.360490005 0.032410096 Calling exit ...