Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 2.487/2.487, allocations: 194.9 MB / 211.2 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.292e-05, allocations: 4 kB / 258.8 MB, free: 8.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3082, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003532/0.3118, allocations: 1.986 MB / 305.3 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3134, allocations: 0.5731 MB / 305.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.3137, allocations: 5.438 kB / 305.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.495e-05/0.3138, allocations: 22.45 kB / 305.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.3141, allocations: 74.05 kB / 306 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3144, allocations: 63.64 kB / 306 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.3148, allocations: 143.2 kB / 306.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.315, allocations: 42.83 kB / 306.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.3152, allocations: 81.84 kB / 306.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.3155, allocations: 94.66 kB / 306.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3156, allocations: 22.61 kB / 306.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.3157, allocations: 9.25 kB / 306.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.3157, allocations: 42.78 kB / 306.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.3158, allocations: 22.56 kB / 306.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.3162, allocations: 196.2 kB / 306.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.3162, allocations: 4 kB / 306.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3162, allocations: 3.938 kB / 306.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.3162, allocations: 0 / 306.7 MB, free: 10.11 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001053/0.3173, allocations: 486.1 kB / 307.1 MB, free: 9.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3174, allocations: 9.75 kB / 307.1 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3175, allocations: 25.09 kB / 307.2 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.3179, allocations: 234.5 kB / 307.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.3179, allocations: 20.72 kB / 307.4 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.318, allocations: 17.56 kB / 307.4 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.3187, allocations: 229.3 kB / 307.7 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3188, allocations: 0 / 307.7 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.3188, allocations: 8 kB / 307.7 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3188, allocations: 4 kB / 307.7 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000541/0.3194, allocations: 157.6 kB / 307.8 MB, free: 9.02 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.002248/0.3216, allocations: 0.9984 MB / 308.8 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.3222, allocations: 150.5 kB / 309 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.3223, allocations: 4.078 kB / 309 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.3223, allocations: 46.45 kB / 309 MB, free: 7.703 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.986e-06/0.3223, allocations: 0 / 309 MB, free: 7.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.002114/0.3245, allocations: 424.8 kB / 309.4 MB, free: 7.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3245, allocations: 55.41 kB / 309.5 MB, free: 7.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.3248, allocations: 158.6 kB / 309.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.3248, allocations: 29.7 kB / 309.7 MB, free: 6.992 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.325, allocations: 214.4 kB / 309.9 MB, free: 6.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.3251, allocations: 59.19 kB / 309.9 MB, free: 6.723 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.3251, allocations: 4 kB / 309.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3253, allocations: 322.8 kB / 310.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3255, allocations: 48.36 kB / 310.3 MB, free: 6.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.3258, allocations: 87.3 kB / 310.4 MB, free: 6.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.326, allocations: 62.91 kB / 310.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.326, allocations: 0 / 310.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008329/0.3269, allocations: 238.2 kB / 310.7 MB, free: 5.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3269, allocations: 4 kB / 310.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3269, allocations: 4 kB / 310.7 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.3292, allocations: 216.6 kB / 310.9 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.3295, allocations: 31.98 kB / 310.9 MB, free: 5.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007014/0.3302, allocations: 0.6147 MB / 311.6 MB, free: 5.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.3305, allocations: 23.81 kB / 311.6 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.3306, allocations: 7.984 kB / 311.6 MB, free: 5.027 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.3308, allocations: 133.9 kB / 311.7 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.3309, allocations: 23.77 kB / 311.7 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.3317, allocations: 232.2 kB / 312 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3317, allocations: 7.984 kB / 312 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3317, allocations: 0 / 312 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3317, allocations: 0 / 312 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.3323, allocations: 289.4 kB / 312.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3323, allocations: 0 / 312.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.3326, allocations: 35.91 kB / 312.3 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.3347, allocations: 220.6 kB / 312.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.3347, allocations: 7.953 kB / 312.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006909/0.3355, allocations: 0.6264 MB / 313.1 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3355, allocations: 0 / 313.1 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/0.3364, allocations: 398.8 kB / 313.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.3366, allocations: 104.9 kB / 313.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.3367, allocations: 4 kB / 313.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.3369, allocations: 8 kB / 313.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.337, allocations: 15.98 kB / 313.7 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.3371, allocations: 4 kB / 313.7 MB, free: 2.812 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.3372, allocations: 135.5 kB / 313.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.3372, allocations: 4.062 kB / 313.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.3377, allocations: 59.84 kB / 313.9 MB, free: 2.617 MB / 250.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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002203/0.3379, allocations: 115.2 kB / 314 MB, free: 2.492 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006809/0.3386, allocations: 159.8 kB / 314.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3386, allocations: 0 / 314.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.339, allocations: 97.16 kB / 314.2 MB, free: 2.242 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3394, allocations: 28.17 kB / 314.2 MB, free: 2.215 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.341, allocations: 0.7116 MB / 315 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3415, allocations: 0.7402 MB / 315.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.3415, allocations: 19.44 kB / 315.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3416, allocations: 4 kB / 315.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of Templates: time 0.007676/0.3492, allocations: 3.035 MB / 318.8 MB, free: 13.64 MB / 266.7 MB