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.856/1.856, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.43e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 44.49 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.3664, allocations: 75.41 MB / 369.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.3667, allocations: 83.89 kB / 369.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02523/0.3919, allocations: 6.296 MB / 375.9 MB, free: 192 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.059e-06/0.392, allocations: 0 / 375.9 MB, free: 192 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.392, allocations: 8 kB / 375.9 MB, free: 184 kB / 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.001635/0.3936, allocations: 0.7166 MB / 376.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.3937, allocations: 8.031 kB / 376.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3938, allocations: 47.48 kB / 376.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.3944, allocations: 289.4 kB / 376.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.3944, allocations: 12 kB / 377 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-05/0.3945, allocations: 27.91 kB / 377 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008674/0.3954, allocations: 333.5 kB / 377.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008685/0.3963, allocations: 367.9 kB / 377.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.3963, allocations: 0 / 377.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.3964, allocations: 0 / 377.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.3964, allocations: 12 kB / 377.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/0.3998, allocations: 1.336 MB / 379 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.401, allocations: 365.4 kB / 379.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.4014, allocations: 177.9 kB / 379.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.4015, allocations: 8.328 kB / 379.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.4016, allocations: 42.89 kB / 379.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.655e-06/0.4016, allocations: 0 / 379.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001796/0.4034, allocations: 488.9 kB / 380.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.4035, allocations: 170.1 kB / 380.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.4039, allocations: 202.4 kB / 380.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.404, allocations: 33.64 kB / 380.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4042, allocations: 262.7 kB / 380.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.4043, allocations: 134 kB / 380.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.4044, allocations: 0 / 380.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4046, allocations: 326.8 kB / 381.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.4049, allocations: 112.9 kB / 381.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.4053, allocations: 213.8 kB / 381.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.4057, allocations: 135.8 kB / 381.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.108e-06/0.4058, allocations: 0 / 381.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00217/0.4079, allocations: 0.6004 MB / 382.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.408, allocations: 8 kB / 382.2 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.408, allocations: 3.953 kB / 382.2 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.4092, allocations: 257.5 kB / 382.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.4097, allocations: 83.88 kB / 382.6 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.4114, allocations: 1.331 MB / 383.9 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.4121, allocations: 95.61 kB / 384 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.4121, allocations: 16 kB / 384 MB, free: 7.676 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.0001733/0.4123, allocations: 116.7 kB / 384.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4125, allocations: 31.81 kB / 384.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.4147, allocations: 0.5955 MB / 384.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4147, allocations: 7.938 kB / 384.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.593e-06/0.4148, allocations: 3.984 kB / 384.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4148, allocations: 3.953 kB / 384.8 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/0.4156, allocations: 401.6 kB / 385.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.664e-06/0.4156, allocations: 0 / 385.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.416, allocations: 67.89 kB / 385.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.4172, allocations: 257.5 kB / 385.5 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.4173, allocations: 4 kB / 385.5 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.4191, allocations: 1.354 MB / 386.8 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.366e-06/0.4191, allocations: 4.031 kB / 386.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.4217, allocations: 0.8361 MB / 387.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.4219, allocations: 112.6 kB / 387.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.422, allocations: 0 / 387.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.4225, allocations: 63.91 kB / 387.9 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.4226, allocations: 15.97 kB / 387.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.4227, allocations: 15.98 kB / 387.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.4229, allocations: 173.9 kB / 388.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.4229, allocations: 0 / 388.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005804/0.4235, allocations: 95.78 kB / 388.1 MB, free: 3.387 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.0002402/0.4238, allocations: 103.2 kB / 388.3 MB, free: 3.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.4248, allocations: 348.3 kB / 388.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.162e-06/0.4248, allocations: 4.062 kB / 388.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.4254, allocations: 187.8 kB / 388.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.4259, allocations: 32.5 kB / 388.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.4275, allocations: 0.5933 MB / 389.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.428, allocations: 0.8034 MB / 390.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.4282, allocations: 31.42 kB / 390.2 MB, free: 1.227 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4282, allocations: 0 / 390.2 MB, free: 1.227 MB / 330.7 MB Notification: Performance of Templates: time 0.01245/0.4407, allocations: 6.724 MB / 397 MB, free: 10.5 MB / 346.7 MB