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.001143/0.001143, allocations: 100.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 200.4 kB / 16.8 MB, free: 6.82 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.299/1.299, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2037/0.2037, allocations: 22.35 MB / 313 MB, free: 12.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 378.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2517, allocations: 54.94 MB / 433.6 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002783/0.2545, allocations: 1.667 MB / 435.3 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.2552, allocations: 436.4 kB / 435.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.2553, allocations: 6.906 kB / 435.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.222e-05/0.2554, allocations: 7.125 kB / 435.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.2556, allocations: 26.33 kB / 435.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.015e-05/0.2557, allocations: 21.94 kB / 435.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.2558, allocations: 93.92 kB / 435.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.256, allocations: 24.8 kB / 435.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2561, allocations: 53.05 kB / 436 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.734e-05/0.2562, allocations: 39.34 kB / 436 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.2562, allocations: 2.656 kB / 436 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.2563, allocations: 5.5 kB / 436 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.2563, allocations: 21.86 kB / 436 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.2563, allocations: 44.95 kB / 436.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.926e-05/0.2564, allocations: 72.31 kB / 436.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2564, allocations: 0 / 436.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2564, allocations: 0 / 436.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.2565, allocations: 0 / 436.1 MB, free: 36.83 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.0005137/0.257, allocations: 400.6 kB / 436.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.257, allocations: 11.28 kB / 436.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.2571, allocations: 7.688 kB / 436.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2572, allocations: 199.8 kB / 436.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2573, allocations: 7.312 kB / 436.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.2573, allocations: 13.5 kB / 436.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2574, allocations: 81.48 kB / 436.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2574, allocations: 0 / 436.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2574, allocations: 3.234 kB / 436.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2575, allocations: 3.844 kB / 436.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.2575, allocations: 38.84 kB / 436.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.258, allocations: 366.3 kB / 437.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.2583, allocations: 100.8 kB / 437.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.2583, allocations: 39.92 kB / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.2583, allocations: 0 / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.2584, allocations: 37.34 kB / 437.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.2584, allocations: 0 / 437.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006387/0.259, allocations: 424.9 kB / 437.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.259, allocations: 51.41 kB / 437.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.2591, allocations: 145.5 kB / 438 MB, free: 35.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2592, allocations: 28.17 kB / 438.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.2592, allocations: 102.1 kB / 438.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.2592, allocations: 47.92 kB / 438.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.2593, allocations: 33.45 kB / 438.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.2593, allocations: 320.7 kB / 438.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.2594, allocations: 26.11 kB / 438.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.2594, allocations: 52.86 kB / 438.6 MB, free: 34.62 MB / 350.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.2598, allocations: 243.7 kB / 438.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2599, allocations: 0 / 438.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002124/0.2601, allocations: 153.5 kB / 439 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2601, allocations: 12.19 kB / 439 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2601, allocations: 0 / 439 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.2602, allocations: 32.72 kB / 439.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.2603, allocations: 31.55 kB / 439.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008848/0.2612, allocations: 1.44 MB / 440.5 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.2613, allocations: 6.75 kB / 440.5 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.2613, allocations: 12.56 kB / 440.6 MB, free: 32.9 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 8.505e-05/0.2614, allocations: 127 kB / 440.7 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.2615, allocations: 17.11 kB / 440.7 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.2615, allocations: 18.8 kB / 440.7 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2615, allocations: 0 / 440.7 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.2615, allocations: 0 / 440.7 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2615, allocations: 0 / 440.7 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.2619, allocations: 436.5 kB / 441.1 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2619, allocations: 0 / 441.1 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/0.262, allocations: 20.92 kB / 441.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.2621, allocations: 40.62 kB / 441.2 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2621, allocations: 6.781 kB / 441.2 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000707/0.2628, allocations: 1.455 MB / 442.7 MB, free: 30.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2629, allocations: 0 / 442.7 MB, free: 30.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2631, allocations: 266.2 kB / 442.9 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.2631, allocations: 91.36 kB / 443 MB, free: 30.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.2632, allocations: 7.938 kB / 443 MB, free: 30.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.2633, allocations: 2.688 kB / 443 MB, free: 30.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.2633, allocations: 12.95 kB / 443 MB, free: 30.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2633, allocations: 2.938 kB / 443 MB, free: 30.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.869e-05/0.2634, allocations: 112.6 kB / 443.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2634, allocations: 0 / 443.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.2637, allocations: 28.69 kB / 443.2 MB, free: 30.49 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.062e-05/0.2638, allocations: 101.7 kB / 443.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.2641, allocations: 194.9 kB / 443.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2641, allocations: 0 / 443.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2642, allocations: 156.2 kB / 443.6 MB, free: 30.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2645, allocations: 11.92 kB / 443.6 MB, free: 30.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.2652, allocations: 0.5105 MB / 444.1 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.2654, allocations: 0.7081 MB / 444.8 MB, free: 29.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.2654, allocations: 13.12 kB / 444.9 MB, free: 29.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2654, allocations: 3 kB / 444.9 MB, free: 29.02 MB / 350.1 MB Notification: Performance of Templates: time 0.002942/0.2684, allocations: 1.653 MB / 446.5 MB, free: 28.93 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)