Running command: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 225.8 MB / 238.9 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.947e-05, allocations: 4 kB / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09248, allocations: 50.41 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4435, allocations: 78.75 MB / 421.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4438, allocations: 66.34 kB / 421.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.4543, allocations: 2.758 MB / 424.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.591e-06/0.4543, allocations: 2.844 kB / 424.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4543, allocations: 4 kB / 424.1 MB, free: 13.04 MB / 346.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.0005646/0.4549, allocations: 403.1 kB / 424.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4549, allocations: 8.031 kB / 424.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.4551, allocations: 15.89 kB / 424.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.4554, allocations: 202.2 kB / 424.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4554, allocations: 11.36 kB / 424.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.4554, allocations: 7.312 kB / 424.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.4557, allocations: 107.7 kB / 424.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4557, allocations: 0 / 424.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.4558, allocations: 10.83 kB / 424.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4558, allocations: 11.94 kB / 424.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.456, allocations: 64.58 kB / 425 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.4571, allocations: 0.6078 MB / 425.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.4574, allocations: 83.19 kB / 425.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.4575, allocations: 25.8 kB / 425.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.4575, allocations: 0 / 425.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4576, allocations: 42.45 kB / 425.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.071e-06/0.4576, allocations: 0 / 425.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003792/0.458, allocations: 103.4 kB / 425.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.4581, allocations: 55.41 kB / 425.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.4582, allocations: 132.8 kB / 426 MB, free: 11.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4583, allocations: 29.64 kB / 426 MB, free: 11.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.4584, allocations: 127.8 kB / 426.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.4584, allocations: 23.02 kB / 426.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-06/0.4584, allocations: 0 / 426.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4586, allocations: 326.3 kB / 426.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.4587, allocations: 17.5 kB / 426.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.4588, allocations: 44.7 kB / 426.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.4588, allocations: 22.98 kB / 426.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-06/0.4589, allocations: 0 / 426.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003516/0.4592, allocations: 119 kB / 426.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4593, allocations: 8.062 kB / 426.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4593, allocations: 7.953 kB / 426.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.4595, allocations: 39.28 kB / 426.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.4596, allocations: 11.98 kB / 426.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.4616, allocations: 1.51 MB / 428.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.4617, allocations: 15.25 kB / 428.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4617, allocations: 4.062 kB / 428.3 MB, free: 8.871 MB / 346.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 9.869e-05/0.4618, allocations: 117.2 kB / 428.4 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.4619, allocations: 7.906 kB / 428.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.4619, allocations: 12.67 kB / 428.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-06/0.462, allocations: 4 kB / 428.4 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.462, allocations: 3.938 kB / 428.4 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-06/0.462, allocations: 0 / 428.4 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.4623, allocations: 206.7 kB / 428.6 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.543e-06/0.4623, allocations: 3.953 kB / 428.6 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.4624, allocations: 8 kB / 428.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.4626, allocations: 40.02 kB / 428.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4626, allocations: 0 / 428.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.4644, allocations: 1.497 MB / 430.2 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.181e-06/0.4644, allocations: 0 / 430.2 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.4648, allocations: 212.1 kB / 430.4 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.4649, allocations: 89.08 kB / 430.5 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4649, allocations: 3.438 kB / 430.5 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4651, allocations: 15.94 kB / 430.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.4651, allocations: 0 / 430.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.475e-06/0.4651, allocations: 4 kB / 430.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.4652, allocations: 113.1 kB / 430.6 MB, free: 6.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.4653, allocations: 0 / 430.6 MB, free: 6.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.4658, allocations: 38.84 kB / 430.6 MB, free: 6.461 MB / 346.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.0001358/0.4659, allocations: 99.25 kB / 430.7 MB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.4663, allocations: 177.8 kB / 430.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.121e-06/0.4663, allocations: 0 / 430.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.4666, allocations: 141.5 kB / 431.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.4668, allocations: 15.56 kB / 431.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.4673, allocations: 147.7 kB / 431.2 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.4677, allocations: 0.7121 MB / 431.9 MB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.4678, allocations: 12.92 kB / 431.9 MB, free: 5.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.4678, allocations: 15.38 kB / 431.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of SimCode: time 1.466e-06/0.4678, allocations: 0 / 431.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of Templates: time 0.005286/0.4731, allocations: 1.283 MB / 433.2 MB, free: 3.859 MB / 346.7 MB