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_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.737/1.737, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.64e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/0.08303, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003483/0.08657, allocations: 1.984 MB / 268.9 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.08791, allocations: 0.5693 MB / 269.5 MB, free: 13.9 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.08805, allocations: 4 kB / 269.5 MB, free: 13.9 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.856e-05/0.08813, allocations: 23.83 kB / 269.5 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.08841, allocations: 71.75 kB / 269.6 MB, free: 13.8 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.08861, allocations: 59.86 kB / 269.6 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.08892, allocations: 147.7 kB / 269.8 MB, free: 13.6 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.08911, allocations: 44.39 kB / 269.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.08929, allocations: 75.83 kB / 269.9 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.0895, allocations: 91.67 kB / 270 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.08962, allocations: 23.92 kB / 270 MB, free: 13.37 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.08967, allocations: 12 kB / 270 MB, free: 13.36 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.08974, allocations: 39.83 kB / 270 MB, free: 13.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.08982, allocations: 24 kB / 270.1 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.09015, allocations: 207.7 kB / 270.3 MB, free: 13.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.09017, allocations: 0 / 270.3 MB, free: 13.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.09018, allocations: 0 / 270.3 MB, free: 13.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.0902, allocations: 0 / 270.3 MB, free: 13.09 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.0009918/0.0912, allocations: 495.1 kB / 270.8 MB, free: 12.56 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.09125, allocations: 8.031 kB / 270.8 MB, free: 12.55 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.09136, allocations: 27.72 kB / 270.8 MB, free: 12.52 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.09172, allocations: 231.3 kB / 271 MB, free: 12.26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.09176, allocations: 16.39 kB / 271 MB, free: 12.24 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.09184, allocations: 20 kB / 271.1 MB, free: 12.22 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.09245, allocations: 233.8 kB / 271.3 MB, free: 11.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.09248, allocations: 0 / 271.3 MB, free: 11.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.09254, allocations: 8 kB / 271.3 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.09256, allocations: 8 kB / 271.3 MB, free: 11.96 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.09308, allocations: 157.6 kB / 271.5 MB, free: 11.81 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.00206/0.09516, allocations: 1.014 MB / 272.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.09563, allocations: 158.6 kB / 272.6 MB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.09568, allocations: 3.984 kB / 272.6 MB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.09574, allocations: 38.56 kB / 272.7 MB, free: 10.48 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/0.09576, allocations: 0 / 272.7 MB, free: 10.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.002052/0.09782, allocations: 430.6 kB / 273.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.0979, allocations: 55.41 kB / 273.1 MB, free: 9.969 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.09817, allocations: 174.2 kB / 273.3 MB, free: 9.789 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.09821, allocations: 29.64 kB / 273.3 MB, free: 9.754 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.09837, allocations: 155.9 kB / 273.5 MB, free: 9.598 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.09846, allocations: 63.17 kB / 273.5 MB, free: 9.535 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.09849, allocations: 4 kB / 273.6 MB, free: 9.531 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.09866, allocations: 326.8 kB / 273.9 MB, free: 9.203 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.09888, allocations: 59.97 kB / 273.9 MB, free: 9.145 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.09912, allocations: 88.27 kB / 274 MB, free: 9.043 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.09938, allocations: 75.88 kB / 274.1 MB, free: 8.969 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.0994, allocations: 0 / 274.1 MB, free: 8.969 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008499/0.1003, allocations: 252.2 kB / 274.3 MB, free: 8.715 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1003, allocations: 4 kB / 274.3 MB, free: 8.711 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1003, allocations: 4 kB / 274.3 MB, free: 8.707 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.1026, allocations: 220.7 kB / 274.6 MB, free: 8.488 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.103, allocations: 31.98 kB / 274.6 MB, free: 8.457 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007291/0.1037, allocations: 0.6108 MB / 275.2 MB, free: 7.82 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.104, allocations: 23.92 kB / 275.2 MB, free: 7.797 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.104, allocations: 16 kB / 275.2 MB, free: 7.781 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.0001831/0.1042, allocations: 129.8 kB / 275.4 MB, free: 7.645 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.1043, allocations: 19.72 kB / 275.4 MB, free: 7.625 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007339/0.105, allocations: 236.3 kB / 275.6 MB, free: 7.383 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.105, allocations: 0 / 275.6 MB, free: 7.383 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.1051, allocations: 7.953 kB / 275.6 MB, free: 7.375 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.1051, allocations: 7.938 kB / 275.6 MB, free: 7.367 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.1056, allocations: 293.4 kB / 275.9 MB, free: 7.031 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1056, allocations: 0 / 275.9 MB, free: 7.031 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.1059, allocations: 27.98 kB / 275.9 MB, free: 7.004 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.1081, allocations: 224.6 kB / 276.2 MB, free: 6.781 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.1082, allocations: 0 / 276.2 MB, free: 6.781 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007011/0.1089, allocations: 0.6264 MB / 276.8 MB, free: 6.129 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1089, allocations: 0 / 276.8 MB, free: 6.129 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.1098, allocations: 395.7 kB / 277.2 MB, free: 5.727 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.11, allocations: 112.9 kB / 277.3 MB, free: 5.598 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.1101, allocations: 4 kB / 277.3 MB, free: 5.594 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.1103, allocations: 11.94 kB / 277.3 MB, free: 5.582 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.1104, allocations: 15.97 kB / 277.3 MB, free: 5.566 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.1105, allocations: 12.06 kB / 277.3 MB, free: 5.555 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1106, allocations: 129.2 kB / 277.5 MB, free: 5.43 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1106, allocations: 0 / 277.5 MB, free: 5.43 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004186/0.1111, allocations: 55.84 kB / 277.5 MB, free: 5.375 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.0002089/0.1113, allocations: 123.2 kB / 277.6 MB, free: 5.246 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006802/0.112, allocations: 167.8 kB / 277.8 MB, free: 5.082 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.112, allocations: 0 / 277.8 MB, free: 5.082 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.1124, allocations: 83.95 kB / 277.9 MB, free: 5 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1128, allocations: 24.17 kB / 277.9 MB, free: 4.977 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1143, allocations: 0.6776 MB / 278.6 MB, free: 4.277 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.1147, allocations: 0.7517 MB / 279.3 MB, free: 3.5 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1149, allocations: 17.53 kB / 279.3 MB, free: 3.48 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.115, allocations: 15.38 kB / 279.4 MB, free: 3.465 MB / 234.7 MB Notification: Performance of SimCode: time 1.032e-06/0.115, allocations: 0 / 279.4 MB, free: 3.465 MB / 234.7 MB Notification: Performance of Templates: time 0.008901/0.1239, allocations: 2.383 MB / 281.7 MB, free: 1.098 MB / 234.7 MB