Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 1.794/1.794, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.03e-05, allocations: 4 kB / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07636/0.07642, allocations: 44.5 MB / 299.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/0.4507, allocations: 73.12 MB / 373 MB, free: 22.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.451, allocations: 68.22 kB / 373.1 MB, free: 22.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.4688, allocations: 4.845 MB / 377.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.361e-06/0.4688, allocations: 0 / 377.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.4689, allocations: 6.344 kB / 377.9 MB, free: 21.85 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008541/0.4697, allocations: 0.5571 MB / 378.5 MB, free: 21.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4698, allocations: 10.22 kB / 378.5 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4699, allocations: 41.03 kB / 378.5 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.4702, allocations: 266.6 kB / 378.8 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.4703, allocations: 18.06 kB / 378.8 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.4704, allocations: 28.53 kB / 378.8 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.4709, allocations: 225 kB / 379.1 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4709, allocations: 0 / 379.1 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.471, allocations: 19 kB / 379.1 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.471, allocations: 6.281 kB / 379.1 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.4715, allocations: 179.7 kB / 379.3 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.4734, allocations: 0.9924 MB / 380.2 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.4739, allocations: 196.5 kB / 380.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.4742, allocations: 104.6 kB / 380.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.4742, allocations: 6.719 kB / 380.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4743, allocations: 33.16 kB / 380.6 MB, free: 20.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.965e-06/0.4743, allocations: 0 / 380.6 MB, free: 20.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006495/0.475, allocations: 248.3 kB / 380.8 MB, free: 20.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.475, allocations: 54.75 kB / 380.9 MB, free: 20.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.4753, allocations: 226.2 kB / 381.1 MB, free: 20.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.4753, allocations: 28.02 kB / 381.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.4754, allocations: 183.2 kB / 381.3 MB, free: 20.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.4755, allocations: 72.72 kB / 381.4 MB, free: 20.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.4755, allocations: 4.625 kB / 381.4 MB, free: 20.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.4756, allocations: 342.8 kB / 381.7 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.4758, allocations: 57.44 kB / 381.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.476, allocations: 85.41 kB / 381.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.4762, allocations: 68.42 kB / 381.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-06/0.4762, allocations: 0 / 381.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006659/0.4769, allocations: 291 kB / 382.2 MB, free: 19.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4769, allocations: 10.81 kB / 382.2 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.447e-06/0.4769, allocations: 0 / 382.2 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.4772, allocations: 77.08 kB / 382.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.4775, allocations: 45.86 kB / 382.3 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.4797, allocations: 2.814 MB / 385.1 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.48, allocations: 34.16 kB / 385.2 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.48, allocations: 13.36 kB / 385.2 MB, free: 17.14 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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/0.4801, allocations: 121.1 kB / 385.3 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.4802, allocations: 28.59 kB / 385.3 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.4803, allocations: 29.28 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-06/0.4803, allocations: 7.906 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.939e-06/0.4804, allocations: 1.531 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.364e-06/0.4804, allocations: 2.156 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4814, allocations: 0.6439 MB / 386 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4815, allocations: 0 / 386 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.4817, allocations: 33.42 kB / 386.1 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002697/0.482, allocations: 70.12 kB / 386.1 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.482, allocations: 5.094 kB / 386.1 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/0.4849, allocations: 2.832 MB / 389 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.382e-06/0.485, allocations: 2.25 kB / 389 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.4856, allocations: 344.6 kB / 389.3 MB, free: 29.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.4858, allocations: 101.3 kB / 389.4 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.4858, allocations: 11 kB / 389.4 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.4862, allocations: 36.97 kB / 389.4 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.4863, allocations: 22.75 kB / 389.5 MB, free: 29.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.4863, allocations: 9.812 kB / 389.5 MB, free: 29.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.4866, allocations: 180.3 kB / 389.7 MB, free: 29.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.4866, allocations: 0 / 389.7 MB, free: 29.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005676/0.4872, allocations: 95.06 kB / 389.7 MB, free: 29.7 MB / 330.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 (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.4873, allocations: 111 kB / 389.9 MB, free: 29.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007192/0.4881, allocations: 386.2 kB / 390.2 MB, free: 29.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.774e-06/0.4881, allocations: 3.938 kB / 390.2 MB, free: 29.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.4886, allocations: 321.6 kB / 390.5 MB, free: 29.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.489, allocations: 45.34 kB / 390.6 MB, free: 29.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.4897, allocations: 319.9 kB / 390.9 MB, free: 29.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.4902, allocations: 0.7742 MB / 391.7 MB, free: 28.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.4904, allocations: 32.19 kB / 391.7 MB, free: 28.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.4904, allocations: 17.06 kB / 391.7 MB, free: 28.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.607e-06/0.4905, allocations: 1.375 kB / 391.7 MB, free: 28.3 MB / 330.7 MB Notification: Performance of Templates: time 0.009152/0.4996, allocations: 3.252 MB / 395 MB, free: 28.08 MB / 330.7 MB