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.00161/0.00161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002185/0.002185, allocations: 193.2 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2413/0.2413, allocations: 22.36 MB / 312.3 MB, free: 12.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 378.1 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 54.94 MB / 433 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002692/0.3376, allocations: 1.665 MB / 434.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006504/0.3383, allocations: 453.4 kB / 435.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.3384, allocations: 0 / 435.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.3385, allocations: 11.27 kB / 435.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3387, allocations: 23.16 kB / 435.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.266e-05/0.3388, allocations: 14.17 kB / 435.1 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3389, allocations: 102.8 kB / 435.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.339, allocations: 16.66 kB / 435.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3391, allocations: 48.3 kB / 435.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.3392, allocations: 48.78 kB / 435.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3393, allocations: 5.906 kB / 435.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.3393, allocations: 5.75 kB / 435.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.3393, allocations: 17.06 kB / 435.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.3394, allocations: 41.84 kB / 435.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.3395, allocations: 89.61 kB / 435.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3395, allocations: 0 / 435.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3395, allocations: 0 / 435.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3395, allocations: 3.938 kB / 435.5 MB, free: 36.92 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.0005286/0.3401, allocations: 403.8 kB / 435.9 MB, free: 36.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3401, allocations: 11.69 kB / 435.9 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.3401, allocations: 10.12 kB / 435.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3403, allocations: 199.5 kB / 436.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3403, allocations: 3.469 kB / 436.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3403, allocations: 14.12 kB / 436.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3405, allocations: 83 kB / 436.2 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3405, allocations: 0 / 436.2 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3405, allocations: 7.031 kB / 436.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3405, allocations: 0 / 436.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/0.3406, allocations: 41.06 kB / 436.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.3411, allocations: 362.1 kB / 436.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.3414, allocations: 95.25 kB / 436.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.3414, allocations: 41.86 kB / 436.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.3415, allocations: 4.125 kB / 436.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3415, allocations: 30.56 kB / 436.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.3415, allocations: 2.969 kB / 436.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006854/0.3422, allocations: 416 kB / 437.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.3422, allocations: 58.12 kB / 437.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3423, allocations: 146.4 kB / 437.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3424, allocations: 25.7 kB / 437.4 MB, free: 35.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.3424, allocations: 108.9 kB / 437.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3424, allocations: 41.47 kB / 437.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.3425, allocations: 33.25 kB / 437.6 MB, free: 35.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.3426, allocations: 322.1 kB / 437.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.3426, allocations: 28.53 kB / 438 MB, free: 34.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.593e-05/0.3427, allocations: 48.11 kB / 438 MB, free: 34.71 MB / 350.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.3431, allocations: 246.2 kB / 438.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3431, allocations: 0 / 438.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002158/0.3433, allocations: 159 kB / 438.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3434, allocations: 2.781 kB / 438.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3434, allocations: 2.875 kB / 438.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.3436, allocations: 36.62 kB / 438.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.3437, allocations: 26.3 kB / 438.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.3447, allocations: 1.448 MB / 439.9 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.3448, allocations: 7.906 kB / 439.9 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3448, allocations: 2.812 kB / 439.9 MB, free: 32.99 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 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.000114/0.345, allocations: 135.4 kB / 440.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.345, allocations: 13.91 kB / 440.1 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.345, allocations: 11.66 kB / 440.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.345, allocations: 0 / 440.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.345, allocations: 0 / 440.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.345, allocations: 3.328 kB / 440.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.3454, allocations: 435.4 kB / 440.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3455, allocations: 0 / 440.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.3456, allocations: 22.97 kB / 440.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.3457, allocations: 32.88 kB / 440.6 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3457, allocations: 13.97 kB / 440.6 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007618/0.3465, allocations: 1.457 MB / 442 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3465, allocations: 0 / 442 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.3467, allocations: 267.2 kB / 442.3 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.3468, allocations: 87.33 kB / 442.4 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3468, allocations: 14 kB / 442.4 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.3469, allocations: 2.844 kB / 442.4 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.3469, allocations: 9.938 kB / 442.4 MB, free: 30.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.3469, allocations: 7.719 kB / 442.4 MB, free: 30.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.399e-05/0.347, allocations: 114.8 kB / 442.5 MB, free: 30.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.347, allocations: 0 / 442.5 MB, free: 30.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000334/0.3474, allocations: 27.66 kB / 442.6 MB, free: 30.58 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 (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 8.613e-05/0.3474, allocations: 96.94 kB / 442.6 MB, free: 30.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.3478, allocations: 193.3 kB / 442.8 MB, free: 30.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3478, allocations: 4.125 kB / 442.8 MB, free: 30.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.3479, allocations: 161.6 kB / 443 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3482, allocations: 8.031 kB / 443 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.349, allocations: 492.8 kB / 443.5 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3491, allocations: 0.7044 MB / 444.2 MB, free: 29.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.3492, allocations: 9.922 kB / 444.2 MB, free: 29.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.3492, allocations: 12.5 kB / 444.2 MB, free: 29.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3492, allocations: 7.938 kB / 444.2 MB, free: 29.14 MB / 350.1 MB Notification: Performance of Templates: time 0.003619/0.3528, allocations: 1.256 MB / 445.5 MB, free: 29.03 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)