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.3_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.118e-05, allocations: 4 kB / 269.3 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08351, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4109, allocations: 77.14 MB / 394.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4112, allocations: 70.78 kB / 394.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.4217, allocations: 2.686 MB / 396.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.462e-06/0.4218, allocations: 0 / 396.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.4218, allocations: 4 kB / 396.8 MB, free: 8.613 MB / 314.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.0005762/0.4224, allocations: 405.2 kB / 397.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4224, allocations: 11.97 kB / 397.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.4226, allocations: 14.84 kB / 397.2 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.4228, allocations: 197.8 kB / 397.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4229, allocations: 13.38 kB / 397.5 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.4229, allocations: 10.56 kB / 397.5 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.4232, allocations: 112.7 kB / 397.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4232, allocations: 0 / 397.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.4233, allocations: 10.3 kB / 397.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-06/0.4233, allocations: 0 / 397.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.4235, allocations: 64.34 kB / 397.6 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.4246, allocations: 0.6078 MB / 398.3 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.425, allocations: 83.5 kB / 398.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.4251, allocations: 25.11 kB / 398.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.4251, allocations: 4.562 kB / 398.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.4251, allocations: 35.62 kB / 398.4 MB, free: 7.023 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.361e-06/0.4251, allocations: 0 / 398.4 MB, free: 7.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004131/0.4256, allocations: 110.9 kB / 398.5 MB, free: 6.926 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.4256, allocations: 55.36 kB / 398.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.4258, allocations: 134.1 kB / 398.7 MB, free: 6.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.4259, allocations: 25.7 kB / 398.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.426, allocations: 126.9 kB / 398.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.426, allocations: 23.58 kB / 398.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.426, allocations: 0 / 398.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4262, allocations: 318.5 kB / 399.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.4263, allocations: 18.44 kB / 399.2 MB, free: 6.234 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.4263, allocations: 39.97 kB / 399.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.898e-05/0.4264, allocations: 30.48 kB / 399.3 MB, free: 6.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.571e-06/0.4265, allocations: 0 / 399.3 MB, free: 6.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003564/0.4268, allocations: 123.7 kB / 399.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4269, allocations: 4 kB / 399.4 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4269, allocations: 0 / 399.4 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.4271, allocations: 43.33 kB / 399.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.4272, allocations: 12.06 kB / 399.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.4292, allocations: 1.513 MB / 401 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.4293, allocations: 11.92 kB / 401 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.4294, allocations: 7.953 kB / 401 MB, free: 4.449 MB / 314.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.0001066/0.4295, allocations: 113.5 kB / 401.1 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.4295, allocations: 7.906 kB / 401.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.4296, allocations: 14.81 kB / 401.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.472e-06/0.4296, allocations: 4 kB / 401.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-06/0.4296, allocations: 0 / 401.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.219e-06/0.4296, allocations: 0 / 401.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.43, allocations: 212 kB / 401.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.43, allocations: 0 / 401.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.43, allocations: 11.97 kB / 401.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/0.4303, allocations: 39.83 kB / 401.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.922e-06/0.4303, allocations: 192 / 401.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.432, allocations: 1.506 MB / 402.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.953e-06/0.4321, allocations: 11.95 kB / 402.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.4324, allocations: 198.6 kB / 403.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.4325, allocations: 96.89 kB / 403.2 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.4326, allocations: 3.25 kB / 403.2 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.4327, allocations: 8 kB / 403.2 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.4328, allocations: 11.92 kB / 403.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4328, allocations: 4 kB / 403.2 MB, free: 2.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.4329, allocations: 112.7 kB / 403.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.4329, allocations: 0 / 403.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000493/0.4334, allocations: 39.66 kB / 403.4 MB, free: 2.023 MB / 314.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.000143/0.4336, allocations: 95.25 kB / 403.4 MB, free: 1.918 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.434, allocations: 173.8 kB / 403.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.32e-06/0.434, allocations: 0 / 403.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.4343, allocations: 148.1 kB / 403.8 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4345, allocations: 18.75 kB / 403.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.435, allocations: 146.5 kB / 403.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.4354, allocations: 0.716 MB / 404.6 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.92e-05/0.4355, allocations: 0.9062 kB / 404.6 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.4355, allocations: 11.44 kB / 404.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of SimCode: time 1.764e-06/0.4355, allocations: 0 / 404.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of Templates: time 0.005301/0.4408, allocations: 1.305 MB / 406 MB, free: 15.41 MB / 330.7 MB