Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.857e-05, allocations: 4 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08172, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4247, allocations: 80.32 MB / 397.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4249, allocations: 72.02 kB / 397.3 MB, free: 7.824 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02617/0.4511, allocations: 6.386 MB / 403.7 MB, free: 2.285 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4512, allocations: 0 / 403.7 MB, free: 2.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.748e-05/0.4512, allocations: 8 kB / 403.7 MB, free: 2.277 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001643/0.4529, allocations: 0.7096 MB / 404.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4529, allocations: 8.031 kB / 404.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.4531, allocations: 53.2 kB / 404.5 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.4536, allocations: 314.5 kB / 404.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.4537, allocations: 22.16 kB / 404.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.4538, allocations: 36.5 kB / 404.8 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.4547, allocations: 419.5 kB / 405.2 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.4548, allocations: 0 / 405.2 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.4548, allocations: 16.31 kB / 405.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.4549, allocations: 12 kB / 405.3 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.4558, allocations: 345.8 kB / 405.6 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/0.4593, allocations: 1.574 MB / 407.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4604, allocations: 358.2 kB / 407.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/0.4608, allocations: 192.6 kB / 407.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/0.4609, allocations: 12.28 kB / 407.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.461, allocations: 34.33 kB / 407.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 6.3e-06/0.461, allocations: 3.984 kB / 407.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001706/0.4627, allocations: 0.5054 MB / 408.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.4628, allocations: 166.2 kB / 408.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.4632, allocations: 221.4 kB / 408.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.4633, allocations: 33.08 kB / 408.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.4635, allocations: 216.3 kB / 408.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.4636, allocations: 135 kB / 409 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.4637, allocations: 8.688 kB / 409 MB, free: 13.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4639, allocations: 344.4 kB / 409.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.4643, allocations: 126.6 kB / 409.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.4647, allocations: 224.9 kB / 409.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.4651, allocations: 144.1 kB / 409.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.4651, allocations: 0 / 409.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002209/0.4673, allocations: 0.6546 MB / 410.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.4674, allocations: 4 kB / 410.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4674, allocations: 4 kB / 410.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.469, allocations: 299.2 kB / 410.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.4695, allocations: 87.72 kB / 410.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.4711, allocations: 1.309 MB / 412.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.4718, allocations: 91.3 kB / 412.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.4719, allocations: 15.88 kB / 412.3 MB, free: 10.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.4721, allocations: 132 kB / 412.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4722, allocations: 31.62 kB / 412.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.4743, allocations: 0.6306 MB / 413.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.4744, allocations: 4 kB / 413.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.769e-06/0.4744, allocations: 0 / 413.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.692e-06/0.4744, allocations: 0 / 413.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/0.4752, allocations: 473 kB / 413.6 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-06/0.4752, allocations: 0 / 413.6 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.4757, allocations: 71.75 kB / 413.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.4772, allocations: 295.2 kB / 413.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.4772, allocations: 3.875 kB / 413.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.4796, allocations: 1.318 MB / 415.3 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.272e-06/0.4796, allocations: 4 kB / 415.3 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/0.4852, allocations: 0.8773 MB / 416.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.4855, allocations: 108.7 kB / 416.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.4857, allocations: 11.56 kB / 416.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.4868, allocations: 59.08 kB / 416.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.487, allocations: 23.95 kB / 416.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.4871, allocations: 11.56 kB / 416.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004599/0.4876, allocations: 181.8 kB / 416.5 MB, free: 7.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.127e-06/0.4876, allocations: 0 / 416.5 MB, free: 7.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001193/0.4888, allocations: 111.6 kB / 416.6 MB, free: 7.012 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003631/0.4892, allocations: 122.6 kB / 416.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.4912, allocations: 362.2 kB / 417.1 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.406e-06/0.4912, allocations: 0 / 417.1 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4923, allocations: 199.2 kB / 417.3 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.4931, allocations: 52.7 kB / 417.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.4962, allocations: 0.5991 MB / 417.9 MB, free: 5.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/0.4971, allocations: 0.8037 MB / 418.8 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00049/0.4976, allocations: 34.95 kB / 418.8 MB, free: 5.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.4978, allocations: 23.44 kB / 418.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of SimCode: time 2.764e-06/0.4978, allocations: 0 / 418.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of Templates: time 0.0264/0.5242, allocations: 5.21 MB / 424 MB, free: 15.85 MB / 346.7 MB