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.0009829/0.0009829, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001161/0.001161, allocations: 177.3 kB / 15.95 MB, free: 216 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.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3863/0.3863, allocations: 22.33 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 12 kB / 379.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3525, allocations: 55.97 MB / 435.8 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001596/0.3542, allocations: 1.269 MB / 437.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005793/0.3548, allocations: 426.6 kB / 437.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.3548, allocations: 0 / 437.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3549, allocations: 7.219 kB / 437.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.3551, allocations: 35.89 kB / 437.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.323e-05/0.3551, allocations: 18.16 kB / 437.5 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.3552, allocations: 62.16 kB / 437.6 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3553, allocations: 16.02 kB / 437.6 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.3554, allocations: 41.81 kB / 437.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.3555, allocations: 37.59 kB / 437.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3556, allocations: 5.938 kB / 437.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.3556, allocations: 7.188 kB / 437.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3556, allocations: 19.2 kB / 437.7 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.3556, allocations: 35.48 kB / 437.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.662e-05/0.3557, allocations: 64.52 kB / 437.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3557, allocations: 3.938 kB / 437.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3557, allocations: 0 / 437.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3558, allocations: 0 / 437.8 MB, free: 36.87 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.0004715/0.3562, allocations: 391.2 kB / 438.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3563, allocations: 8.688 kB / 438.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.3563, allocations: 16.97 kB / 438.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3565, allocations: 183.6 kB / 438.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3565, allocations: 11.62 kB / 438.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3565, allocations: 11.34 kB / 438.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.3566, allocations: 75.19 kB / 438.5 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3567, allocations: 3.938 kB / 438.5 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3567, allocations: 3.953 kB / 438.5 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3567, allocations: 7.031 kB / 438.5 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.3568, allocations: 37.39 kB / 438.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.3573, allocations: 371.9 kB / 438.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3575, allocations: 99.12 kB / 439 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3575, allocations: 2.844 kB / 439 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3575, allocations: 34.08 kB / 439.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.3576, allocations: 0 / 439.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006356/0.3582, allocations: 418.9 kB / 439.5 MB, free: 35.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.3582, allocations: 58.31 kB / 439.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3584, allocations: 146.5 kB / 439.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.3584, allocations: 29.7 kB / 439.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.3584, allocations: 101.2 kB / 439.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.3584, allocations: 41.39 kB / 439.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.3585, allocations: 7.188 kB / 439.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.3585, allocations: 326 kB / 440.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.3586, allocations: 23.12 kB / 440.2 MB, free: 34.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.3586, allocations: 55.61 kB / 440.2 MB, free: 34.7 MB / 350.1 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3589, allocations: 106 kB / 440.3 MB, free: 34.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3589, allocations: 4 kB / 440.3 MB, free: 34.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002005/0.3591, allocations: 155.7 kB / 440.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3592, allocations: 11.83 kB / 440.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3592, allocations: 0 / 440.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.3593, allocations: 31.64 kB / 440.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.3594, allocations: 27.78 kB / 440.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.3607, allocations: 1.443 MB / 442 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.3608, allocations: 10.41 kB / 442 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3608, allocations: 2.312 kB / 442 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 0.0001011/0.3609, allocations: 131.2 kB / 442.2 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.3609, allocations: 9 kB / 442.2 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.361, allocations: 12.14 kB / 442.2 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.361, allocations: 6.844 kB / 442.2 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.361, allocations: 4 kB / 442.2 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.361, allocations: 0 / 442.2 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.3614, allocations: 438.4 kB / 442.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3614, allocations: 0 / 442.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.057e-05/0.3615, allocations: 17.25 kB / 442.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.3617, allocations: 45.86 kB / 442.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3617, allocations: 0 / 442.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008006/0.3625, allocations: 1.467 MB / 444.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3625, allocations: 0 / 444.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.3628, allocations: 288.6 kB / 444.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.3628, allocations: 87.22 kB / 444.5 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3628, allocations: 4 kB / 444.5 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.3629, allocations: 6.609 kB / 444.5 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.3629, allocations: 12.67 kB / 444.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.363, allocations: 2.5 kB / 444.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.91e-05/0.363, allocations: 110.8 kB / 444.6 MB, free: 30.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.363, allocations: 4 kB / 444.6 MB, free: 30.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.3634, allocations: 28.38 kB / 444.7 MB, free: 30.68 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 0.0001083/0.3635, allocations: 103.9 kB / 444.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.3638, allocations: 189.9 kB / 445 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3638, allocations: 2.844 kB / 445 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.364, allocations: 155.6 kB / 445.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3642, allocations: 11.81 kB / 445.1 MB, free: 30.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/0.3651, allocations: 0.5357 MB / 445.7 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.3653, allocations: 0.7046 MB / 446.4 MB, free: 29.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.665e-05/0.3653, allocations: 9.953 kB / 446.4 MB, free: 29.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.3654, allocations: 17.41 kB / 446.4 MB, free: 29.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3654, allocations: 0 / 446.4 MB, free: 29.22 MB / 350.1 MB Notification: Performance of Templates: time 0.003821/0.3692, allocations: 1.202 MB / 447.6 MB, free: 29.12 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: