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.757/1.757, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.42e-05, allocations: 0 / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07492/0.07496, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/0.3936, allocations: 76.08 MB / 375.9 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.3939, allocations: 69.95 kB / 376 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02338/0.4173, allocations: 6.358 MB / 382.4 MB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.83e-06/0.4173, allocations: 0 / 382.4 MB, free: 21.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.276e-05/0.4173, allocations: 8.688 kB / 382.4 MB, free: 21.8 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.001432/0.4188, allocations: 0.7123 MB / 383.1 MB, free: 21.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4188, allocations: 9.312 kB / 383.1 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.419, allocations: 48.98 kB / 383.1 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.4194, allocations: 291.3 kB / 383.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.4194, allocations: 31.89 kB / 383.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.914e-05/0.4195, allocations: 38.75 kB / 383.5 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.4204, allocations: 417.8 kB / 383.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.4204, allocations: 4.797 kB / 383.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.4205, allocations: 15.12 kB / 383.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.4206, allocations: 8.25 kB / 383.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.4214, allocations: 347.2 kB / 384.3 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002892/0.4243, allocations: 1.427 MB / 385.7 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4253, allocations: 361.8 kB / 386 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.4258, allocations: 186.7 kB / 386.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.4258, allocations: 15.91 kB / 386.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4259, allocations: 37.48 kB / 386.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 3.979e-06/0.4259, allocations: 0 / 386.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001615/0.4275, allocations: 0.5068 MB / 386.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4276, allocations: 162 kB / 386.9 MB, free: 20.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.4279, allocations: 220 kB / 387.2 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.4279, allocations: 36.39 kB / 387.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4281, allocations: 262.2 kB / 387.5 MB, free: 19.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4282, allocations: 133.1 kB / 387.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.4282, allocations: 9.906 kB / 387.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.4283, allocations: 328.6 kB / 387.9 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.4287, allocations: 125.6 kB / 388 MB, free: 19.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.4291, allocations: 223.6 kB / 388.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.4294, allocations: 137.1 kB / 388.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4295, allocations: 0 / 388.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002072/0.4315, allocations: 0.644 MB / 389 MB, free: 19.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4316, allocations: 3.875 kB / 389 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.524e-06/0.4316, allocations: 3.844 kB / 389 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.433, allocations: 298.9 kB / 389.3 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.4335, allocations: 84.73 kB / 389.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.4346, allocations: 1.307 MB / 390.7 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.4352, allocations: 102.1 kB / 390.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.4353, allocations: 18.78 kB / 390.8 MB, free: 18.05 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.0001293/0.4354, allocations: 122.9 kB / 391 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.4355, allocations: 35.16 kB / 391 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.4376, allocations: 0.6259 MB / 391.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.206e-06/0.4376, allocations: 3.906 kB / 391.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.968e-06/0.4376, allocations: 3.953 kB / 391.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.593e-06/0.4376, allocations: 3.422 kB / 391.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/0.4383, allocations: 461.6 kB / 392.1 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-06/0.4383, allocations: 0 / 392.1 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.4388, allocations: 75.36 kB / 392.2 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.4403, allocations: 292.9 kB / 392.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.4403, allocations: 11.53 kB / 392.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.4414, allocations: 1.314 MB / 393.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4414, allocations: 0 / 393.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.4438, allocations: 0.8796 MB / 394.6 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.4439, allocations: 111.9 kB / 394.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.444, allocations: 7.688 kB / 394.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.4446, allocations: 67.14 kB / 394.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.4446, allocations: 17.97 kB / 394.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.4447, allocations: 14.66 kB / 394.9 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.4449, allocations: 178.1 kB / 395 MB, free: 16.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.4449, allocations: 3.938 kB / 395 MB, free: 16.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005537/0.4455, allocations: 115.6 kB / 395.1 MB, free: 16.12 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.0001676/0.4457, allocations: 121.9 kB / 395.3 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.4466, allocations: 354.6 kB / 395.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.58e-06/0.4466, allocations: 0 / 395.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.4471, allocations: 203.5 kB / 395.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.4475, allocations: 60.73 kB / 395.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.4488, allocations: 0.6125 MB / 396.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.4495, allocations: 0.8029 MB / 397.3 MB, free: 30.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4496, allocations: 29.98 kB / 397.3 MB, free: 30.97 MB / 330.7 MB Notification: Performance of SimCode: time 1.661e-06/0.4496, allocations: 0 / 397.3 MB, free: 30.97 MB / 330.7 MB Notification: Performance of Templates: time 0.00959/0.4592, allocations: 6.769 MB / 404.1 MB, free: 30.66 MB / 330.7 MB