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.0007169/0.0007169, allocations: 92.16 kB / 16.02 MB, free: 80 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.0007571/0.000757, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.261/1.261, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2123/0.2123, allocations: 22.35 MB / 314.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002889, allocations: 8 kB / 381.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.22, allocations: 55.98 MB / 437.2 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001239/0.2213, allocations: 1.318 MB / 438.5 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005092/0.2218, allocations: 434.8 kB / 438.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.2219, allocations: 4 kB / 438.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.2219, allocations: 7.266 kB / 438.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.2221, allocations: 28.5 kB / 439 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.101e-05/0.2221, allocations: 15.38 kB / 439 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.88e-05/0.2222, allocations: 98.31 kB / 439.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.2223, allocations: 22.48 kB / 439.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.2224, allocations: 47.84 kB / 439.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.2225, allocations: 41.06 kB / 439.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2225, allocations: 3 kB / 439.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.2225, allocations: 6.625 kB / 439.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.2226, allocations: 21.73 kB / 439.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.2226, allocations: 64.3 kB / 439.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.729e-05/0.2227, allocations: 64.91 kB / 439.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2227, allocations: 0 / 439.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2227, allocations: 0 / 439.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.2227, allocations: 2.812 kB / 439.4 MB, free: 36.99 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.0003832/0.2231, allocations: 392.4 kB / 439.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.2231, allocations: 8.562 kB / 439.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.2232, allocations: 10.72 kB / 439.8 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2233, allocations: 194.7 kB / 439.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2233, allocations: 7.906 kB / 439.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2233, allocations: 6.25 kB / 440 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2234, allocations: 85.97 kB / 440 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2235, allocations: 2.906 kB / 440 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.2235, allocations: 4 kB / 440 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2235, allocations: 0 / 440 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.2236, allocations: 41.08 kB / 440.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.224, allocations: 367.7 kB / 440.4 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.2242, allocations: 92.98 kB / 440.5 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.2243, allocations: 41.44 kB / 440.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.2243, allocations: 2.844 kB / 440.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.2243, allocations: 30.56 kB / 440.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.2243, allocations: 0 / 440.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005689/0.2249, allocations: 432.9 kB / 441 MB, free: 35.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.556e-05/0.2249, allocations: 51.41 kB / 441.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.225, allocations: 149.9 kB / 441.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.225, allocations: 32.67 kB / 441.3 MB, free: 35.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.2251, allocations: 98.2 kB / 441.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.2251, allocations: 49.31 kB / 441.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.2251, allocations: 17.66 kB / 441.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.2252, allocations: 325.7 kB / 441.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.2252, allocations: 27.02 kB / 441.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.866e-05/0.2253, allocations: 52 kB / 441.8 MB, free: 34.79 MB / 350.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.2256, allocations: 237.8 kB / 442 MB, free: 34.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2257, allocations: 0 / 442 MB, free: 34.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002076/0.2259, allocations: 165.3 kB / 442.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2259, allocations: 5.875 kB / 442.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2259, allocations: 0 / 442.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.226, allocations: 36.97 kB / 442.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.2261, allocations: 21.16 kB / 442.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008031/0.2269, allocations: 1.445 MB / 443.7 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.227, allocations: 0 / 443.7 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.227, allocations: 13.19 kB / 443.7 MB, free: 33.07 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 (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 7.637e-05/0.2271, allocations: 127.5 kB / 443.9 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.2271, allocations: 11 kB / 443.9 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.2272, allocations: 23.94 kB / 443.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2272, allocations: 0.6562 kB / 443.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2272, allocations: 0 / 443.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2272, allocations: 2.5 kB / 443.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.2276, allocations: 439.3 kB / 444.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2276, allocations: 0 / 444.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.2277, allocations: 19.03 kB / 444.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.2278, allocations: 40.12 kB / 444.4 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2278, allocations: 14.09 kB / 444.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006739/0.2285, allocations: 1.445 MB / 445.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2285, allocations: 4.094 kB / 445.8 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.2287, allocations: 273.5 kB / 446.1 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.2288, allocations: 84.02 kB / 446.2 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2288, allocations: 11.02 kB / 446.2 MB, free: 30.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.2289, allocations: 4 kB / 446.2 MB, free: 30.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.2289, allocations: 11.3 kB / 446.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2289, allocations: 2.875 kB / 446.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.229, allocations: 115.6 kB / 446.3 MB, free: 30.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.229, allocations: 0 / 446.3 MB, free: 30.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.2293, allocations: 27 kB / 446.4 MB, free: 30.66 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 5.582e-05/0.2294, allocations: 100.8 kB / 446.5 MB, free: 30.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.2296, allocations: 196.1 kB / 446.7 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2296, allocations: 0 / 446.7 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.2298, allocations: 155 kB / 446.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.23, allocations: 7.688 kB / 446.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.2307, allocations: 0.5735 MB / 447.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.499e-05/0.2308, allocations: 0.7128 MB / 448.1 MB, free: 29.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.2308, allocations: 13.16 kB / 448.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2308, allocations: 0 / 448.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of Templates: time 0.002585/0.2334, allocations: 1.66 MB / 449.8 MB, free: 29.07 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)