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.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 171.2 MB / 186.3 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.835e-05, allocations: 0 / 228.1 MB, free: 5.898 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07765/0.0777, allocations: 38.76 MB / 266.9 MB, free: 15.05 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004129/0.08189, allocations: 2.474 MB / 269.4 MB, free: 12.55 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.08384, allocations: 0.7144 MB / 270.1 MB, free: 11.84 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.08418, allocations: 12 kB / 270.1 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.08432, allocations: 43.62 kB / 270.1 MB, free: 11.78 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.08468, allocations: 103.7 kB / 270.2 MB, free: 11.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.0851, allocations: 103.8 kB / 270.3 MB, free: 11.58 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.08568, allocations: 265 kB / 270.6 MB, free: 11.32 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.08595, allocations: 90.53 kB / 270.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.0863, allocations: 163.6 kB / 270.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.0867, allocations: 207.3 kB / 271 MB, free: 10.86 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.08685, allocations: 24 kB / 271.1 MB, free: 10.84 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-05/0.08694, allocations: 20 kB / 271.1 MB, free: 10.82 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.08705, allocations: 79.67 kB / 271.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.08719, allocations: 40 kB / 271.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.08779, allocations: 411 kB / 271.6 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.08781, allocations: 0 / 271.6 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.08782, allocations: 0 / 271.6 MB, free: 10.3 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.08784, allocations: 0 / 271.6 MB, free: 10.3 MB / 234.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.002305/0.09016, allocations: 0.7295 MB / 272.3 MB, free: 9.523 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.09023, allocations: 8.031 kB / 272.3 MB, free: 9.516 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.09042, allocations: 47.44 kB / 272.4 MB, free: 9.469 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.09101, allocations: 297.4 kB / 272.7 MB, free: 9.137 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.09108, allocations: 32.95 kB / 272.7 MB, free: 9.105 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.0912, allocations: 36 kB / 272.7 MB, free: 9.07 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.09317, allocations: 0.524 MB / 273.3 MB, free: 8.523 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.09324, allocations: 0 / 273.3 MB, free: 8.523 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.09332, allocations: 16 kB / 273.3 MB, free: 8.508 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.09335, allocations: 8 kB / 273.3 MB, free: 8.5 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.09598, allocations: 0.5621 MB / 273.8 MB, free: 7.938 MB / 234.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.004512/0.1005, allocations: 1.648 MB / 275.5 MB, free: 6.152 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.1026, allocations: 463.6 kB / 275.9 MB, free: 5.691 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.541e-05/0.1028, allocations: 8.312 kB / 276 MB, free: 5.684 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1028, allocations: 38.89 kB / 276 MB, free: 5.637 MB / 234.7 MB Notification: Performance of pre-optimization done (n=40): time 3.055e-06/0.1028, allocations: 4 kB / 276 MB, free: 5.633 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.009477/0.1123, allocations: 1.534 MB / 277.5 MB, free: 4.051 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1125, allocations: 162.2 kB / 277.7 MB, free: 3.855 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.113, allocations: 238.2 kB / 277.9 MB, free: 3.617 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.1131, allocations: 33.7 kB / 278 MB, free: 3.578 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.1133, allocations: 258.7 kB / 278.2 MB, free: 3.324 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.1134, allocations: 145.9 kB / 278.4 MB, free: 3.18 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1135, allocations: 12 kB / 278.4 MB, free: 3.168 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1136, allocations: 322.8 kB / 278.7 MB, free: 2.844 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009921/0.1146, allocations: 208.7 kB / 278.9 MB, free: 2.637 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.1157, allocations: 310.3 kB / 279.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1168, allocations: 215.8 kB / 279.4 MB, free: 2.09 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1168, allocations: 0 / 279.4 MB, free: 2.09 MB / 234.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003627/0.1204, allocations: 0.7486 MB / 280.1 MB, free: 1.328 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.1205, allocations: 8 kB / 280.2 MB, free: 1.32 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1205, allocations: 0 / 280.2 MB, free: 1.32 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.1227, allocations: 337.5 kB / 280.5 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.1234, allocations: 87.89 kB / 280.6 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2119/0.3353, allocations: 1.357 MB / 281.9 MB, free: 14.47 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/0.3364, allocations: 93.64 kB / 282 MB, free: 14.47 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/0.3365, allocations: 16.73 kB / 282 MB, free: 14.47 MB / 234.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.0002929/0.3368, allocations: 160 kB / 282.2 MB, free: 14.36 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3369, allocations: 33.11 kB / 282.2 MB, free: 14.36 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/0.3412, allocations: 0.8181 MB / 283 MB, free: 14.29 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.3412, allocations: 4.562 kB / 283 MB, free: 14.29 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.3413, allocations: 5.203 kB / 283.1 MB, free: 14.29 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.3413, allocations: 1.688 kB / 283.1 MB, free: 14.29 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000992/0.3423, allocations: 460.1 kB / 283.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.3423, allocations: 1.078 kB / 283.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/0.343, allocations: 72.47 kB / 283.6 MB, free: 14.1 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/0.3453, allocations: 341.2 kB / 283.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.132e-05/0.3454, allocations: 17 kB / 283.9 MB, free: 14.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.3472, allocations: 1.375 MB / 285.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3473, allocations: 0.75 kB / 285.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004984/0.3523, allocations: 1.123 MB / 286.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.3526, allocations: 148.5 kB / 286.6 MB, free: 12.51 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.3527, allocations: 6.75 kB / 286.6 MB, free: 12.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.3535, allocations: 70.27 kB / 286.6 MB, free: 12.49 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3536, allocations: 22.22 kB / 286.7 MB, free: 12.48 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.3536, allocations: 15.56 kB / 286.7 MB, free: 12.48 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0003721/0.354, allocations: 196.2 kB / 286.9 MB, free: 12.36 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.354, allocations: 0 / 286.9 MB, free: 12.36 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.3547, allocations: 106.2 kB / 287 MB, free: 12.34 MB / 234.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.0002153/0.3549, allocations: 113.2 kB / 287.1 MB, free: 12.25 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.3573, allocations: 0.5111 MB / 287.6 MB, free: 12.11 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3574, allocations: 1.125 kB / 287.6 MB, free: 12.11 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3586, allocations: 278.5 kB / 287.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.3592, allocations: 41.66 kB / 287.9 MB, free: 12.02 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.3619, allocations: 1.083 MB / 289 MB, free: 11.36 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3623, allocations: 0.804 MB / 289.8 MB, free: 10.66 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.3625, allocations: 25.44 kB / 289.8 MB, free: 10.65 MB / 234.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3625, allocations: 0 / 289.8 MB, free: 10.65 MB / 234.7 MB Notification: Performance of Templates: time 0.01526/0.3778, allocations: 6.804 MB / 296.6 MB, free: 8.332 MB / 234.7 MB