Running command: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 225.8 MB / 239.4 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.992e-05, allocations: 4 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09348, allocations: 50.41 MB / 343.1 MB, free: 9.074 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4615, allocations: 78.5 MB / 421.6 MB, free: 8.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.4618, allocations: 74.67 kB / 421.6 MB, free: 8.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009491/0.4713, allocations: 2.758 MB / 424.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.297e-06/0.4713, allocations: 2.844 kB / 424.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4713, allocations: 3.844 kB / 424.4 MB, free: 7.637 MB / 330.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.0004212/0.4718, allocations: 412.5 kB / 424.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.4718, allocations: 7.375 kB / 424.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4719, allocations: 15.41 kB / 424.8 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.4722, allocations: 202.3 kB / 425 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4722, allocations: 7.703 kB / 425 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.4722, allocations: 11.31 kB / 425 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.4725, allocations: 109.7 kB / 425.2 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4725, allocations: 4 kB / 425.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.4725, allocations: 7.391 kB / 425.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-06/0.4725, allocations: 3.844 kB / 425.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.4727, allocations: 63.34 kB / 425.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.4735, allocations: 0.6089 MB / 425.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.4738, allocations: 76.95 kB / 425.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.4739, allocations: 27.64 kB / 425.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.4739, allocations: 4 kB / 425.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.474, allocations: 41.7 kB / 426 MB, free: 6.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.594e-06/0.474, allocations: 0 / 426 MB, free: 6.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003387/0.4743, allocations: 99.59 kB / 426.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.4744, allocations: 58.88 kB / 426.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.4745, allocations: 124.5 kB / 426.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.4745, allocations: 25.7 kB / 426.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.4746, allocations: 132.7 kB / 426.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.4746, allocations: 22.47 kB / 426.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-06/0.4746, allocations: 0 / 426.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.4747, allocations: 332.9 kB / 426.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.4748, allocations: 14.84 kB / 426.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.4748, allocations: 48.41 kB / 426.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/0.4749, allocations: 29.55 kB / 426.9 MB, free: 5.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.379e-06/0.4749, allocations: 0 / 426.9 MB, free: 5.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000291/0.4752, allocations: 119.1 kB / 427 MB, free: 5.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4753, allocations: 7.562 kB / 427 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.414e-06/0.4753, allocations: 3.953 kB / 427 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.4755, allocations: 40.94 kB / 427 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.4756, allocations: 15.02 kB / 427 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.4772, allocations: 1.507 MB / 428.5 MB, free: 20.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.4773, allocations: 7.844 kB / 428.5 MB, free: 20.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.4774, allocations: 3.719 kB / 428.6 MB, free: 20.32 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 0.0001059/0.4775, allocations: 112.2 kB / 428.7 MB, free: 20.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.4775, allocations: 7.75 kB / 428.7 MB, free: 20.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.4776, allocations: 15.38 kB / 428.7 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-06/0.4776, allocations: 7.969 kB / 428.7 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-06/0.4776, allocations: 0 / 428.7 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.39e-06/0.4776, allocations: 0 / 428.7 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.4779, allocations: 205 kB / 428.9 MB, free: 20.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-06/0.478, allocations: 7.859 kB / 428.9 MB, free: 20.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.478, allocations: 6.344 kB / 428.9 MB, free: 20.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/0.4782, allocations: 32.48 kB / 428.9 MB, free: 20 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4782, allocations: 0 / 428.9 MB, free: 20 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.4799, allocations: 1.504 MB / 430.4 MB, free: 18.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.444e-06/0.48, allocations: 4.062 kB / 430.4 MB, free: 18.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.4804, allocations: 211.4 kB / 430.7 MB, free: 18.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.4805, allocations: 81.02 kB / 430.7 MB, free: 18.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4805, allocations: 0 / 430.7 MB, free: 18.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.4807, allocations: 14.02 kB / 430.7 MB, free: 18.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.4807, allocations: 11.11 kB / 430.8 MB, free: 18.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4807, allocations: 2.938 kB / 430.8 MB, free: 18.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.4809, allocations: 112.1 kB / 430.9 MB, free: 18.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.4809, allocations: 0 / 430.9 MB, free: 18.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.4814, allocations: 38.47 kB / 430.9 MB, free: 18.3 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.0001371/0.4816, allocations: 98.22 kB / 431 MB, free: 18.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.482, allocations: 178 kB / 431.2 MB, free: 18.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.913e-06/0.482, allocations: 0 / 431.2 MB, free: 18.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.4822, allocations: 143.8 kB / 431.3 MB, free: 18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.4825, allocations: 11.28 kB / 431.3 MB, free: 18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.4829, allocations: 145.5 kB / 431.5 MB, free: 17.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.4833, allocations: 0.7178 MB / 432.2 MB, free: 17.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.4834, allocations: 4.781 kB / 432.2 MB, free: 17.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.4834, allocations: 13.92 kB / 432.2 MB, free: 17.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.675e-06/0.4835, allocations: 3.938 kB / 432.2 MB, free: 17.19 MB / 346.7 MB Notification: Performance of Templates: time 0.005004/0.4885, allocations: 1.294 MB / 433.5 MB, free: 16.99 MB / 346.7 MB