Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") Notification: Performance of loadModel(ThermoPower): time 2.164/2.164, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.455e-05, allocations: 0 / 330.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3465, allocations: 60.24 MB / 391 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.4806, allocations: 86.22 MB / 477.3 MB, free: 14.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4809, allocations: 75.95 kB / 477.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.4941, allocations: 3.082 MB / 480.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.491e-06/0.4942, allocations: 7.875 kB / 480.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.4942, allocations: 4 kB / 480.4 MB, free: 11.38 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006225/0.4949, allocations: 434 kB / 480.8 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4949, allocations: 12.03 kB / 480.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.495, allocations: 23.67 kB / 480.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.4954, allocations: 247.6 kB / 481.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4955, allocations: 8 kB / 481.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.4955, allocations: 16 kB / 481.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.4958, allocations: 119.3 kB / 481.3 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4958, allocations: 4 kB / 481.3 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.4959, allocations: 4 kB / 481.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4959, allocations: 7.984 kB / 481.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.4961, allocations: 71.88 kB / 481.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009848/0.4971, allocations: 0.5451 MB / 481.9 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.4973, allocations: 90.64 kB / 482 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4975, allocations: 36.86 kB / 482 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.4975, allocations: 8.438 kB / 482 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.4976, allocations: 34.5 kB / 482.1 MB, free: 9.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.05e-06/0.4976, allocations: 3.938 kB / 482.1 MB, free: 9.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000915/0.4985, allocations: 409.6 kB / 482.5 MB, free: 9.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.4986, allocations: 59.34 kB / 482.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.4988, allocations: 186.1 kB / 482.7 MB, free: 8.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4989, allocations: 29.7 kB / 482.7 MB, free: 8.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.499, allocations: 123.9 kB / 482.9 MB, free: 8.688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.4991, allocations: 51.3 kB / 482.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.4991, allocations: 4 kB / 482.9 MB, free: 8.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4993, allocations: 330.8 kB / 483.2 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.4994, allocations: 28 kB / 483.3 MB, free: 8.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.4995, allocations: 51.36 kB / 483.3 MB, free: 8.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4996, allocations: 35.98 kB / 483.3 MB, free: 8.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-06/0.4997, allocations: 4 kB / 483.3 MB, free: 8.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003407/0.5, allocations: 133.5 kB / 483.5 MB, free: 8.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5, allocations: 4 kB / 483.5 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5001, allocations: 4 kB / 483.5 MB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5001, allocations: 3.938 kB / 483.5 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.5004, allocations: 43.98 kB / 483.5 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5004, allocations: 8 kB / 483.5 MB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.5005, allocations: 11.89 kB / 483.5 MB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.5006, allocations: 8 kB / 483.6 MB, free: 7.957 MB / 410.7 MB 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 (17): * Single equations (assignments): 17 * 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 9.806e-05/0.5007, allocations: 108.9 kB / 483.7 MB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.5008, allocations: 19.75 kB / 483.7 MB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.5011, allocations: 139.2 kB / 483.8 MB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-06/0.5011, allocations: 0 / 483.8 MB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.493e-06/0.5011, allocations: 4 kB / 483.8 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-06/0.5012, allocations: 4 kB / 483.8 MB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.5019, allocations: 446.5 kB / 484.3 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.313e-06/0.502, allocations: 0 / 484.3 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.5022, allocations: 35.92 kB / 484.3 MB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.878e-06/0.5023, allocations: 4 kB / 484.3 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5023, allocations: 3.984 kB / 484.3 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.5023, allocations: 0 / 484.3 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-06/0.5023, allocations: 0 / 484.3 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.5028, allocations: 267.2 kB / 484.6 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5029, allocations: 101 kB / 484.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.503, allocations: 4 kB / 484.7 MB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.5031, allocations: 7.984 kB / 484.7 MB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.5032, allocations: 4 kB / 484.7 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.5032, allocations: 8.094 kB / 484.7 MB, free: 6.719 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.5035, allocations: 152.6 kB / 484.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.5035, allocations: 4 kB / 484.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.5039, allocations: 43.94 kB / 484.9 MB, free: 6.523 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 (14): * Single equations (assignments): 14 * 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.0001788/0.5041, allocations: 111.2 kB / 485 MB, free: 6.402 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.5043, allocations: 83.94 kB / 485.1 MB, free: 6.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.209e-06/0.5044, allocations: 4 kB / 485.1 MB, free: 6.316 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.5045, allocations: 36 kB / 485.1 MB, free: 6.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.5049, allocations: 37.02 kB / 485.2 MB, free: 6.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.506, allocations: 415.8 kB / 485.6 MB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.5064, allocations: 0.7283 MB / 486.3 MB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.5065, allocations: 17.33 kB / 486.3 MB, free: 5.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.5066, allocations: 23.42 kB / 486.3 MB, free: 5.023 MB / 410.7 MB Notification: Performance of SimCode: time 1.731e-06/0.5066, allocations: 0 / 486.3 MB, free: 5.023 MB / 410.7 MB Notification: Performance of Templates: time 0.006078/0.5127, allocations: 1.502 MB / 487.8 MB, free: 3.539 MB / 410.7 MB