Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.864e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09043, allocations: 50.42 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.4839, allocations: 78.96 MB / 422 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4841, allocations: 66.47 kB / 422.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01913/0.5033, allocations: 5.083 MB / 427.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.941e-06/0.5033, allocations: 0 / 427.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.5034, allocations: 8 kB / 427.2 MB, free: 10.8 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.0009705/0.5043, allocations: 0.5566 MB / 427.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.5044, allocations: 12.03 kB / 427.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.5045, allocations: 39.53 kB / 427.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.5049, allocations: 270.8 kB / 428.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.505, allocations: 19.75 kB / 428.1 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.505, allocations: 22.62 kB / 428.1 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.5056, allocations: 231.4 kB / 428.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5056, allocations: 3.938 kB / 428.3 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.5057, allocations: 11.62 kB / 428.4 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5057, allocations: 7.953 kB / 428.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.5062, allocations: 180.7 kB / 428.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.5083, allocations: 0.9851 MB / 429.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.5088, allocations: 193.6 kB / 429.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.509, allocations: 102.4 kB / 429.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.5091, allocations: 8.188 kB / 429.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5091, allocations: 38.7 kB / 429.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.74e-06/0.5092, allocations: 0 / 429.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.000656/0.5098, allocations: 242.9 kB / 430.1 MB, free: 8.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.5099, allocations: 51.41 kB / 430.1 MB, free: 8.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.5102, allocations: 236.8 kB / 430.4 MB, free: 7.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.5103, allocations: 29.7 kB / 430.4 MB, free: 7.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.5104, allocations: 187.3 kB / 430.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.167e-05/0.5105, allocations: 69.64 kB / 430.7 MB, free: 7.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.5105, allocations: 3.062 kB / 430.7 MB, free: 7.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5107, allocations: 333 kB / 431 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.5109, allocations: 57.91 kB / 431 MB, free: 7.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.5111, allocations: 89.33 kB / 431.1 MB, free: 7.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.5113, allocations: 68.72 kB / 431.2 MB, free: 7.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-06/0.5113, allocations: 3.938 kB / 431.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006935/0.512, allocations: 283.4 kB / 431.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.512, allocations: 8.062 kB / 431.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5121, allocations: 4 kB / 431.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.5124, allocations: 76.22 kB / 431.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.5127, allocations: 47.86 kB / 431.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.5158, allocations: 2.821 MB / 434.4 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.5161, allocations: 30.95 kB / 434.5 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.5161, allocations: 12.06 kB / 434.5 MB, free: 3.988 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.0001249/0.5162, allocations: 117.3 kB / 434.6 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.5163, allocations: 23.72 kB / 434.6 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.5164, allocations: 36.53 kB / 434.6 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-06/0.5164, allocations: 0 / 434.6 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.184e-06/0.5164, allocations: 4 kB / 434.6 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5165, allocations: 3.984 kB / 434.7 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.5176, allocations: 0.6514 MB / 435.3 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.535e-06/0.5177, allocations: 0 / 435.3 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.5179, allocations: 39.25 kB / 435.3 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.5181, allocations: 74.73 kB / 435.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.5182, allocations: 3.188 kB / 435.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.5212, allocations: 2.819 MB / 438.2 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.731e-06/0.5212, allocations: 320 / 438.2 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.5219, allocations: 341.9 kB / 438.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.522, allocations: 112.1 kB / 438.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.522, allocations: 8.062 kB / 438.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.5224, allocations: 35.84 kB / 438.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.5225, allocations: 15.36 kB / 438.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.5225, allocations: 11.81 kB / 438.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002352/0.5228, allocations: 181.6 kB / 438.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5228, allocations: 4 kB / 438.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005144/0.5233, allocations: 95.02 kB / 439 MB, free: 15.53 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.0001652/0.5235, allocations: 106.2 kB / 439.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007158/0.5242, allocations: 389.4 kB / 439.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.602e-06/0.5242, allocations: 4 kB / 439.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.5247, allocations: 319 kB / 439.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.5251, allocations: 50.22 kB / 439.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.5259, allocations: 309.1 kB / 440.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.5264, allocations: 0.776 MB / 440.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.5265, allocations: 26.05 kB / 441 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.5266, allocations: 19.44 kB / 441 MB, free: 13.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.361e-06/0.5266, allocations: 0 / 441 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Templates: time 0.009876/0.5365, allocations: 3.268 MB / 444.3 MB, free: 10.38 MB / 362.7 MB