Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_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_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07418/0.07418, allocations: 17.69 MB / 33.63 MB, free: 1.621 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.001032/0.001032, allocations: 181.5 kB / 38.92 MB, free: 8.25 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 249.5 MB, free: 2.434 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.000748/0.0007481, allocations: 89.02 kB / 302.2 MB, free: 4.441 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 12 kB / 364.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 51.97 MB / 416.9 MB, free: 24.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09923/0.3327, allocations: 77.62 MB / 494.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.333, allocations: 79.91 kB / 494.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003628/0.3366, allocations: 1.23 MB / 495.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3367, allocations: 0 / 495.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3367, allocations: 4 kB / 495.8 MB, free: 9.625 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004545/0.3371, allocations: 371.3 kB / 496.2 MB, free: 9.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3372, allocations: 12.03 kB / 496.2 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.3373, allocations: 8.844 kB / 496.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3375, allocations: 172.3 kB / 496.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3375, allocations: 8.359 kB / 496.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3375, allocations: 12.31 kB / 496.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3376, allocations: 54.25 kB / 496.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3377, allocations: 7.844 kB / 496.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3377, allocations: 7.984 kB / 496.4 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3377, allocations: 4 kB / 496.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.3378, allocations: 35.92 kB / 496.5 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.3383, allocations: 300.8 kB / 496.8 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.3386, allocations: 86.64 kB / 496.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.3387, allocations: 36.78 kB / 496.9 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.3387, allocations: 0 / 496.9 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3387, allocations: 34.56 kB / 496.9 MB, free: 8.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3387, allocations: 192 / 496.9 MB, free: 8.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007704/0.3395, allocations: 386.8 kB / 497.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3395, allocations: 51.41 kB / 497.4 MB, free: 7.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3397, allocations: 130.5 kB / 497.5 MB, free: 7.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3397, allocations: 33.7 kB / 497.5 MB, free: 7.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.3398, allocations: 99.94 kB / 497.6 MB, free: 7.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3398, allocations: 31.47 kB / 497.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.3398, allocations: 4 kB / 497.7 MB, free: 7.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.34, allocations: 322.8 kB / 498 MB, free: 7.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.34, allocations: 19.98 kB / 498 MB, free: 7.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.3401, allocations: 46.5 kB / 498 MB, free: 7.125 MB / 362.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.3405, allocations: 222.1 kB / 498.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3405, allocations: 0 / 498.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002301/0.3408, allocations: 132.9 kB / 498.4 MB, free: 6.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3408, allocations: 7.938 kB / 498.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3408, allocations: 4 kB / 498.4 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.341, allocations: 24.84 kB / 498.4 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.3411, allocations: 19.98 kB / 498.4 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.3424, allocations: 1.374 MB / 499.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.3425, allocations: 11.88 kB / 499.8 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.3425, allocations: 8.141 kB / 499.8 MB, free: 5.164 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: thetap:VARIABLE(unit = "rad" fixed = true ) "generator and port absolute angles" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Pm = 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 (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 prepare postOptimizeDAE: time 0.0001475/0.3427, allocations: 125.7 kB / 500 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.3427, allocations: 11.91 kB / 500 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.3428, allocations: 8.375 kB / 500 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3428, allocations: 7.984 kB / 500 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3428, allocations: 0 / 500 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3428, allocations: 0 / 500 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.3433, allocations: 376.2 kB / 0.4886 GB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3433, allocations: 7.938 kB / 0.4886 GB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3434, allocations: 23.92 kB / 0.4887 GB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.612e-05/0.3435, allocations: 20.84 kB / 0.4887 GB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3435, allocations: 8 kB / 0.4887 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.3447, allocations: 1.362 MB / 0.49 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3447, allocations: 3.938 kB / 0.49 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.345, allocations: 237.1 kB / 0.4902 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3451, allocations: 85.02 kB / 0.4903 GB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3451, allocations: 7.969 kB / 0.4903 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.3452, allocations: 8 kB / 0.4903 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.3452, allocations: 7.938 kB / 0.4903 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3452, allocations: 0 / 0.4903 GB, free: 2.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.3453, allocations: 103.3 kB / 0.4904 GB, free: 2.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3453, allocations: 0 / 0.4904 GB, free: 2.527 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003556/0.3457, allocations: 35.98 kB / 0.4905 GB, free: 2.492 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (thetag,thetap,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 (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.0001227/0.3458, allocations: 95.25 kB / 0.4906 GB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.3461, allocations: 179.5 kB / 0.4907 GB, free: 2.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3461, allocations: 0 / 0.4907 GB, free: 2.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.3463, allocations: 154.7 kB / 0.4909 GB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3465, allocations: 7.984 kB / 0.4909 GB, free: 2.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007933/0.3473, allocations: 478.8 kB / 0.4914 GB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3477, allocations: 0.7041 MB / 0.492 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.906e-05/0.3477, allocations: 8.547 kB / 0.492 GB, free: 0.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.3477, allocations: 11.44 kB / 0.4921 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3477, allocations: 0 / 0.4921 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of Templates: time 0.003607/0.3513, allocations: 0.9427 MB / 0.493 GB, free: 15.84 MB / 378.7 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1)