Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 171.1 MB / 186.3 MB, free: 1.336 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.071e-05, allocations: 4 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09088, allocations: 38.78 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003203/0.09413, allocations: 1.717 MB / 268.6 MB, free: 15.39 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.0952, allocations: 395.5 kB / 269 MB, free: 15 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.09533, allocations: 4 kB / 269 MB, free: 15 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.749e-05/0.09539, allocations: 11.86 kB / 269 MB, free: 14.98 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.09556, allocations: 47.88 kB / 269.1 MB, free: 14.94 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.09575, allocations: 31.84 kB / 269.1 MB, free: 14.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.09599, allocations: 83.81 kB / 269.2 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.09614, allocations: 27.98 kB / 269.2 MB, free: 14.8 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.09629, allocations: 47.89 kB / 269.2 MB, free: 14.75 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.09644, allocations: 55.77 kB / 269.3 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.09654, allocations: 8 kB / 269.3 MB, free: 14.69 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.09658, allocations: 4 kB / 269.3 MB, free: 14.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.09662, allocations: 23.91 kB / 269.3 MB, free: 14.66 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.09668, allocations: 12 kB / 269.3 MB, free: 14.65 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.09692, allocations: 123.9 kB / 269.5 MB, free: 14.53 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.09693, allocations: 0 / 269.5 MB, free: 14.53 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.09695, allocations: 0 / 269.5 MB, free: 14.53 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.09697, allocations: 4 kB / 269.5 MB, free: 14.52 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006666/0.09764, allocations: 407.2 kB / 269.9 MB, free: 14.08 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.0977, allocations: 8.031 kB / 269.9 MB, free: 14.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.09784, allocations: 15.81 kB / 269.9 MB, free: 14.05 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.09814, allocations: 200.7 kB / 270.1 MB, free: 13.82 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.09817, allocations: 12.19 kB / 270.1 MB, free: 13.81 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.09822, allocations: 16 kB / 270.1 MB, free: 13.79 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.09859, allocations: 119.5 kB / 270.2 MB, free: 13.67 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.09861, allocations: 0 / 270.2 MB, free: 13.67 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.09865, allocations: 4 kB / 270.2 MB, free: 13.67 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.09867, allocations: 7.938 kB / 270.2 MB, free: 13.66 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.09898, allocations: 80.67 kB / 270.3 MB, free: 13.58 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.001266/0.1003, allocations: 0.5992 MB / 270.9 MB, free: 12.91 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.1007, allocations: 86.62 kB / 271 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1008, allocations: 0 / 271 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1008, allocations: 38.62 kB / 271 MB, free: 12.77 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.1008, allocations: 0 / 271 MB, free: 12.77 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.001068/0.1019, allocations: 263.4 kB / 271.3 MB, free: 12.48 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.102, allocations: 59.36 kB / 271.4 MB, free: 12.41 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1021, allocations: 137 kB / 271.5 MB, free: 12.27 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1022, allocations: 29.7 kB / 271.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1023, allocations: 186.1 kB / 271.7 MB, free: 12.05 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.1024, allocations: 23.66 kB / 271.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.1024, allocations: 0 / 271.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1025, allocations: 318.8 kB / 272 MB, free: 11.71 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1026, allocations: 20 kB / 272.1 MB, free: 11.69 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1028, allocations: 50.55 kB / 272.1 MB, free: 11.63 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1029, allocations: 28 kB / 272.1 MB, free: 11.61 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1029, allocations: 0 / 272.1 MB, free: 11.61 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004829/0.1034, allocations: 138.4 kB / 272.3 MB, free: 11.46 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.1035, allocations: 11.98 kB / 272.3 MB, free: 11.45 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1035, allocations: 0 / 272.3 MB, free: 11.45 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/0.1038, allocations: 32.84 kB / 272.3 MB, free: 11.41 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1039, allocations: 11.98 kB / 272.3 MB, free: 11.4 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.1061, allocations: 1.511 MB / 273.8 MB, free: 9.754 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1062, allocations: 15.91 kB / 273.9 MB, free: 9.738 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1063, allocations: 12.05 kB / 273.9 MB, free: 9.727 MB / 234.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 (5): * Single equations (assignments): 4 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.1064, allocations: 125.7 kB / 274 MB, free: 9.594 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.1065, allocations: 15.89 kB / 274 MB, free: 9.578 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.1065, allocations: 8.719 kB / 274 MB, free: 9.574 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1065, allocations: 0 / 274 MB, free: 9.574 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1065, allocations: 192 / 274 MB, free: 9.574 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1065, allocations: 4 kB / 274 MB, free: 9.57 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.1069, allocations: 221.4 kB / 274.2 MB, free: 9.305 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1069, allocations: 0 / 274.2 MB, free: 9.305 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.107, allocations: 8 kB / 274.2 MB, free: 9.297 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.1072, allocations: 40.77 kB / 274.3 MB, free: 9.254 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1072, allocations: 4 kB / 274.3 MB, free: 9.25 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.1092, allocations: 1.506 MB / 275.8 MB, free: 7.609 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1092, allocations: 128 / 275.8 MB, free: 7.609 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.1097, allocations: 228.3 kB / 276 MB, free: 7.367 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.1098, allocations: 92.91 kB / 276.1 MB, free: 7.258 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1099, allocations: 7.953 kB / 276.1 MB, free: 7.25 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.11, allocations: 4 kB / 276.1 MB, free: 7.246 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.1101, allocations: 11.98 kB / 276.1 MB, free: 7.234 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1101, allocations: 0 / 276.1 MB, free: 7.234 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1103, allocations: 111.8 kB / 276.2 MB, free: 7.125 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1103, allocations: 4 kB / 276.2 MB, free: 7.121 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005253/0.1108, allocations: 39.94 kB / 276.3 MB, free: 7.082 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.111, allocations: 103.2 kB / 276.4 MB, free: 6.973 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005606/0.1116, allocations: 194.7 kB / 276.6 MB, free: 6.77 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1116, allocations: 4 kB / 276.6 MB, free: 6.766 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.1119, allocations: 154.7 kB / 276.7 MB, free: 6.602 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.1122, allocations: 8 kB / 276.7 MB, free: 6.594 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.113, allocations: 372 kB / 277.1 MB, free: 6.195 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.1134, allocations: 0.716 MB / 277.8 MB, free: 5.453 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.1135, allocations: 11.44 kB / 277.8 MB, free: 5.441 MB / 234.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1135, allocations: 0 / 277.8 MB, free: 5.441 MB / 234.7 MB Notification: Performance of Templates: time 0.005339/0.1188, allocations: 1.84 MB / 279.7 MB, free: 3.602 MB / 234.7 MB