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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,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=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.000839, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009047/0.0009047, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.172/0.172, allocations: 22.35 MB / 313.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002584/0.0002585, allocations: 11.98 kB / 379.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 55.97 MB / 435.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001131/0.2118, allocations: 1.295 MB / 437.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004509/0.2123, allocations: 425.3 kB / 437.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.2124, allocations: 0 / 437.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.2124, allocations: 7.078 kB / 437.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.2125, allocations: 22.08 kB / 437.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.828e-05/0.2126, allocations: 18.05 kB / 437.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.2127, allocations: 95.12 kB / 437.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.2128, allocations: 19.89 kB / 437.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.2129, allocations: 38.72 kB / 437.8 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.2129, allocations: 37.81 kB / 437.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.213, allocations: 5.844 kB / 437.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.213, allocations: 6.969 kB / 437.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.213, allocations: 21.69 kB / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.213, allocations: 42.2 kB / 437.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.389e-05/0.2131, allocations: 58.8 kB / 438 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2131, allocations: 0 / 438 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2131, allocations: 6.594 kB / 438 MB, free: 36.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.2131, allocations: 0 / 438 MB, free: 36.89 MB / 350.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.0003594/0.2135, allocations: 396 kB / 438.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.594e-05/0.2135, allocations: 7.188 kB / 438.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.2136, allocations: 9.719 kB / 438.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2137, allocations: 189.4 kB / 438.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2137, allocations: 10.75 kB / 438.6 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2137, allocations: 5.906 kB / 438.6 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.2138, allocations: 75 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2138, allocations: 0 / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2138, allocations: 10.77 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2139, allocations: 4 kB / 438.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/0.2139, allocations: 40.09 kB / 438.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.2143, allocations: 370.3 kB / 439.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2145, allocations: 93.09 kB / 439.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.2146, allocations: 43.45 kB / 439.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2146, allocations: 0 / 439.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.899e-06/0.2146, allocations: 30.56 kB / 439.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.2146, allocations: 0 / 439.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005297/0.2152, allocations: 421.8 kB / 439.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.2152, allocations: 57.92 kB / 439.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.2153, allocations: 147.3 kB / 439.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.2153, allocations: 29.7 kB / 439.9 MB, free: 35.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.2153, allocations: 98.17 kB / 440 MB, free: 35.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.2154, allocations: 48.19 kB / 440 MB, free: 35.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2154, allocations: 4 kB / 440 MB, free: 35.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.409e-05/0.2154, allocations: 320.8 kB / 440.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.2155, allocations: 30.39 kB / 440.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.2155, allocations: 54.62 kB / 440.4 MB, free: 34.72 MB / 350.1 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.2158, allocations: 113.9 kB / 440.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2158, allocations: 0 / 440.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001827/0.216, allocations: 142.6 kB / 440.7 MB, free: 34.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.216, allocations: 9.484 kB / 440.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.216, allocations: 2.906 kB / 440.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.2161, allocations: 47.89 kB / 440.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.2162, allocations: 21 kB / 440.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000756/0.217, allocations: 1.446 MB / 442.2 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.2171, allocations: 6.469 kB / 442.2 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2171, allocations: 6.766 kB / 442.2 MB, free: 33.12 MB / 350.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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.2171, allocations: 124.1 kB / 442.3 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.2172, allocations: 9.938 kB / 442.3 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.2172, allocations: 19.03 kB / 442.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2172, allocations: 4 kB / 442.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.2172, allocations: 0 / 442.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2172, allocations: 0 / 442.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.2176, allocations: 433.8 kB / 442.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2176, allocations: 0 / 442.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.2176, allocations: 19.61 kB / 442.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-05/0.2178, allocations: 43.33 kB / 442.9 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2178, allocations: 6.453 kB / 442.9 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006197/0.2184, allocations: 1.46 MB / 444.3 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2184, allocations: 0 / 444.3 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.2186, allocations: 267.7 kB / 444.6 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.2186, allocations: 83.83 kB / 444.7 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2187, allocations: 10.59 kB / 444.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.2188, allocations: 0 / 444.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.2188, allocations: 9.672 kB / 444.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2188, allocations: 10.77 kB / 444.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.717e-05/0.2188, allocations: 109.7 kB / 444.8 MB, free: 30.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2188, allocations: 0 / 444.8 MB, free: 30.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.2192, allocations: 29.34 kB / 444.8 MB, free: 30.72 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 5.11e-05/0.2192, allocations: 103.8 kB / 444.9 MB, free: 30.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.2194, allocations: 199.3 kB / 445.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2194, allocations: 0 / 445.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2195, allocations: 152.7 kB / 445.3 MB, free: 30.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.2198, allocations: 12.14 kB / 445.3 MB, free: 30.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.2204, allocations: 0.5374 MB / 445.8 MB, free: 29.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.848e-05/0.2205, allocations: 0.703 MB / 446.5 MB, free: 29.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.2205, allocations: 6.578 kB / 446.5 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.2206, allocations: 15.84 kB / 446.6 MB, free: 29.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2206, allocations: 4 kB / 446.6 MB, free: 29.26 MB / 350.1 MB Notification: Performance of Templates: time 0.002839/0.2234, allocations: 1.205 MB / 447.8 MB, free: 29.16 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile (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)