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 2.065/2.065, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.409e-05, allocations: 7.984 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3498, allocations: 44.5 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004273/0.3542, allocations: 2.473 MB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3562, allocations: 0.71 MB / 306.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.3565, allocations: 14 kB / 306.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3567, allocations: 36 kB / 306.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.357, allocations: 110.7 kB / 306.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.3575, allocations: 103.1 kB / 306.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.3581, allocations: 272.9 kB / 307 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.3584, allocations: 89.14 kB / 307.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.3588, allocations: 164.2 kB / 307.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.3592, allocations: 196.9 kB / 307.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3593, allocations: 24.78 kB / 307.5 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.3594, allocations: 22.84 kB / 307.5 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3596, allocations: 83.56 kB / 307.6 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3597, allocations: 41.94 kB / 307.6 MB, free: 9.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.3603, allocations: 404.7 kB / 308 MB, free: 8.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3603, allocations: 0 / 308 MB, free: 8.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3604, allocations: 0 / 308 MB, free: 8.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.3604, allocations: 0 / 308 MB, free: 8.98 MB / 250.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.002325/0.3627, allocations: 0.7218 MB / 308.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.3628, allocations: 15.97 kB / 308.7 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.363, allocations: 47.44 kB / 308.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.3635, allocations: 293.4 kB / 309.1 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.3636, allocations: 32.94 kB / 309.1 MB, free: 7.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.3637, allocations: 36 kB / 309.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.3657, allocations: 0.524 MB / 309.7 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.3658, allocations: 0 / 309.7 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.3659, allocations: 16 kB / 309.7 MB, free: 7.191 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3659, allocations: 8 kB / 309.7 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.3685, allocations: 0.566 MB / 310.2 MB, free: 6.613 MB / 250.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.004684/0.3733, allocations: 1.652 MB / 311.9 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.3754, allocations: 473.2 kB / 312.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.531e-05/0.3755, allocations: 8.312 kB / 312.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.3756, allocations: 38.89 kB / 312.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 3.085e-06/0.3756, allocations: 0 / 312.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.009605/0.3852, allocations: 1.527 MB / 313.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.3854, allocations: 166.1 kB / 314.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.3859, allocations: 234.2 kB / 314.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.386, allocations: 37.7 kB / 314.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3863, allocations: 262.7 kB / 314.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.3865, allocations: 134 kB / 314.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.3865, allocations: 8 kB / 314.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3867, allocations: 326.8 kB / 315.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.3877, allocations: 196.8 kB / 315.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.3889, allocations: 302.5 kB / 315.6 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.39, allocations: 223.9 kB / 315.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.39, allocations: 0 / 315.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003748/0.3938, allocations: 0.7601 MB / 316.5 MB, free: 4 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.474e-05/0.3939, allocations: 8.109 kB / 316.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.394, allocations: 4 kB / 316.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.3963, allocations: 329.4 kB / 316.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.3971, allocations: 83.88 kB / 317 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.3993, allocations: 1.382 MB / 318.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009329/0.4003, allocations: 91.62 kB / 318.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.4004, allocations: 19.98 kB / 318.5 MB, free: 14.04 MB / 266.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.0003067/0.4007, allocations: 161.7 kB / 318.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4009, allocations: 31.62 kB / 318.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/0.405, allocations: 0.8175 MB / 319.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.405, allocations: 4 kB / 319.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.405, allocations: 0 / 319.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.4051, allocations: 3.984 kB / 319.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.4061, allocations: 469.1 kB / 319.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4061, allocations: 0 / 319.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.4067, allocations: 63.95 kB / 320 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/0.409, allocations: 349.3 kB / 320.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.4091, allocations: 11.98 kB / 320.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.4113, allocations: 1.37 MB / 321.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.4114, allocations: 0 / 321.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/0.4165, allocations: 1.133 MB / 322.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.4167, allocations: 116.6 kB / 323 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.4168, allocations: 15.95 kB / 323 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007187/0.4176, allocations: 59.94 kB / 323 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.4177, allocations: 23.97 kB / 323.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.4178, allocations: 12 kB / 323.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004082/0.4182, allocations: 189.9 kB / 323.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4182, allocations: 0 / 323.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005899/0.4188, allocations: 103.8 kB / 323.4 MB, free: 8.965 MB / 266.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.0002353/0.419, allocations: 111.2 kB / 323.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.4215, allocations: 0.5073 MB / 324 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4215, allocations: 0 / 324 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4228, allocations: 280.2 kB / 324.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.4233, allocations: 52.66 kB / 324.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.4262, allocations: 1.074 MB / 325.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.4268, allocations: 0.8076 MB / 326.2 MB, free: 6.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.427, allocations: 27.44 kB / 326.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of SimCode: time 1.422e-06/0.427, allocations: 0 / 326.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of Templates: time 0.01519/0.4422, allocations: 6.797 MB / 333 MB, free: 15.24 MB / 282.7 MB