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.001013/0.001013, allocations: 87.56 kB / 20.97 MB, free: 3.586 MB / 18.57 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.001588/0.001588, allocations: 177 kB / 24.28 MB, free: 284 kB / 18.57 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.064/1.064, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.0662/0.0662, allocations: 18.14 MB / 279.2 MB, free: 11.39 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 354.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.88e-05, allocations: 5.406 kB / 354.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.005226/0.005245, allocations: 1.642 MB / 356.5 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.005906, allocations: 474.7 kB / 357 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.005961, allocations: 4 kB / 357 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.006001, allocations: 11.92 kB / 357 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.006177, allocations: 31.72 kB / 357 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.328e-05/0.006231, allocations: 15.97 kB / 357 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.006353, allocations: 111.5 kB / 357.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.006456, allocations: 15.98 kB / 357.1 MB, free: 8.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.006624, allocations: 43.91 kB / 357.2 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.193e-05/0.006716, allocations: 35.83 kB / 357.2 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.006736, allocations: 8 kB / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.00675, allocations: 11.94 kB / 357.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.006774, allocations: 23.91 kB / 357.3 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.006811, allocations: 31.92 kB / 357.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.006927, allocations: 71.72 kB / 357.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006929, allocations: 0 / 357.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006929, allocations: 0 / 357.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.006933, allocations: 0 / 357.4 MB, free: 8.055 MB / 282.7 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.003496/0.01043, allocations: 424.2 kB / 357.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.01047, allocations: 16.91 kB / 357.8 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.01052, allocations: 20.89 kB / 357.8 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.01065, allocations: 136.4 kB / 357.9 MB, free: 7.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.01066, allocations: 8.312 kB / 358 MB, free: 7.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.01068, allocations: 8.375 kB / 358 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.0108, allocations: 77.28 kB / 358 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.01081, allocations: 192 / 358 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.01082, allocations: 3.938 kB / 358 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.01083, allocations: 0 / 358 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.01088, allocations: 27.98 kB / 358.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.01136, allocations: 343.5 kB / 358.4 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.01158, allocations: 83.06 kB / 358.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.01163, allocations: 31.67 kB / 358.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.01164, allocations: 4 kB / 358.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.01166, allocations: 37.39 kB / 358.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.01166, allocations: 0 / 358.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005321/0.01219, allocations: 325.2 kB / 358.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.01222, allocations: 51.41 kB / 358.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.01236, allocations: 193.9 kB / 359.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.01237, allocations: 33.7 kB / 359.1 MB, free: 6.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.01244, allocations: 150.8 kB / 359.3 MB, free: 5.914 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.01247, allocations: 43.64 kB / 359.3 MB, free: 5.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.01252, allocations: 31.38 kB / 359.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.01265, allocations: 0.4961 MB / 359.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.01269, allocations: 19.98 kB / 359.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.01275, allocations: 50.98 kB / 359.9 MB, free: 5.242 MB / 282.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.01294, allocations: 102.8 kB / 360 MB, free: 5.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01294, allocations: 0 / 360 MB, free: 5.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002107/0.01315, allocations: 145.1 kB / 360.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01317, allocations: 4 kB / 360.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01317, allocations: 0 / 360.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.01343, allocations: 43.64 kB / 360.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.01351, allocations: 23.98 kB / 360.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.01508, allocations: 2.028 MB / 362.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.01513, allocations: 0 / 362.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01514, allocations: 8 kB / 362.3 MB, free: 2.75 MB / 282.7 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.0001159/0.01526, allocations: 168.6 kB / 362.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.01529, allocations: 11.95 kB / 362.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.01532, allocations: 24.78 kB / 362.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01532, allocations: 4 kB / 362.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01532, allocations: 0 / 362.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01532, allocations: 0 / 362.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.01574, allocations: 420.2 kB / 362.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01574, allocations: 0 / 362.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.493e-05/0.01582, allocations: 15.94 kB / 362.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.01603, allocations: 55.69 kB / 363 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.01603, allocations: 0 / 363 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.01713, allocations: 2.028 MB / 365 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01713, allocations: 0 / 365 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.01739, allocations: 302.8 kB / 365.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.0174, allocations: 11.95 kB / 365.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01742, allocations: 7.984 kB / 365.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.0175, allocations: 4 kB / 365.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.01753, allocations: 11.92 kB / 365.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-06/0.01754, allocations: 4 kB / 365.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.458e-05/0.01761, allocations: 153.4 kB / 365.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01761, allocations: 0 / 365.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000349/0.01796, allocations: 32.03 kB / 365.5 MB, free: 15.29 MB / 298.7 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.0001064/0.01807, allocations: 107.3 kB / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.01838, allocations: 248.4 kB / 365.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01838, allocations: 4 kB / 365.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.01853, allocations: 217.4 kB / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01877, allocations: 8.406 kB / 366.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009191/0.01969, allocations: 413.2 kB / 366.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.01974, allocations: 67.83 kB / 366.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.01978, allocations: 4.984 kB / 366.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.01982, allocations: 20.48 kB / 366.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01982, allocations: 0 / 366.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Templates: time 0.00405/0.02387, allocations: 1.378 MB / 368 MB, free: 12.74 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1369960058946162]