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.0009358/0.0009356, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.00128/0.00128, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.23/1.23, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1262/0.1262, allocations: 22.33 MB / 313.1 MB, free: 9.121 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 64.77 kB / 378.8 MB, free: 42.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07118/0.07235, allocations: 54.96 MB / 433.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002309/0.07469, allocations: 1.654 MB / 435.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005395/0.07524, allocations: 439.2 kB / 435.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.07529, allocations: 15.88 kB / 435.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.07534, allocations: 3.984 kB / 435.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.0755, allocations: 27.78 kB / 435.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5e-05/0.07556, allocations: 15.92 kB / 436 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.759e-05/0.07566, allocations: 99.7 kB / 436.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.07577, allocations: 27.91 kB / 436.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.07586, allocations: 47.8 kB / 436.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.07595, allocations: 47.77 kB / 436.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.07597, allocations: 8 kB / 436.2 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.07599, allocations: 8 kB / 436.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.07602, allocations: 19.92 kB / 436.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.07606, allocations: 47.72 kB / 436.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.967e-05/0.07615, allocations: 64.11 kB / 436.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.07616, allocations: 0 / 436.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.07616, allocations: 0 / 436.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.07617, allocations: 0 / 436.3 MB, free: 13.05 MB / 318.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.0004736/0.07665, allocations: 407.1 kB / 436.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.07669, allocations: 8.031 kB / 436.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.07672, allocations: 12.75 kB / 436.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.07687, allocations: 204.1 kB / 436.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.07689, allocations: 4.375 kB / 436.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.07691, allocations: 8.375 kB / 436.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.07705, allocations: 83.48 kB / 437 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.07706, allocations: 0 / 437 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.07707, allocations: 0 / 437 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.07708, allocations: 0 / 437 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.07715, allocations: 47.91 kB / 437.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.07763, allocations: 356.6 kB / 437.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.07787, allocations: 102.6 kB / 437.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.07794, allocations: 36.84 kB / 437.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.07796, allocations: 11.97 kB / 437.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.07798, allocations: 30.56 kB / 437.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.07799, allocations: 0 / 437.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006137/0.07861, allocations: 423.2 kB / 438 MB, free: 11.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.07865, allocations: 63.33 kB / 438.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.07876, allocations: 144.2 kB / 438.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.07878, allocations: 25.7 kB / 438.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.07883, allocations: 107.9 kB / 438.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.07886, allocations: 39.45 kB / 438.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.07891, allocations: 33.72 kB / 438.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.079, allocations: 318.8 kB / 438.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.07905, allocations: 27.98 kB / 438.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.07911, allocations: 50.56 kB / 438.8 MB, free: 10.29 MB / 318.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.07952, allocations: 250.3 kB / 439.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.07953, allocations: 0 / 439.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002193/0.07976, allocations: 153.3 kB / 439.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.07978, allocations: 8 kB / 439.2 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.07978, allocations: 0 / 439.2 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.07991, allocations: 32.83 kB / 439.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.08001, allocations: 27.92 kB / 439.3 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.08112, allocations: 1.623 MB / 440.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.08119, allocations: 0 / 440.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.08121, allocations: 4 kB / 440.9 MB, free: 8.027 MB / 318.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 9.557e-05/0.08131, allocations: 132.7 kB / 441 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.08134, allocations: 7.906 kB / 441 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.08137, allocations: 20.78 kB / 441.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.08138, allocations: 4 kB / 441.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.08139, allocations: 4 kB / 441.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.08139, allocations: 0 / 441.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.08184, allocations: 437.1 kB / 441.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.08186, allocations: 3.938 kB / 441.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.08195, allocations: 20.08 kB / 441.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.08207, allocations: 44.81 kB / 441.6 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.0821, allocations: 8 kB / 441.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009557/0.08306, allocations: 1.612 MB / 443.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.08307, allocations: 0 / 443.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.08334, allocations: 269.8 kB / 443.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.08339, allocations: 85.05 kB / 443.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.08341, allocations: 8 kB / 443.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.08351, allocations: 0 / 443.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.08354, allocations: 15.92 kB / 443.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.08355, allocations: 4 kB / 443.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.173e-05/0.08363, allocations: 115.2 kB / 443.7 MB, free: 5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08363, allocations: 0 / 443.7 MB, free: 5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.08395, allocations: 28 kB / 443.7 MB, free: 4.973 MB / 318.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 7.48e-05/0.08403, allocations: 103.4 kB / 443.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.0843, allocations: 194.6 kB / 444 MB, free: 4.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.08432, allocations: 0 / 444 MB, free: 4.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.08446, allocations: 166.7 kB / 444.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.08469, allocations: 11.94 kB / 444.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/0.08547, allocations: 0.5109 MB / 444.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.08569, allocations: 0.7045 MB / 445.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.08573, allocations: 11.44 kB / 445.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.08574, allocations: 3.938 kB / 445.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Templates: time 0.002714/0.08846, allocations: 1.671 MB / 447.1 MB, free: 1.504 MB / 318.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)