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.2_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 194.9 MB / 211.2 MB, free: 9.328 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.95e-05, allocations: 7.984 kB / 258.8 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3206, allocations: 44.5 MB / 303.3 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003087/0.3237, allocations: 1.722 MB / 305 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3248, allocations: 407 kB / 305.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.325, allocations: 3.812 kB / 305.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.173e-05/0.325, allocations: 17.95 kB / 305.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.3252, allocations: 41.44 kB / 305.5 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.3254, allocations: 36.28 kB / 305.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3256, allocations: 80.38 kB / 305.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3258, allocations: 24.39 kB / 305.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.326, allocations: 54.77 kB / 305.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3261, allocations: 51.14 kB / 305.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.3262, allocations: 8.344 kB / 305.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.3262, allocations: 5.281 kB / 305.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.3263, allocations: 19.17 kB / 305.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.3263, allocations: 13.28 kB / 305.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3266, allocations: 115.2 kB / 305.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3266, allocations: 0 / 305.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3266, allocations: 1.188 kB / 305.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3266, allocations: 0 / 305.9 MB, free: 10.62 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007045/0.3273, allocations: 409.6 kB / 306.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3274, allocations: 13.92 kB / 306.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.3275, allocations: 12.5 kB / 306.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.3279, allocations: 212.6 kB / 306.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3279, allocations: 8.453 kB / 306.5 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.3279, allocations: 15.48 kB / 306.5 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.3283, allocations: 117.8 kB / 306.6 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3284, allocations: 3.984 kB / 306.6 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.3284, allocations: 5.375 kB / 306.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3284, allocations: 3.031 kB / 306.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.3287, allocations: 81.31 kB / 306.7 MB, free: 9.836 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.001307/0.33, allocations: 0.5896 MB / 307.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.3305, allocations: 82.78 kB / 307.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3305, allocations: 5.156 kB / 307.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3306, allocations: 39.84 kB / 307.4 MB, free: 9.168 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.315e-06/0.3306, allocations: 0 / 307.4 MB, free: 9.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.001057/0.3317, allocations: 264.1 kB / 307.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3317, allocations: 52.38 kB / 307.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3319, allocations: 141 kB / 307.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3319, allocations: 25.7 kB / 307.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3321, allocations: 192.9 kB / 308.1 MB, free: 8.566 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3321, allocations: 25.61 kB / 308.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.3321, allocations: 0.9062 kB / 308.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3322, allocations: 315.8 kB / 308.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3324, allocations: 22.2 kB / 308.5 MB, free: 8.219 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3325, allocations: 41.53 kB / 308.5 MB, free: 8.184 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3327, allocations: 35.7 kB / 308.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3327, allocations: 1.375 kB / 308.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004937/0.3332, allocations: 130.8 kB / 308.7 MB, free: 8.078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3332, allocations: 5.875 kB / 308.7 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3332, allocations: 4.062 kB / 308.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.3335, allocations: 38.64 kB / 308.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3336, allocations: 8.688 kB / 308.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.3357, allocations: 1.534 MB / 310.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3359, allocations: 15.84 kB / 310.3 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.336, allocations: 11.94 kB / 310.3 MB, free: 6.438 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 (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.0001466/0.3361, allocations: 128.2 kB / 310.4 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3362, allocations: 7.906 kB / 310.4 MB, free: 6.297 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.3362, allocations: 16.7 kB / 310.4 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3362, allocations: 0 / 310.4 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3363, allocations: 3.953 kB / 310.4 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3363, allocations: 0 / 310.4 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3366, allocations: 209.6 kB / 310.6 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3366, allocations: 0 / 310.6 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.3367, allocations: 7.984 kB / 310.6 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.3369, allocations: 36.84 kB / 310.7 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3369, allocations: 0 / 310.7 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.3388, allocations: 1.518 MB / 312.2 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3388, allocations: 0 / 312.2 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.3393, allocations: 228.4 kB / 312.4 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.3394, allocations: 88.95 kB / 312.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3395, allocations: 4 kB / 312.5 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3396, allocations: 8 kB / 312.5 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3397, allocations: 3.984 kB / 312.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3397, allocations: 4 kB / 312.5 MB, free: 3.957 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3398, allocations: 111.2 kB / 312.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3399, allocations: 0 / 312.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004737/0.3403, allocations: 39.94 kB / 312.7 MB, free: 3.809 MB / 250.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.000147/0.3405, allocations: 111.2 kB / 312.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006119/0.3411, allocations: 186.5 kB / 313 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3412, allocations: 0 / 313 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.3415, allocations: 166.8 kB / 313.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3418, allocations: 8.188 kB / 313.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.3426, allocations: 364 kB / 313.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3429, allocations: 0.7196 MB / 314.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.343, allocations: 11.44 kB / 314.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of SimCode: time 1.292e-06/0.343, allocations: 0 / 314.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of Templates: time 0.005086/0.3481, allocations: 1.832 MB / 316.1 MB, free: 344 kB / 250.7 MB