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_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.408e-05/3.419e-05, allocations: 7.984 kB / 258.8 MB, free: 8.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2984, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003312/0.3018, allocations: 1.99 MB / 305.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3032, allocations: 0.5758 MB / 305.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3034, allocations: 5.625 kB / 305.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.807e-05/0.3034, allocations: 22.58 kB / 305.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.3038, allocations: 74.11 kB / 306 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.304, allocations: 59.39 kB / 306 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.3043, allocations: 147.6 kB / 306.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.3045, allocations: 42.27 kB / 306.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3047, allocations: 78.14 kB / 306.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.3049, allocations: 94.84 kB / 306.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.305, allocations: 18.22 kB / 306.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.3051, allocations: 10.66 kB / 306.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.3051, allocations: 45.02 kB / 306.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.3052, allocations: 20 kB / 306.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3056, allocations: 197.8 kB / 306.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3056, allocations: 0 / 306.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3056, allocations: 3.938 kB / 306.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3056, allocations: 0 / 306.7 MB, free: 10.25 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.0009595/0.3066, allocations: 491.2 kB / 307.2 MB, free: 9.723 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3067, allocations: 8.031 kB / 307.2 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.3068, allocations: 23.72 kB / 307.2 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3071, allocations: 239.3 kB / 307.4 MB, free: 9.418 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.3071, allocations: 12.44 kB / 307.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.3072, allocations: 24 kB / 307.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.3078, allocations: 225.8 kB / 307.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3078, allocations: 0 / 307.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.3079, allocations: 15.94 kB / 307.7 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.3079, allocations: 4 kB / 307.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.3084, allocations: 157.6 kB / 307.9 MB, free: 8.977 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.002072/0.3105, allocations: 0.9984 MB / 308.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.311, allocations: 154.5 kB / 309 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.3111, allocations: 8 kB / 309 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3111, allocations: 42.53 kB / 309.1 MB, free: 7.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.676e-06/0.3111, allocations: 0 / 309.1 MB, free: 7.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.002031/0.3132, allocations: 425.8 kB / 309.5 MB, free: 7.215 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.3132, allocations: 55.41 kB / 309.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3135, allocations: 158.6 kB / 309.7 MB, free: 6.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.3135, allocations: 29.7 kB / 309.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3136, allocations: 156 kB / 309.9 MB, free: 6.789 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.3137, allocations: 55.19 kB / 309.9 MB, free: 6.734 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.3138, allocations: 8 kB / 309.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3139, allocations: 326.8 kB / 310.2 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3141, allocations: 52.36 kB / 310.3 MB, free: 6.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3143, allocations: 83.28 kB / 310.4 MB, free: 6.258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.3146, allocations: 58.92 kB / 310.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3146, allocations: 0 / 310.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007856/0.3154, allocations: 246.1 kB / 310.7 MB, free: 5.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.3154, allocations: 11.98 kB / 310.7 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3155, allocations: 0 / 310.7 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.3177, allocations: 216.6 kB / 310.9 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.318, allocations: 35.98 kB / 310.9 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006594/0.3187, allocations: 0.6147 MB / 311.5 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.319, allocations: 19.83 kB / 311.6 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.319, allocations: 8 kB / 311.6 MB, free: 5.023 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.0001695/0.3192, allocations: 129.9 kB / 311.7 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.3192, allocations: 19.77 kB / 311.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/0.32, allocations: 232.2 kB / 311.9 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.32, allocations: 4 kB / 311.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.32, allocations: 0 / 311.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.32, allocations: 3.984 kB / 312 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.3205, allocations: 301.4 kB / 312.2 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3205, allocations: 0 / 312.2 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.3208, allocations: 27.92 kB / 312.3 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/0.3229, allocations: 220.5 kB / 312.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.3229, allocations: 11.95 kB / 312.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006547/0.3236, allocations: 0.6226 MB / 313.1 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3236, allocations: 3.984 kB / 313.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.3245, allocations: 401.5 kB / 313.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3247, allocations: 108.9 kB / 313.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.3247, allocations: 0 / 313.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.325, allocations: 16 kB / 313.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.3251, allocations: 7.984 kB / 313.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.3251, allocations: 11.98 kB / 313.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.3253, allocations: 135.5 kB / 313.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3253, allocations: 4.062 kB / 313.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.3257, allocations: 55.84 kB / 313.8 MB, free: 2.609 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.0002038/0.3259, allocations: 119.2 kB / 314 MB, free: 2.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000607/0.3265, allocations: 155.8 kB / 314.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.3266, allocations: 4.125 kB / 314.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.3269, allocations: 97.03 kB / 314.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.3273, allocations: 24.12 kB / 314.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3287, allocations: 0.6739 MB / 314.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3291, allocations: 0.7402 MB / 315.7 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.3293, allocations: 17.55 kB / 315.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.3294, allocations: 11.44 kB / 315.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3294, allocations: 0 / 315.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of Templates: time 0.008787/0.3382, allocations: 2.359 MB / 318 MB, free: 14.36 MB / 266.7 MB