Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.966e-05, allocations: 4 kB / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09502, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.4952, allocations: 78.96 MB / 421.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4955, allocations: 66.77 kB / 421.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01954/0.515, allocations: 5.079 MB / 426.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.189e-06/0.5151, allocations: 0 / 426.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.5151, allocations: 8 kB / 426.7 MB, free: 10.83 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009816/0.5161, allocations: 0.5592 MB / 427.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5161, allocations: 8.031 kB / 427.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.5163, allocations: 43.53 kB / 427.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.5167, allocations: 269.7 kB / 427.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.5167, allocations: 23.12 kB / 427.6 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.5168, allocations: 26.38 kB / 427.6 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.5174, allocations: 226.7 kB / 427.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.5174, allocations: 0 / 427.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.5174, allocations: 15.75 kB / 427.8 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.5175, allocations: 11.95 kB / 427.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.5179, allocations: 172.5 kB / 428 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.5201, allocations: 0.9947 MB / 429 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.5206, allocations: 196.9 kB / 429.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.5209, allocations: 103.2 kB / 429.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.521, allocations: 4.188 kB / 429.3 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.521, allocations: 34.7 kB / 429.3 MB, free: 8.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.842e-06/0.521, allocations: 4 kB / 429.3 MB, free: 8.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006588/0.5217, allocations: 252.3 kB / 429.6 MB, free: 8.262 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.5218, allocations: 55.41 kB / 429.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.5221, allocations: 231.3 kB / 429.9 MB, free: 8.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.5222, allocations: 29.2 kB / 429.9 MB, free: 7.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.5223, allocations: 186.5 kB / 430.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.5224, allocations: 64.08 kB / 430.1 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.5224, allocations: 6.75 kB / 430.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5226, allocations: 336.8 kB / 430.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.5228, allocations: 57.78 kB / 430.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.523, allocations: 85.53 kB / 430.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.5232, allocations: 68.34 kB / 430.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-06/0.5232, allocations: 0 / 430.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006774/0.5239, allocations: 287.6 kB / 431 MB, free: 7.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.5239, allocations: 11.98 kB / 431 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.906e-06/0.5239, allocations: 0 / 431 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.5243, allocations: 70.69 kB / 431 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.5246, allocations: 51.3 kB / 431.1 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.5277, allocations: 2.819 MB / 433.9 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.528, allocations: 31.02 kB / 433.9 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.5281, allocations: 8 kB / 433.9 MB, free: 4.023 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 (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.0001466/0.5282, allocations: 127.6 kB / 434.1 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.5283, allocations: 23.72 kB / 434.1 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.5284, allocations: 38.78 kB / 434.1 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-06/0.5284, allocations: 0 / 434.1 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.24e-06/0.5284, allocations: 4 kB / 434.1 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.46e-06/0.5284, allocations: 3.984 kB / 434.1 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.5296, allocations: 0.6443 MB / 434.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-06/0.5297, allocations: 8.062 kB / 434.8 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.5299, allocations: 38.94 kB / 434.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.5302, allocations: 71.36 kB / 434.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.5302, allocations: 3.625 kB / 434.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/0.5332, allocations: 2.806 MB / 437.7 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.734e-06/0.5332, allocations: 4.031 kB / 437.7 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.5339, allocations: 349.9 kB / 438 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.534, allocations: 104.7 kB / 438.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.5341, allocations: 7.875 kB / 438.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.5344, allocations: 39.66 kB / 438.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.5345, allocations: 23.39 kB / 438.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.5346, allocations: 4 kB / 438.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.5348, allocations: 183.6 kB / 438.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.5348, allocations: 0 / 438.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005175/0.5354, allocations: 98.34 kB / 438.5 MB, free: 15.56 MB / 362.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.0001632/0.5355, allocations: 110.6 kB / 438.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.5363, allocations: 387.9 kB / 439 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.546e-06/0.5363, allocations: 4.125 kB / 439 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.5368, allocations: 319.5 kB / 439.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.5372, allocations: 46.78 kB / 439.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.538, allocations: 311.9 kB / 439.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.5385, allocations: 0.7799 MB / 440.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.5387, allocations: 18.08 kB / 440.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.5388, allocations: 19.44 kB / 440.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.635e-06/0.5388, allocations: 0 / 440.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01032/0.5492, allocations: 3.268 MB / 443.7 MB, free: 10.4 MB / 362.7 MB