Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.06e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09267, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.4484, allocations: 81.99 MB / 424.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4487, allocations: 74.31 kB / 424.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02571/0.4744, allocations: 6.515 MB / 431.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.169e-06/0.4745, allocations: 4 kB / 431.1 MB, free: 6.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.4745, allocations: 8 kB / 431.1 MB, free: 6.5 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.001618/0.4761, allocations: 0.7029 MB / 431.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4762, allocations: 8.031 kB / 431.9 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.4763, allocations: 51.42 kB / 431.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.477, allocations: 328.8 kB / 432.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.4771, allocations: 27.34 kB / 432.3 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.4772, allocations: 36.75 kB / 432.3 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4784, allocations: 423.2 kB / 432.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.4785, allocations: 0 / 432.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.4786, allocations: 18.36 kB / 432.7 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.4787, allocations: 11.94 kB / 432.7 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.4802, allocations: 353.6 kB / 433.1 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005585/0.4858, allocations: 1.547 MB / 434.6 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.4876, allocations: 359.7 kB / 435 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.4883, allocations: 196.9 kB / 435.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.4884, allocations: 8.328 kB / 435.2 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.4885, allocations: 49.56 kB / 435.2 MB, free: 3.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 9.503e-06/0.4885, allocations: 0 / 435.2 MB, free: 3.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002914/0.4915, allocations: 0.509 MB / 435.7 MB, free: 2.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.4916, allocations: 162.2 kB / 435.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.4922, allocations: 228.2 kB / 436.1 MB, free: 2.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.4923, allocations: 37.14 kB / 436.2 MB, free: 2.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.4926, allocations: 259.8 kB / 436.4 MB, free: 1.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.4928, allocations: 140.2 kB / 436.5 MB, free: 1.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.4929, allocations: 11.06 kB / 436.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.4932, allocations: 329.4 kB / 436.9 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.4938, allocations: 120.2 kB / 437 MB, free: 1.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.4945, allocations: 222.7 kB / 437.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.4952, allocations: 136.4 kB / 437.3 MB, free: 1.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.4952, allocations: 4 kB / 437.3 MB, free: 1.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003987/0.4993, allocations: 0.6304 MB / 438 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.4993, allocations: 8 kB / 438 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4994, allocations: 4.031 kB / 438 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/0.502, allocations: 290.5 kB / 438.3 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.503, allocations: 91.62 kB / 438.4 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.5054, allocations: 1.304 MB / 439.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.5066, allocations: 87.66 kB / 439.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/0.5068, allocations: 18.88 kB / 439.8 MB, free: 14.99 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.0002533/0.507, allocations: 131.7 kB / 439.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.5072, allocations: 39.48 kB / 439.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.5112, allocations: 0.6257 MB / 440.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.5112, allocations: 7.938 kB / 440.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.831e-06/0.5112, allocations: 4 kB / 440.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.5113, allocations: 3.984 kB / 440.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.5125, allocations: 470.6 kB / 441 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.551e-06/0.5126, allocations: 3.938 kB / 441 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.5134, allocations: 63.58 kB / 441.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/0.516, allocations: 298.9 kB / 441.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.5161, allocations: 10.56 kB / 441.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.5185, allocations: 1.32 MB / 442.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/0.5186, allocations: 4 kB / 442.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/0.5231, allocations: 0.8644 MB / 443.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.5233, allocations: 108.6 kB / 443.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.5234, allocations: 11.12 kB / 443.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009913/0.5244, allocations: 67.7 kB / 443.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.5246, allocations: 23.72 kB / 443.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.5247, allocations: 19.36 kB / 443.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003943/0.5251, allocations: 182.6 kB / 444 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-06/0.5251, allocations: 0 / 444 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009833/0.5261, allocations: 106.4 kB / 444.1 MB, free: 11.2 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.0003039/0.5265, allocations: 122.7 kB / 444.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.5282, allocations: 364.9 kB / 444.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.5283, allocations: 7.438 kB / 444.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009973/0.5293, allocations: 203.7 kB / 444.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/0.53, allocations: 41.14 kB / 444.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.5326, allocations: 0.6313 MB / 445.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.5333, allocations: 0.8073 MB / 446.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.5334, allocations: 30.73 kB / 446.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of SimCode: time 1.36e-06/0.5334, allocations: 0 / 446.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of Templates: time 0.01189/0.5453, allocations: 6.857 MB / 453.2 MB, free: 2.398 MB / 362.7 MB