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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07296/0.07296, allocations: 17.69 MB / 33.64 MB, free: 1.738 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 172.4 kB / 38.91 MB, free: 12 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 249.5 MB, free: 2.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008165/0.0008166, allocations: 97.38 kB / 302.2 MB, free: 4.41 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003874, allocations: 12.22 kB / 364.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 51.98 MB / 416.9 MB, free: 24.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09403/0.3352, allocations: 77.99 MB / 494.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.3356, allocations: 75.95 kB / 494.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004335/0.3399, allocations: 1.523 MB / 496.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.34, allocations: 0 / 496.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.34, allocations: 0 / 496.5 MB, free: 8.953 MB / 362.7 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.0004889/0.3405, allocations: 395.2 kB / 496.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3405, allocations: 8.031 kB / 496.9 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3406, allocations: 12.75 kB / 496.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3407, allocations: 196.3 kB / 497.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3408, allocations: 4.375 kB / 497.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3408, allocations: 12.38 kB / 497.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3409, allocations: 70.23 kB / 497.1 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.341, allocations: 7.938 kB / 497.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.341, allocations: 4 kB / 497.2 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.341, allocations: 0 / 497.2 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.3411, allocations: 47.88 kB / 497.2 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.3419, allocations: 426.2 kB / 497.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.342, allocations: 66.59 kB / 497.7 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.3421, allocations: 32.84 kB / 497.7 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.3421, allocations: 0 / 497.7 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3421, allocations: 34.5 kB / 497.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3421, allocations: 0 / 497.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006669/0.3428, allocations: 374.9 kB / 498.1 MB, free: 7.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3429, allocations: 59.41 kB / 498.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.343, allocations: 161.5 kB / 498.3 MB, free: 6.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.343, allocations: 25.7 kB / 498.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.3431, allocations: 104.2 kB / 498.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.3431, allocations: 35.45 kB / 498.5 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.3432, allocations: 4 kB / 498.5 MB, free: 6.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.3433, allocations: 322.8 kB / 498.8 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.3433, allocations: 20 kB / 498.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.187e-05/0.3434, allocations: 56.8 kB / 498.9 MB, free: 6.246 MB / 362.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: G.wg = G.wnom (6.283185307179586 * P = G.wnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.3439, allocations: 264.6 kB / 499.1 MB, free: 5.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.344, allocations: 0 / 499.1 MB, free: 5.957 MB / 362.7 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pcmd = G.Pm [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ G.Pm ; G.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003861/0.3443, allocations: 313.3 kB / 499.5 MB, free: 5.602 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3444, allocations: 4 kB / 499.5 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3444, allocations: 4.531 kB / 499.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.79e-05/0.3445, allocations: 20.84 kB / 499.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3446, allocations: 27.98 kB / 499.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3459, allocations: 2.792 MB / 0.4905 GB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.346, allocations: 7.938 kB / 0.4905 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.346, allocations: 4 kB / 0.4905 GB, free: 2.543 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: G.wg = G.wnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/0.3461, allocations: 117.9 kB / 0.4907 GB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.3461, allocations: 11.91 kB / 0.4907 GB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.3461, allocations: 16.7 kB / 0.4907 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3462, allocations: 3.938 kB / 0.4907 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3462, allocations: 4 kB / 0.4907 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3462, allocations: 0 / 0.4907 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.3466, allocations: 412 kB / 0.4911 GB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3466, allocations: 4.031 kB / 0.4911 GB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.3467, allocations: 11.98 kB / 0.4911 GB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.3468, allocations: 32.83 kB / 0.4911 GB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3468, allocations: 0 / 0.4911 GB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009564/0.3478, allocations: 1.412 MB / 0.4925 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3478, allocations: 3.938 kB / 0.4925 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.348, allocations: 233.1 kB / 0.4927 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.3481, allocations: 89.05 kB / 0.4928 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3481, allocations: 3.984 kB / 0.4928 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.3482, allocations: 0 / 0.4928 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.3482, allocations: 7.938 kB / 0.4928 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3483, allocations: 8 kB / 0.4928 GB, free: 15.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.071e-05/0.3483, allocations: 120.6 kB / 0.493 GB, free: 15.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3484, allocations: 0 / 0.493 GB, free: 15.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.3487, allocations: 24 kB / 0.493 GB, free: 15.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (G.thetap,G.deltag) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001323/0.3488, allocations: 115.2 kB / 0.4931 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.3491, allocations: 178.5 kB / 0.4933 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3492, allocations: 0 / 0.4933 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.3493, allocations: 142.6 kB / 0.4934 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.3495, allocations: 12.19 kB / 0.4934 GB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.3503, allocations: 427.2 kB / 0.4938 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3506, allocations: 0.7041 MB / 0.4945 GB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.3507, allocations: 16.81 kB / 0.4945 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.3507, allocations: 11.44 kB / 0.4945 GB, free: 14.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3507, allocations: 7.938 kB / 0.4945 GB, free: 14.11 MB / 378.7 MB Notification: Performance of Templates: time 0.003386/0.3541, allocations: 0.9902 MB / 0.4955 GB, free: 13.12 MB / 378.7 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)