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.2_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.899e-05, allocations: 3.5 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07546/0.07551, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3212/0.3968, allocations: 76.07 MB / 375.9 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.397, allocations: 68.41 kB / 376 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02565/0.4227, allocations: 6.35 MB / 382.3 MB, free: 21.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.755e-06/0.4227, allocations: 0 / 382.3 MB, free: 21.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.4228, allocations: 12.53 kB / 382.3 MB, free: 21.71 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.001406/0.4242, allocations: 0.717 MB / 383 MB, free: 21.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4242, allocations: 8.844 kB / 383.1 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.4244, allocations: 47.48 kB / 383.1 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.4248, allocations: 290.2 kB / 383.4 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.4249, allocations: 30.47 kB / 383.4 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.425, allocations: 39.41 kB / 383.5 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008875/0.4259, allocations: 426.9 kB / 383.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4259, allocations: 0 / 383.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.426, allocations: 14.81 kB / 383.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.426, allocations: 9.625 kB / 383.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.4269, allocations: 352.5 kB / 384.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.4299, allocations: 1.419 MB / 385.7 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.431, allocations: 368.5 kB / 386 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.4314, allocations: 189.9 kB / 386.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.4315, allocations: 17.53 kB / 386.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.4315, allocations: 40.42 kB / 386.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 3.749e-06/0.4315, allocations: 0 / 386.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001618/0.4332, allocations: 0.5032 MB / 386.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4332, allocations: 162.5 kB / 386.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.4335, allocations: 223.1 kB / 387.1 MB, free: 19.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.4336, allocations: 32.55 kB / 387.2 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4337, allocations: 263 kB / 387.4 MB, free: 19.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.4338, allocations: 140.4 kB / 387.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.4339, allocations: 8.844 kB / 387.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.4339, allocations: 329.1 kB / 387.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.4343, allocations: 120.2 kB / 388 MB, free: 19.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.4348, allocations: 231.8 kB / 388.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.4351, allocations: 132.5 kB / 388.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-06/0.4351, allocations: 0 / 388.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001934/0.4371, allocations: 0.6457 MB / 389 MB, free: 19.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4371, allocations: 3.812 kB / 389 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.679e-06/0.4371, allocations: 3.906 kB / 389 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.4385, allocations: 300.7 kB / 389.3 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.439, allocations: 83.11 kB / 389.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.4401, allocations: 1.312 MB / 390.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.4408, allocations: 103 kB / 390.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.4408, allocations: 11.5 kB / 390.8 MB, free: 17.95 MB / 314.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.0001304/0.441, allocations: 130.8 kB / 391 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.4411, allocations: 35.16 kB / 391 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.443, allocations: 0.6305 MB / 391.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.381e-06/0.443, allocations: 3.906 kB / 391.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.086e-06/0.443, allocations: 3.953 kB / 391.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.362e-06/0.443, allocations: 0 / 391.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006332/0.4437, allocations: 463.6 kB / 392.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-06/0.4437, allocations: 7.906 kB / 392.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.4441, allocations: 63.97 kB / 392.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.4456, allocations: 299.5 kB / 392.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.4457, allocations: 11.59 kB / 392.5 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.4468, allocations: 1.316 MB / 393.8 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.58e-06/0.4468, allocations: 0 / 393.8 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.449, allocations: 0.8727 MB / 394.6 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4491, allocations: 119 kB / 394.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.4492, allocations: 3.938 kB / 394.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.4497, allocations: 65.61 kB / 394.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.4498, allocations: 21.39 kB / 394.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.4499, allocations: 11.75 kB / 394.9 MB, free: 16.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001955/0.4501, allocations: 182 kB / 395 MB, free: 16.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4501, allocations: 0 / 395 MB, free: 16.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.4506, allocations: 116.4 kB / 395.1 MB, free: 16.01 MB / 314.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.0001739/0.4508, allocations: 122.1 kB / 395.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009217/0.4518, allocations: 363.1 kB / 395.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.43e-06/0.4518, allocations: 0.625 kB / 395.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.4523, allocations: 211.8 kB / 395.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.4527, allocations: 43.56 kB / 395.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.454, allocations: 0.6096 MB / 396.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4543, allocations: 0.8015 MB / 397.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4544, allocations: 33.64 kB / 397.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of SimCode: time 1.705e-06/0.4545, allocations: 7.938 kB / 397.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Templates: time 0.009157/0.4636, allocations: 6.785 MB / 404.1 MB, free: 14.56 MB / 314.7 MB