Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.145e-05, allocations: 7.984 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 50.4 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004338/0.1198, allocations: 2.482 MB / 347.5 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1218, allocations: 0.6758 MB / 348.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.1221, allocations: 12 kB / 348.1 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.1222, allocations: 35.69 kB / 348.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.1225, allocations: 111.6 kB / 348.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.1229, allocations: 103.9 kB / 348.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.1235, allocations: 276.9 kB / 348.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.1237, allocations: 102.4 kB / 348.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.1241, allocations: 159.6 kB / 348.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.1244, allocations: 199.4 kB / 349.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1246, allocations: 27.94 kB / 349.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.613e-05/0.1247, allocations: 20 kB / 349.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1248, allocations: 83.64 kB / 349.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1249, allocations: 40 kB / 349.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006181/0.1256, allocations: 411.1 kB / 349.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1256, allocations: 0 / 349.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1256, allocations: 0 / 349.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1256, allocations: 0 / 349.7 MB, free: 4.227 MB / 282.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.002361/0.128, allocations: 0.7217 MB / 350.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.128, allocations: 11.97 kB / 350.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.1282, allocations: 55.39 kB / 350.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.1287, allocations: 297.4 kB / 350.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.1288, allocations: 25 kB / 350.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.1289, allocations: 36 kB / 350.8 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.1308, allocations: 0.5318 MB / 351.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.1309, allocations: 0 / 351.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.1309, allocations: 16 kB / 351.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.131, allocations: 8 kB / 351.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.1336, allocations: 0.5699 MB / 351.9 MB, free: 1.855 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.1379, allocations: 1.683 MB / 353.6 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.14, allocations: 463.7 kB / 354.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.856e-05/0.1401, allocations: 12.31 kB / 354.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.1402, allocations: 42.88 kB / 354.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.657e-06/0.1402, allocations: 0 / 354.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.009505/0.1497, allocations: 1.533 MB / 355.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1499, allocations: 162.2 kB / 355.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.1504, allocations: 242.2 kB / 356.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.894e-05/0.1505, allocations: 33.7 kB / 356.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1507, allocations: 262.7 kB / 356.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.1509, allocations: 138 kB / 356.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1509, allocations: 8 kB / 356.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1511, allocations: 330.8 kB / 356.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009827/0.1521, allocations: 204.8 kB / 357 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.1532, allocations: 306.5 kB / 357.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1542, allocations: 219.8 kB / 357.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1543, allocations: 0 / 357.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003612/0.1579, allocations: 0.7486 MB / 358.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.158, allocations: 4 kB / 358.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.158, allocations: 7.984 kB / 358.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/0.1602, allocations: 333.5 kB / 358.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.161, allocations: 87.88 kB / 358.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.1631, allocations: 1.374 MB / 360.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/0.164, allocations: 99.53 kB / 360.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.1641, allocations: 16 kB / 360.2 MB, free: 9.234 MB / 298.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.0002881/0.1644, allocations: 152.7 kB / 360.3 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1645, allocations: 39.61 kB / 360.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.1686, allocations: 0.8212 MB / 361.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.1687, allocations: 8 kB / 361.2 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1687, allocations: 0 / 361.2 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.1687, allocations: 3.984 kB / 361.2 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.1697, allocations: 472.8 kB / 361.7 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1697, allocations: 0 / 361.7 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.1703, allocations: 67.95 kB / 361.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/0.1725, allocations: 337.4 kB / 362.1 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.1726, allocations: 12 kB / 362.1 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.1748, allocations: 1.382 MB / 363.5 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1748, allocations: 0 / 363.5 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004996/0.1798, allocations: 1.121 MB / 364.6 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.18, allocations: 116.5 kB / 364.7 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.1802, allocations: 12 kB / 364.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.1809, allocations: 56.02 kB / 364.8 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.181, allocations: 27.95 kB / 364.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.1811, allocations: 16 kB / 364.8 MB, free: 4.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004178/0.1815, allocations: 189.9 kB / 365 MB, free: 4.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1815, allocations: 0 / 365 MB, free: 4.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.1821, allocations: 111.8 kB / 365.1 MB, free: 4.148 MB / 298.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.0002369/0.1823, allocations: 115.2 kB / 365.2 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.1847, allocations: 0.5159 MB / 365.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1847, allocations: 0 / 365.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.1859, allocations: 272 kB / 366 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.1864, allocations: 48.7 kB / 366 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.1892, allocations: 1.09 MB / 367.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.1897, allocations: 0.8112 MB / 367.9 MB, free: 1.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.1899, allocations: 27.44 kB / 368 MB, free: 1.215 MB / 298.7 MB Notification: Performance of SimCode: time 1.041e-06/0.1899, allocations: 0 / 368 MB, free: 1.215 MB / 298.7 MB Notification: Performance of Templates: time 0.0143/0.2042, allocations: 6.866 MB / 374.8 MB, free: 10.34 MB / 314.7 MB