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.0008957/0.000896, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008419/0.00842, allocations: 170.2 kB / 16.26 MB, free: 6.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.601/1.601, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.28/0.28, allocations: 22.35 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 12 kB / 380.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3787, allocations: 55.98 MB / 436.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001949/0.3807, allocations: 1.32 MB / 437.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007326/0.3815, allocations: 438.3 kB / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.3816, allocations: 0 / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.3816, allocations: 9.875 kB / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.3818, allocations: 25.27 kB / 438.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.482e-05/0.3819, allocations: 18.23 kB / 438.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3821, allocations: 96.55 kB / 438.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3822, allocations: 20.83 kB / 438.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3824, allocations: 47.8 kB / 438.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3825, allocations: 42.92 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.3825, allocations: 2.938 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.3826, allocations: 5.781 kB / 438.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.3826, allocations: 21.39 kB / 438.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.3827, allocations: 69.61 kB / 438.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.3828, allocations: 79.31 kB / 438.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3828, allocations: 0 / 438.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3828, allocations: 0 / 438.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3828, allocations: 0 / 438.7 MB, free: 36.96 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.0005193/0.3833, allocations: 400.1 kB / 439.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3834, allocations: 9.531 kB / 439.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.3835, allocations: 14.56 kB / 439.1 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3836, allocations: 195.8 kB / 439.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3836, allocations: 5.781 kB / 439.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.3837, allocations: 9.875 kB / 439.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.3838, allocations: 85.94 kB / 439.4 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3838, allocations: 0 / 439.4 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3839, allocations: 4 kB / 439.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3839, allocations: 2.812 kB / 439.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.384, allocations: 35.7 kB / 439.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.3846, allocations: 364.6 kB / 439.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3849, allocations: 93.12 kB / 439.9 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/0.385, allocations: 44.33 kB / 439.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.385, allocations: 2.938 kB / 439.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.385, allocations: 30.56 kB / 440 MB, free: 35.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.385, allocations: 3.938 kB / 440 MB, free: 35.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008497/0.3859, allocations: 420.5 kB / 440.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3859, allocations: 54.31 kB / 440.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.386, allocations: 153.1 kB / 440.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.3861, allocations: 29.7 kB / 440.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.3861, allocations: 93.27 kB / 440.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.3862, allocations: 51.69 kB / 440.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.3862, allocations: 16.72 kB / 440.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.3863, allocations: 321.1 kB / 441.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.3864, allocations: 34.72 kB / 441.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.3864, allocations: 50.17 kB / 441.2 MB, free: 34.75 MB / 350.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.3869, allocations: 238.8 kB / 441.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3869, allocations: 0 / 441.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002556/0.3871, allocations: 164.5 kB / 441.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3872, allocations: 6.25 kB / 441.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3872, allocations: 0 / 441.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.3873, allocations: 37.28 kB / 441.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.312e-05/0.3874, allocations: 26.66 kB / 441.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.3886, allocations: 1.443 MB / 443.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.3886, allocations: 4 kB / 443.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3887, allocations: 3.031 kB / 443.1 MB, free: 33.04 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 0.0001226/0.3888, allocations: 133.4 kB / 443.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.3888, allocations: 14.31 kB / 443.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.3889, allocations: 11.69 kB / 443.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3889, allocations: 0 / 443.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3889, allocations: 0 / 443.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3889, allocations: 2.906 kB / 443.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.3893, allocations: 449.2 kB / 443.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3894, allocations: 3.234 kB / 443.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.3894, allocations: 19.28 kB / 443.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.3896, allocations: 35.56 kB / 443.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3896, allocations: 7 kB / 443.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008064/0.3904, allocations: 1.455 MB / 445.2 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3904, allocations: 4.094 kB / 445.2 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3907, allocations: 264.2 kB / 445.4 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.3907, allocations: 83.98 kB / 445.5 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3908, allocations: 14.2 kB / 445.5 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.3909, allocations: 4 kB / 445.5 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.3909, allocations: 10.78 kB / 445.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3909, allocations: 3.5 kB / 445.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.137e-05/0.391, allocations: 117.5 kB / 445.7 MB, free: 30.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.391, allocations: 0 / 445.7 MB, free: 30.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.3913, allocations: 25.56 kB / 445.7 MB, free: 30.63 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 9.732e-05/0.3914, allocations: 100.6 kB / 445.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.3917, allocations: 196.6 kB / 446 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3917, allocations: 0 / 446 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3919, allocations: 159.2 kB / 446.1 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3922, allocations: 8.891 kB / 446.2 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.393, allocations: 0.543 MB / 446.7 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.3932, allocations: 0.7106 MB / 447.4 MB, free: 29.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.3932, allocations: 13.28 kB / 447.4 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.3933, allocations: 12.69 kB / 447.4 MB, free: 29.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3933, allocations: 0 / 447.4 MB, free: 29.16 MB / 350.1 MB Notification: Performance of Templates: time 0.003948/0.3972, allocations: 1.237 MB / 448.7 MB, free: 29.05 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)