Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.956e-05, allocations: 5.562 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5241, allocations: 81.95 MB / 425 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5244, allocations: 73.33 kB / 425.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02544/0.5499, allocations: 6.529 MB / 431.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.203e-06/0.5499, allocations: 0 / 431.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.5499, allocations: 8 kB / 431.6 MB, free: 6.566 MB / 346.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.001548/0.5515, allocations: 0.699 MB / 432.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5515, allocations: 8.031 kB / 432.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.5517, allocations: 47.44 kB / 432.4 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.5523, allocations: 324.5 kB / 432.7 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.5524, allocations: 28.47 kB / 432.7 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5525, allocations: 39.62 kB / 432.8 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/0.5534, allocations: 418.1 kB / 433.2 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.5535, allocations: 4 kB / 433.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.5535, allocations: 18.62 kB / 433.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5536, allocations: 11.94 kB / 433.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/0.5544, allocations: 348.1 kB / 433.6 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.5577, allocations: 1.554 MB / 435.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.5588, allocations: 367.5 kB / 435.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.5592, allocations: 185.8 kB / 435.6 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.5593, allocations: 19.67 kB / 435.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5593, allocations: 38.02 kB / 435.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 3.386e-06/0.5594, allocations: 0 / 435.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001672/0.561, allocations: 0.5067 MB / 436.2 MB, free: 2.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5612, allocations: 166.1 kB / 436.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.5615, allocations: 231.8 kB / 436.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.5616, allocations: 36.58 kB / 436.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.5618, allocations: 203.9 kB / 436.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.5619, allocations: 139.4 kB / 437 MB, free: 2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.562, allocations: 6.75 kB / 437 MB, free: 2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.5622, allocations: 348.6 kB / 437.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.5625, allocations: 122.8 kB / 437.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.5629, allocations: 216.6 kB / 437.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.5633, allocations: 148.1 kB / 437.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.615e-06/0.5633, allocations: 0 / 437.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002096/0.5654, allocations: 0.6474 MB / 438.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.5655, allocations: 7.984 kB / 438.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.396e-06/0.5655, allocations: 0 / 438.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.567, allocations: 294.5 kB / 438.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.5675, allocations: 90.75 kB / 438.8 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.569, allocations: 1.302 MB / 440.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/0.5696, allocations: 101.6 kB / 440.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.5697, allocations: 12 kB / 440.2 MB, free: 15.09 MB / 362.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.0001653/0.5699, allocations: 123.2 kB / 440.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.57, allocations: 39.58 kB / 440.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.5721, allocations: 0.6361 MB / 441 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.5721, allocations: 4 kB / 441 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.228e-06/0.5721, allocations: 3.938 kB / 441 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.832e-06/0.5722, allocations: 3.938 kB / 441 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.5729, allocations: 475.8 kB / 441.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.131e-06/0.573, allocations: 0 / 441.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.5734, allocations: 59.95 kB / 441.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.5748, allocations: 299.5 kB / 441.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.5749, allocations: 11.19 kB / 441.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.5764, allocations: 1.316 MB / 443.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5764, allocations: 0 / 443.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.5788, allocations: 0.8683 MB / 444.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.5789, allocations: 108.7 kB / 444.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.579, allocations: 15.06 kB / 444.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.5795, allocations: 67.7 kB / 444.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.5796, allocations: 23.66 kB / 444.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.5797, allocations: 11 kB / 444.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.58, allocations: 183.9 kB / 444.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.58, allocations: 0 / 444.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005663/0.5806, allocations: 117.8 kB / 444.6 MB, free: 11.29 MB / 362.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.0002161/0.5808, allocations: 111 kB / 444.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.5818, allocations: 363.9 kB / 445 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.184e-06/0.5818, allocations: 3.938 kB / 445 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.5824, allocations: 207.8 kB / 445.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.5828, allocations: 47.64 kB / 445.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.5844, allocations: 0.5955 MB / 445.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.585, allocations: 0.8111 MB / 446.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.5852, allocations: 26.98 kB / 446.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.5853, allocations: 19.44 kB / 446.7 MB, free: 9.328 MB / 362.7 MB Notification: Performance of SimCode: time 1.63e-06/0.5853, allocations: 0 / 446.7 MB, free: 9.328 MB / 362.7 MB Notification: Performance of Templates: time 0.01463/0.6, allocations: 5.226 MB / 452 MB, free: 4.125 MB / 362.7 MB