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.001004/0.001008, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001032/0.001032, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1231/0.1231, allocations: 22.32 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.34 kB / 380.1 MB, free: 42.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.08598, allocations: 54.95 MB / 435.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002602/0.08861, allocations: 1.604 MB / 436.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006241/0.08926, allocations: 439.1 kB / 437.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.08932, allocations: 4 kB / 437.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.08937, allocations: 11.86 kB / 437.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.08955, allocations: 35.72 kB / 437.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.397e-05/0.08963, allocations: 23.89 kB / 437.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.08975, allocations: 99.64 kB / 437.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.08986, allocations: 24 kB / 437.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.08996, allocations: 43.78 kB / 437.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.09006, allocations: 55.75 kB / 437.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.09009, allocations: 8 kB / 437.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.09011, allocations: 8 kB / 437.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.09014, allocations: 19.86 kB / 437.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.09019, allocations: 43.8 kB / 437.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.09031, allocations: 87.62 kB / 437.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09032, allocations: 4 kB / 437.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09033, allocations: 0 / 437.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09034, allocations: 4 kB / 437.6 MB, free: 11.87 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.0005397/0.09088, allocations: 403.1 kB / 438 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.09092, allocations: 8.031 kB / 438 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.09097, allocations: 16.75 kB / 438 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.09113, allocations: 192.1 kB / 438.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.09115, allocations: 8.375 kB / 438.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.09118, allocations: 8.375 kB / 438.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.09131, allocations: 79.95 kB / 438.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.09132, allocations: 3.984 kB / 438.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.09134, allocations: 4 kB / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.09135, allocations: 7.984 kB / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.09143, allocations: 39.92 kB / 438.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.09195, allocations: 364.5 kB / 438.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.0922, allocations: 94.58 kB / 438.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.09227, allocations: 40.84 kB / 438.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.09229, allocations: 0 / 438.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.09232, allocations: 34.5 kB / 438.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.09232, allocations: 0 / 438.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006695/0.093, allocations: 419.6 kB / 439.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.09304, allocations: 55.5 kB / 439.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.09316, allocations: 149.7 kB / 439.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.09318, allocations: 29.7 kB / 439.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.09324, allocations: 107.9 kB / 439.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.09328, allocations: 43.44 kB / 439.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.09333, allocations: 33.7 kB / 439.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.09342, allocations: 314.8 kB / 440 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.09347, allocations: 31.98 kB / 440 MB, free: 9.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.09354, allocations: 50.56 kB / 440.1 MB, free: 9.113 MB / 318.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.09397, allocations: 247.2 kB / 440.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.09398, allocations: 0 / 440.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002229/0.09421, allocations: 158.2 kB / 440.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.09423, allocations: 4 kB / 440.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.09424, allocations: 0 / 440.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.09439, allocations: 32.83 kB / 440.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.09449, allocations: 27.94 kB / 440.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.09567, allocations: 1.611 MB / 442.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.09575, allocations: 8.094 kB / 442.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.09577, allocations: 8 kB / 442.2 MB, free: 6.848 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 0.0001031/0.09588, allocations: 131.8 kB / 442.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.09592, allocations: 7.906 kB / 442.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.09594, allocations: 12.72 kB / 442.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.09595, allocations: 4 kB / 442.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.09596, allocations: 0 / 442.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.09597, allocations: 4 kB / 442.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.0964, allocations: 436.8 kB / 442.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.09642, allocations: 3.938 kB / 442.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.09651, allocations: 19.98 kB / 442.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.09664, allocations: 40.98 kB / 442.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.09667, allocations: 7.938 kB / 442.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.09768, allocations: 1.608 MB / 444.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.09769, allocations: 0 / 444.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.09797, allocations: 285.9 kB / 444.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.09802, allocations: 85.02 kB / 444.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.09804, allocations: 4 kB / 444.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.09813, allocations: 0 / 444.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.09816, allocations: 15.97 kB / 444.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.09818, allocations: 4 kB / 444.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.223e-05/0.09825, allocations: 117.8 kB / 444.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09826, allocations: 0 / 444.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.09859, allocations: 32 kB / 445 MB, free: 3.793 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 8.045e-05/0.09868, allocations: 99.19 kB / 445.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.09898, allocations: 194.6 kB / 445.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.09899, allocations: 0 / 445.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.09914, allocations: 158.8 kB / 445.4 MB, free: 3.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.09938, allocations: 16 kB / 445.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.1002, allocations: 465.3 kB / 445.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1005, allocations: 0.7045 MB / 446.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.1005, allocations: 8.891 kB / 446.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.1005, allocations: 15.42 kB / 446.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1005, allocations: 0 / 446.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of Templates: time 0.00378/0.1043, allocations: 1.369 MB / 448 MB, free: 0.6875 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 -s cvode -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1)