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.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.849e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.08384, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4234, allocations: 77.35 MB / 394.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4236, allocations: 66.97 kB / 394.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01927/0.4429, allocations: 4.888 MB / 399.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.443, allocations: 0 / 399.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.443, allocations: 8 kB / 399.2 MB, free: 6.512 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.0009799/0.444, allocations: 0.5542 MB / 399.8 MB, free: 5.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4441, allocations: 12.03 kB / 399.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.4442, allocations: 35.53 kB / 399.8 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.4446, allocations: 275.5 kB / 400.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.4447, allocations: 19.31 kB / 400.1 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.4447, allocations: 31.08 kB / 400.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.4453, allocations: 231.1 kB / 400.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4453, allocations: 0 / 400.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.4454, allocations: 10.38 kB / 400.4 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4454, allocations: 4 kB / 400.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.4458, allocations: 184.2 kB / 400.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.4481, allocations: 0.9927 MB / 401.6 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.4486, allocations: 194.3 kB / 401.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.4489, allocations: 112.6 kB / 401.9 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4489, allocations: 4.125 kB / 401.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.449, allocations: 41.92 kB / 401.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 4.123e-06/0.449, allocations: 0 / 401.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006943/0.4497, allocations: 236.8 kB / 402.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.4498, allocations: 59.34 kB / 402.2 MB, free: 3.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.4501, allocations: 230.3 kB / 402.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.4501, allocations: 33.64 kB / 402.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.4503, allocations: 181.2 kB / 402.6 MB, free: 3.504 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.4504, allocations: 75.53 kB / 402.7 MB, free: 3.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.4504, allocations: 3.312 kB / 402.7 MB, free: 3.441 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4506, allocations: 332.8 kB / 403 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.4508, allocations: 56.84 kB / 403.1 MB, free: 3.078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.451, allocations: 95.27 kB / 403.2 MB, free: 3.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.4512, allocations: 65.72 kB / 403.3 MB, free: 2.961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.17e-06/0.4512, allocations: 0 / 403.3 MB, free: 2.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007144/0.4519, allocations: 292.5 kB / 403.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.452, allocations: 4 kB / 403.6 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.701e-06/0.452, allocations: 0 / 403.6 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.4524, allocations: 72.69 kB / 403.6 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.4527, allocations: 35.97 kB / 403.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.4558, allocations: 2.821 MB / 406.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.4562, allocations: 43.45 kB / 406.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.4562, allocations: 4 kB / 406.5 MB, free: 15.7 MB / 330.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 0.000143/0.4564, allocations: 116.3 kB / 406.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.4565, allocations: 27.7 kB / 406.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.4566, allocations: 29.53 kB / 406.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.881e-06/0.4566, allocations: 0 / 406.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.4566, allocations: 8 kB / 406.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.418e-06/0.4566, allocations: 7.984 kB / 406.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.4578, allocations: 0.6493 MB / 407.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4579, allocations: 0 / 407.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.4581, allocations: 27.98 kB / 407.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.4584, allocations: 76.98 kB / 407.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.4584, allocations: 3.875 kB / 407.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/0.4615, allocations: 2.821 MB / 410.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.701e-06/0.4615, allocations: 0 / 410.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.4622, allocations: 345.3 kB / 410.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4624, allocations: 112.7 kB / 410.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.4624, allocations: 0 / 410.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.4628, allocations: 35.84 kB / 410.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.4629, allocations: 27.78 kB / 410.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4629, allocations: 8 kB / 410.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002673/0.4632, allocations: 185.8 kB / 411 MB, free: 11.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.4632, allocations: 0 / 411 MB, free: 11.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005355/0.4638, allocations: 87.59 kB / 411.1 MB, free: 11.23 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.0001656/0.4639, allocations: 111.3 kB / 411.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007869/0.4647, allocations: 396.4 kB / 411.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4648, allocations: 0 / 411.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.4653, allocations: 305.6 kB / 411.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.4658, allocations: 51.92 kB / 411.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.4666, allocations: 316.2 kB / 412.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.4671, allocations: 0.7793 MB / 413 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.4673, allocations: 18.08 kB / 413 MB, free: 9.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.4674, allocations: 19.44 kB / 413 MB, free: 9.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.926e-06/0.4674, allocations: 0 / 413 MB, free: 9.32 MB / 330.7 MB Notification: Performance of Templates: time 0.01072/0.4781, allocations: 3.276 MB / 416.3 MB, free: 6.066 MB / 330.7 MB