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.001858/0.001858, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.002264/0.002264, allocations: 157.7 kB / 23.53 MB, free: 0.9023 MB / 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.554/1.554, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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: 18.13 MB / 278.5 MB, free: 11.32 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.783e-06/1.783e-06, allocations: 0 / 354.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.077e-05, allocations: 2.312 kB / 354.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.003082/0.003113, allocations: 1.587 MB / 355.7 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.00402, allocations: 462.8 kB / 356.1 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.00407, allocations: 0 / 356.1 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.481e-05/0.004115, allocations: 11.88 kB / 356.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.004319, allocations: 31.77 kB / 356.2 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.039e-05/0.00439, allocations: 19.97 kB / 356.2 MB, free: 8.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.004543, allocations: 111.5 kB / 356.3 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.004657, allocations: 15.98 kB / 356.3 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.004833, allocations: 43.84 kB / 356.4 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.004937, allocations: 39.88 kB / 356.4 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.004961, allocations: 8 kB / 356.4 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.204e-05/0.004983, allocations: 8 kB / 356.4 MB, free: 8.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.005013, allocations: 27.84 kB / 356.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.005066, allocations: 27.92 kB / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.005232, allocations: 91.67 kB / 356.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005235, allocations: 0 / 356.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005236, allocations: 0 / 356.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.005239, allocations: 0 / 356.6 MB, free: 8.109 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.0006352/0.005875, allocations: 329.9 kB / 356.9 MB, free: 7.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.00591, allocations: 8.922 kB / 356.9 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.005974, allocations: 16.89 kB / 356.9 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.006175, allocations: 145.5 kB / 357.1 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.006197, allocations: 8.375 kB / 357.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.00623, allocations: 4.375 kB / 357.1 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.006406, allocations: 82.22 kB / 357.2 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.006416, allocations: 192 / 357.2 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.006438, allocations: 11.94 kB / 357.2 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.006446, allocations: 4 kB / 357.2 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.006539, allocations: 42.89 kB / 357.2 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.007146, allocations: 284.4 kB / 357.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.007454, allocations: 90.48 kB / 357.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.007531, allocations: 40.94 kB / 357.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.007546, allocations: 0 / 357.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.007575, allocations: 38.55 kB / 357.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.007576, allocations: 0 / 357.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008444/0.00842, allocations: 357.5 kB / 358 MB, free: 6.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.008466, allocations: 51.41 kB / 358.1 MB, free: 6.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.008632, allocations: 145.8 kB / 358.2 MB, free: 6.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.008657, allocations: 29.7 kB / 358.2 MB, free: 6.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.008736, allocations: 100 kB / 358.3 MB, free: 6.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.00878, allocations: 43.62 kB / 358.4 MB, free: 6.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.008842, allocations: 37.7 kB / 358.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.009023, allocations: 318.8 kB / 358.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.009079, allocations: 24 kB / 358.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.009161, allocations: 54.55 kB / 358.8 MB, free: 5.691 MB / 282.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.009655, allocations: 166.7 kB / 359 MB, free: 5.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009656, allocations: 4 kB / 359 MB, free: 5.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003003/0.009956, allocations: 154.3 kB / 359.1 MB, free: 5.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.009981, allocations: 4 kB / 359.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.009986, allocations: 0 / 359.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.01033, allocations: 52.81 kB / 359.2 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01044, allocations: 24 kB / 359.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.0121, allocations: 1.492 MB / 360.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.01217, allocations: 0 / 360.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01218, allocations: 8.031 kB / 360.7 MB, free: 3.672 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.0001403/0.01232, allocations: 122.4 kB / 360.8 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.01237, allocations: 19.89 kB / 360.8 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.01239, allocations: 12.77 kB / 360.8 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.0124, allocations: 0 / 360.8 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.0124, allocations: 4 kB / 360.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.0124, allocations: 4 kB / 360.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.01296, allocations: 368.5 kB / 361.2 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01297, allocations: 0 / 361.2 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.01306, allocations: 16 kB / 361.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003061/0.01337, allocations: 56.86 kB / 361.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01338, allocations: 0 / 361.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.01482, allocations: 1.489 MB / 362.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01482, allocations: 3.938 kB / 362.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.0152, allocations: 273.9 kB / 363 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.01522, allocations: 7.953 kB / 363 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.01524, allocations: 8.094 kB / 363.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01534, allocations: 4 kB / 363.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.01538, allocations: 15.95 kB / 363.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01539, allocations: 4 kB / 363.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.977e-05/0.01549, allocations: 109.8 kB / 363.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01549, allocations: 0 / 363.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.01585, allocations: 28 kB / 363.2 MB, free: 0.9609 MB / 282.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.0001277/0.01597, allocations: 103.1 kB / 363.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.01635, allocations: 206.4 kB / 363.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01635, allocations: 0 / 363.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.01654, allocations: 150.6 kB / 363.7 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.0168, allocations: 12.14 kB / 363.7 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.01767, allocations: 398.1 kB / 364.1 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.01779, allocations: 92.86 kB / 364.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.01783, allocations: 8.969 kB / 364.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.01787, allocations: 12.5 kB / 364.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01787, allocations: 7.938 kB / 364.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of Templates: time 0.004659/0.02253, allocations: 1.355 MB / 365.5 MB, free: 14.55 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=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: 4.425878110923804]