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.1_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.942e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09379, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00341/0.09727, allocations: 1.982 MB / 268.9 MB, free: 15.12 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.09881, allocations: 0.5692 MB / 269.4 MB, free: 14.55 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.09901, allocations: 4 kB / 269.4 MB, free: 14.55 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.436e-05/0.0991, allocations: 23.83 kB / 269.5 MB, free: 14.53 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.09942, allocations: 83.73 kB / 269.5 MB, free: 14.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.09965, allocations: 39.95 kB / 269.6 MB, free: 14.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.09996, allocations: 155.6 kB / 269.7 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1002, allocations: 40.41 kB / 269.8 MB, free: 14.21 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1004, allocations: 79.81 kB / 269.9 MB, free: 14.13 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1006, allocations: 91.67 kB / 269.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1007, allocations: 23.92 kB / 270 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.1008, allocations: 12 kB / 270 MB, free: 14.01 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.1009, allocations: 43.83 kB / 270 MB, free: 13.96 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.1009, allocations: 20 kB / 270 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.1013, allocations: 207.7 kB / 270.2 MB, free: 13.74 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1013, allocations: 0 / 270.2 MB, free: 13.74 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1013, allocations: 0 / 270.2 MB, free: 13.74 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1014, allocations: 0 / 270.2 MB, free: 13.74 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001025/0.1024, allocations: 495.1 kB / 270.7 MB, free: 13.21 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1025, allocations: 12.03 kB / 270.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/0.1026, allocations: 23.72 kB / 270.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.1029, allocations: 227.4 kB / 271 MB, free: 12.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.103, allocations: 20.33 kB / 271 MB, free: 12.89 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.1031, allocations: 24 kB / 271 MB, free: 12.87 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.1037, allocations: 229.8 kB / 271.3 MB, free: 12.63 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1038, allocations: 0 / 271.3 MB, free: 12.63 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.1038, allocations: 8 kB / 271.3 MB, free: 12.62 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1038, allocations: 8 kB / 271.3 MB, free: 12.62 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.1044, allocations: 157.6 kB / 271.4 MB, free: 12.46 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.00229/0.1067, allocations: 1.014 MB / 272.4 MB, free: 11.35 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.1072, allocations: 154.6 kB / 272.6 MB, free: 11.19 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.1073, allocations: 8 kB / 272.6 MB, free: 11.18 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.1073, allocations: 34.5 kB / 272.6 MB, free: 11.14 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 3.136e-06/0.1073, allocations: 0 / 272.6 MB, free: 11.14 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.002153/0.1095, allocations: 432.9 kB / 273.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1096, allocations: 55.41 kB / 273.1 MB, free: 10.62 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.1098, allocations: 166.3 kB / 273.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1099, allocations: 33.64 kB / 273.3 MB, free: 10.41 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1101, allocations: 218.4 kB / 273.5 MB, free: 10.2 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.1101, allocations: 55.2 kB / 273.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.1102, allocations: 4 kB / 273.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1103, allocations: 318.8 kB / 273.9 MB, free: 9.816 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1105, allocations: 55.98 kB / 273.9 MB, free: 9.762 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.1108, allocations: 100.2 kB / 274 MB, free: 9.648 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.111, allocations: 63.95 kB / 274.1 MB, free: 9.586 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1111, allocations: 4 kB / 274.1 MB, free: 9.582 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000851/0.1119, allocations: 248.2 kB / 274.3 MB, free: 9.332 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.112, allocations: 5.875 kB / 274.4 MB, free: 9.328 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.112, allocations: 4 kB / 274.4 MB, free: 9.324 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.1143, allocations: 220.7 kB / 274.6 MB, free: 9.105 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.1147, allocations: 39.97 kB / 274.6 MB, free: 9.066 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007331/0.1154, allocations: 0.6147 MB / 275.2 MB, free: 8.426 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.1157, allocations: 23.84 kB / 275.2 MB, free: 8.402 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.1157, allocations: 8 kB / 275.3 MB, free: 8.395 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0002055/0.116, allocations: 125.8 kB / 275.4 MB, free: 8.262 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.116, allocations: 19.8 kB / 275.4 MB, free: 8.242 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008139/0.1169, allocations: 240.1 kB / 275.6 MB, free: 7.996 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1169, allocations: 0 / 275.6 MB, free: 7.996 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.1169, allocations: 7.953 kB / 275.6 MB, free: 7.988 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1169, allocations: 3.984 kB / 275.6 MB, free: 7.984 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.1174, allocations: 285.5 kB / 275.9 MB, free: 7.656 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1174, allocations: 0 / 275.9 MB, free: 7.656 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.1178, allocations: 35.91 kB / 276 MB, free: 7.621 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.1198, allocations: 224.6 kB / 276.2 MB, free: 7.398 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.1199, allocations: 3.984 kB / 276.2 MB, free: 7.395 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007355/0.1207, allocations: 0.6264 MB / 276.8 MB, free: 6.742 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1207, allocations: 0 / 276.8 MB, free: 6.742 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1217, allocations: 391.7 kB / 277.2 MB, free: 6.344 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1219, allocations: 112.8 kB / 277.3 MB, free: 6.215 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.122, allocations: 8 kB / 277.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.1222, allocations: 11.92 kB / 277.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.1223, allocations: 20.05 kB / 277.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1224, allocations: 4.094 kB / 277.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1225, allocations: 137.1 kB / 277.5 MB, free: 6.039 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1226, allocations: 0 / 277.5 MB, free: 6.039 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004585/0.123, allocations: 63.84 kB / 277.5 MB, free: 5.977 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 (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.0002605/0.1233, allocations: 103.2 kB / 277.6 MB, free: 5.867 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.124, allocations: 171.8 kB / 277.8 MB, free: 5.699 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1241, allocations: 3.938 kB / 277.8 MB, free: 5.695 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.1244, allocations: 87.95 kB / 277.9 MB, free: 5.609 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.1248, allocations: 24.44 kB / 277.9 MB, free: 5.586 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1265, allocations: 0.7025 MB / 278.6 MB, free: 4.855 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.1269, allocations: 0.7517 MB / 279.4 MB, free: 4.078 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.127, allocations: 15.44 kB / 279.4 MB, free: 4.062 MB / 234.7 MB Notification: Performance of SimCode: time 6.21e-07/0.127, allocations: 7.875 kB / 279.4 MB, free: 4.055 MB / 234.7 MB Notification: Performance of Templates: time 0.008117/0.1352, allocations: 3.099 MB / 282.5 MB, free: 0.9492 MB / 234.7 MB