Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadModel(ThermoPower): time 2.311/2.311, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.952e-05, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3158, allocations: 60.23 MB / 391 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.4474, allocations: 86.47 MB / 477.5 MB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4477, allocations: 67.97 kB / 477.6 MB, free: 14.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.4636, allocations: 3.652 MB / 481.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.146e-06/0.4636, allocations: 0 / 481.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.4637, allocations: 4 kB / 481.2 MB, free: 10.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007584/0.4645, allocations: 473.8 kB / 481.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4645, allocations: 8.031 kB / 481.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.4646, allocations: 27.67 kB / 481.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.4651, allocations: 265.5 kB / 482 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.4651, allocations: 20 kB / 482 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.4652, allocations: 12 kB / 482 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.4655, allocations: 139.5 kB / 482.1 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4655, allocations: 0 / 482.1 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.4656, allocations: 4 kB / 482.2 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.565e-06/0.4656, allocations: 4 kB / 482.2 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.4658, allocations: 83.88 kB / 482.2 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.467, allocations: 0.608 MB / 482.8 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.4674, allocations: 122.6 kB / 483 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4675, allocations: 64.86 kB / 483 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.4676, allocations: 4 kB / 483 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4676, allocations: 34.56 kB / 483.1 MB, free: 8.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 3.447e-06/0.4676, allocations: 0 / 483.1 MB, free: 8.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.001145/0.4688, allocations: 0.4996 MB / 483.6 MB, free: 7.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4689, allocations: 51.41 kB / 483.6 MB, free: 7.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.4692, allocations: 209 kB / 483.8 MB, free: 7.711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.4692, allocations: 25.7 kB / 483.8 MB, free: 7.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4693, allocations: 140.4 kB / 484 MB, free: 7.539 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.4694, allocations: 70.95 kB / 484.1 MB, free: 7.469 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.4694, allocations: 0 / 484.1 MB, free: 7.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4696, allocations: 334.8 kB / 484.4 MB, free: 7.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.4698, allocations: 44 kB / 484.4 MB, free: 7.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.4699, allocations: 66.75 kB / 484.5 MB, free: 7.016 MB / 410.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: $DER.generator.theta = generator.omega_e_nom (6.283185307179586 * grid.fnom = generator.omega_e_nom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.4711, allocations: 286.9 kB / 484.8 MB, free: 6.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.689e-06/0.4711, allocations: 4 kB / 484.8 MB, free: 6.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004213/0.4715, allocations: 165.3 kB / 484.9 MB, free: 6.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4716, allocations: 8 kB / 484.9 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4716, allocations: 0 / 484.9 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4716, allocations: 3.938 kB / 484.9 MB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.472, allocations: 63.95 kB / 485 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4721, allocations: 4 kB / 485 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.4722, allocations: 8.031 kB / 485 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4723, allocations: 8 kB / 485 MB, free: 6.453 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.generator.theta = generator.omega_e_nom. 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.4724, allocations: 116.9 kB / 485.1 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.4725, allocations: 27.67 kB / 485.2 MB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.4729, allocations: 170 kB / 485.3 MB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.577e-06/0.473, allocations: 7.953 kB / 485.3 MB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.285e-06/0.473, allocations: 4 kB / 485.3 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.13e-06/0.473, allocations: 0 / 485.3 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.474, allocations: 0.5179 MB / 485.9 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4741, allocations: 0 / 485.9 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.4745, allocations: 55.91 kB / 485.9 MB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.374e-06/0.4745, allocations: 3.953 kB / 485.9 MB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.4746, allocations: 4 kB / 485.9 MB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.977e-06/0.4746, allocations: 4 kB / 485.9 MB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4746, allocations: 4 kB / 485.9 MB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/0.4752, allocations: 316.9 kB / 486.2 MB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.4754, allocations: 108.9 kB / 486.3 MB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.4754, allocations: 11.94 kB / 486.4 MB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.4757, allocations: 12 kB / 486.4 MB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.4757, allocations: 15.92 kB / 486.4 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4758, allocations: 8 kB / 486.4 MB, free: 4.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002481/0.476, allocations: 165.3 kB / 486.6 MB, free: 4.816 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.476, allocations: 0 / 486.6 MB, free: 4.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004315/0.4765, allocations: 52 kB / 486.6 MB, free: 4.766 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001732/0.4767, allocations: 103.2 kB / 486.7 MB, free: 4.652 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.4771, allocations: 123.9 kB / 486.8 MB, free: 4.531 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4771, allocations: 0 / 486.8 MB, free: 4.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.4772, allocations: 71.98 kB / 486.9 MB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.4776, allocations: 32.03 kB / 486.9 MB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4789, allocations: 454.5 kB / 487.4 MB, free: 3.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.4793, allocations: 0.7558 MB / 488.1 MB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.4795, allocations: 22.08 kB / 488.2 MB, free: 3.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.4795, allocations: 15.44 kB / 488.2 MB, free: 3.156 MB / 410.7 MB Notification: Performance of SimCode: time 1.941e-06/0.4796, allocations: 4 kB / 488.2 MB, free: 3.152 MB / 410.7 MB Notification: Performance of Templates: time 0.007099/0.4867, allocations: 1.873 MB / 490 MB, free: 1.289 MB / 410.7 MB