Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") Notification: Performance of loadModel(ThermoPower): time 2.214/2.214, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.44e-05/4.452e-05, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3174, allocations: 60.24 MB / 391 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.4888, allocations: 86.61 MB / 477.6 MB, free: 14.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4891, allocations: 75.95 kB / 477.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01684/0.5059, allocations: 3.965 MB / 481.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.125e-06/0.506, allocations: 0 / 481.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.506, allocations: 8 kB / 481.7 MB, free: 10.09 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007912/0.5068, allocations: 493.4 kB / 482.2 MB, free: 9.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5069, allocations: 11.97 kB / 482.2 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.507, allocations: 35.58 kB / 482.2 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.5074, allocations: 257.7 kB / 482.5 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.5075, allocations: 12 kB / 482.5 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.5075, allocations: 20 kB / 482.5 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.5079, allocations: 167.1 kB / 482.7 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.508, allocations: 0 / 482.7 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.508, allocations: 4 kB / 482.7 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.422e-06/0.508, allocations: 4 kB / 482.7 MB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.5083, allocations: 107.7 kB / 482.8 MB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.5096, allocations: 0.6386 MB / 483.4 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.5099, allocations: 138.4 kB / 483.6 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.5101, allocations: 76.89 kB / 483.6 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.5101, allocations: 3.984 kB / 483.6 MB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5102, allocations: 34.56 kB / 483.7 MB, free: 7.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.702e-06/0.5102, allocations: 0 / 483.7 MB, free: 7.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.001108/0.5113, allocations: 490.6 kB / 484.1 MB, free: 7.402 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.5114, allocations: 55.41 kB / 484.2 MB, free: 7.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.5117, allocations: 205.1 kB / 484.4 MB, free: 7.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.5117, allocations: 33.64 kB / 484.4 MB, free: 7.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.5119, allocations: 152.2 kB / 484.6 MB, free: 6.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.512, allocations: 67.02 kB / 484.7 MB, free: 6.871 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.512, allocations: 0 / 484.7 MB, free: 6.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5122, allocations: 338.8 kB / 485 MB, free: 6.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.5123, allocations: 44 kB / 485 MB, free: 6.488 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.5125, allocations: 69.64 kB / 485.1 MB, free: 6.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.5127, allocations: 51.98 kB / 485.1 MB, free: 6.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-06/0.5127, allocations: 0 / 485.1 MB, free: 6.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004206/0.5131, allocations: 177.2 kB / 485.3 MB, free: 6.184 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5131, allocations: 4 kB / 485.3 MB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.841e-06/0.5132, allocations: 3.984 kB / 485.3 MB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5132, allocations: 4 kB / 485.3 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.5137, allocations: 71.89 kB / 485.4 MB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.5152, allocations: 1.331 MB / 486.7 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5154, allocations: 16.16 kB / 486.7 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.5155, allocations: 8 kB / 486.8 MB, free: 4.609 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.5156, allocations: 116.9 kB / 486.9 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.5157, allocations: 23.72 kB / 486.9 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.5162, allocations: 187.1 kB / 487.1 MB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-06/0.5162, allocations: 4 kB / 487.1 MB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-06/0.5162, allocations: 0 / 487.1 MB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-06/0.5162, allocations: 4 kB / 487.1 MB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009728/0.5172, allocations: 0.5289 MB / 487.6 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-06/0.5172, allocations: 0 / 487.6 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.5176, allocations: 47.92 kB / 487.7 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.5176, allocations: 0 / 487.7 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.5177, allocations: 8 kB / 487.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.58e-06/0.5177, allocations: 0 / 487.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.768e-06/0.5177, allocations: 0 / 487.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.5183, allocations: 331.1 kB / 488 MB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.5184, allocations: 116.8 kB / 488.1 MB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.5185, allocations: 4 kB / 488.1 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.5187, allocations: 11.92 kB / 488.1 MB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.5188, allocations: 15.98 kB / 488.1 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.5188, allocations: 7.938 kB / 488.1 MB, free: 3.125 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002278/0.5191, allocations: 165.4 kB / 488.3 MB, free: 2.961 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.5191, allocations: 4 kB / 488.3 MB, free: 2.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004494/0.5195, allocations: 51.94 kB / 488.4 MB, free: 2.906 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0001841/0.5197, allocations: 119.2 kB / 488.5 MB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.5203, allocations: 139.8 kB / 488.6 MB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.881e-06/0.5203, allocations: 0 / 488.6 MB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.5205, allocations: 68 kB / 488.7 MB, free: 2.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.5208, allocations: 32.41 kB / 488.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.5222, allocations: 0.5179 MB / 489.2 MB, free: 2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.5226, allocations: 0.7597 MB / 490 MB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.5228, allocations: 41.98 kB / 490 MB, free: 1.176 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.5229, allocations: 19.44 kB / 490 MB, free: 1.156 MB / 410.7 MB Notification: Performance of SimCode: time 1.93e-06/0.5229, allocations: 0 / 490 MB, free: 1.156 MB / 410.7 MB Notification: Performance of Templates: time 0.007588/0.5305, allocations: 2.091 MB / 492.1 MB, free: 15.07 MB / 426.7 MB