Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadModel(ThermoPower): time 2.423/2.423, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.944e-05, allocations: 0 / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3201, allocations: 60.24 MB / 391 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4532, allocations: 88.47 MB / 479.5 MB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4535, allocations: 75.95 kB / 479.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03218/0.4857, allocations: 7.474 MB / 487.1 MB, free: 4.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4858, allocations: 0 / 487.1 MB, free: 4.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.665e-05/0.4858, allocations: 16 kB / 487.1 MB, free: 4.699 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001251/0.4871, allocations: 0.6386 MB / 487.7 MB, free: 4.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4871, allocations: 8.031 kB / 487.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.4873, allocations: 59.38 kB / 487.8 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007236/0.488, allocations: 372.1 kB / 488.1 MB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.4881, allocations: 20.78 kB / 488.2 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.743e-05/0.4882, allocations: 43.91 kB / 488.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.4889, allocations: 298.3 kB / 488.5 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.4889, allocations: 0 / 488.5 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.489, allocations: 12 kB / 488.5 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.489, allocations: 8 kB / 488.5 MB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.4895, allocations: 201.4 kB / 488.7 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.4921, allocations: 1.169 MB / 489.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.4928, allocations: 264 kB / 490.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.4931, allocations: 121.4 kB / 490.3 MB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.4932, allocations: 4.281 kB / 490.3 MB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.4933, allocations: 34.84 kB / 490.3 MB, free: 1.273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.857e-06/0.4933, allocations: 0 / 490.3 MB, free: 1.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001883/0.4952, allocations: 0.7806 MB / 491.1 MB, free: 452 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4952, allocations: 59.41 kB / 491.1 MB, free: 380 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.4958, allocations: 330.8 kB / 491.5 MB, free: 44 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.4959, allocations: 33.7 kB / 491.5 MB, free: 4 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.4961, allocations: 216.6 kB / 491.7 MB, free: 15.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.4962, allocations: 138.3 kB / 491.8 MB, free: 15.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.4963, allocations: 4 kB / 491.8 MB, free: 15.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4965, allocations: 354.8 kB / 492.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.4967, allocations: 92.8 kB / 492.3 MB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.497, allocations: 136.2 kB / 492.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.4974, allocations: 109.6 kB / 492.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4974, allocations: 0 / 492.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007893/0.4982, allocations: 334.1 kB / 492.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4982, allocations: 7.938 kB / 492.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.47e-06/0.4982, allocations: 0 / 492.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.4983, allocations: 7.984 kB / 492.9 MB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/0.4993, allocations: 147.8 kB / 493 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.5007, allocations: 1.335 MB / 494.3 MB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.501, allocations: 16.02 kB / 494.3 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.5011, allocations: 12.19 kB / 494.4 MB, free: 12.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0001465/0.5013, allocations: 124.9 kB / 494.5 MB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.5014, allocations: 43.44 kB / 494.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.5022, allocations: 325.5 kB / 494.8 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.992e-06/0.5022, allocations: 4 kB / 494.8 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.458e-06/0.5022, allocations: 3.953 kB / 494.9 MB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.768e-06/0.5022, allocations: 0 / 494.9 MB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.5038, allocations: 0.7829 MB / 495.6 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5038, allocations: 0 / 495.6 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.5045, allocations: 87.89 kB / 495.7 MB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.5045, allocations: 0 / 495.7 MB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.5046, allocations: 15.94 kB / 495.7 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.5046, allocations: 0 / 495.7 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.94e-06/0.5046, allocations: 0 / 495.7 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.5057, allocations: 0.5203 MB / 496.3 MB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.5059, allocations: 132.6 kB / 496.4 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/0.506, allocations: 8 kB / 496.4 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.5063, allocations: 15.94 kB / 496.4 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.5064, allocations: 23.97 kB / 496.4 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.5065, allocations: 8 kB / 496.4 MB, free: 10.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004189/0.5069, allocations: 261.2 kB / 496.7 MB, free: 10.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5069, allocations: 0 / 496.7 MB, free: 10.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005484/0.5075, allocations: 95.94 kB / 496.8 MB, free: 10.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0001927/0.5077, allocations: 121.9 kB / 496.9 MB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007906/0.5085, allocations: 263.5 kB / 497.2 MB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5085, allocations: 3.938 kB / 497.2 MB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.5088, allocations: 123.9 kB / 497.3 MB, free: 9.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.5094, allocations: 77.75 kB / 497.4 MB, free: 9.836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.5117, allocations: 0.9389 MB / 498.3 MB, free: 8.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.5123, allocations: 0.8468 MB / 499.2 MB, free: 8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.5126, allocations: 43.25 kB / 499.2 MB, free: 7.957 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.5128, allocations: 39.42 kB / 499.2 MB, free: 7.918 MB / 426.7 MB Notification: Performance of SimCode: time 1.842e-06/0.5128, allocations: 0 / 499.2 MB, free: 7.918 MB / 426.7 MB Notification: Performance of Templates: time 0.01266/0.5255, allocations: 3.854 MB / 0.4913 GB, free: 4.086 MB / 426.7 MB