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.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 1.781/1.781, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.409e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3166, allocations: 67.98 MB / 331.8 MB, free: 5.75 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.3169, allocations: 67.97 kB / 331.8 MB, free: 5.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01948/0.3364, allocations: 4.959 MB / 336.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.492e-06/0.3365, allocations: 384 / 336.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.3365, allocations: 16 kB / 336.8 MB, free: 0.6875 MB / 282.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.001012/0.3375, allocations: 0.5566 MB / 337.4 MB, free: 88 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3376, allocations: 8.031 kB / 337.4 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3377, allocations: 35.62 kB / 337.4 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.3382, allocations: 274.3 kB / 337.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.3382, allocations: 20.56 kB / 337.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.3383, allocations: 24 kB / 337.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.3389, allocations: 239.7 kB / 337.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3389, allocations: 4 kB / 338 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.339, allocations: 12 kB / 338 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.339, allocations: 12 kB / 338 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.3395, allocations: 169.1 kB / 338.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.3417, allocations: 0.9915 MB / 339.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.3422, allocations: 199.8 kB / 339.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.3425, allocations: 105.2 kB / 339.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3426, allocations: 4.188 kB / 339.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.3426, allocations: 38.69 kB / 339.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.196e-06/0.3426, allocations: 4 kB / 339.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006754/0.3433, allocations: 249.4 kB / 339.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3434, allocations: 55.41 kB / 339.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.3437, allocations: 227 kB / 340 MB, free: 13.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3438, allocations: 29.7 kB / 340 MB, free: 13.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.344, allocations: 188 kB / 340.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/0.3441, allocations: 67 kB / 340.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.3441, allocations: 4 kB / 340.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3443, allocations: 338.8 kB / 340.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3445, allocations: 56.47 kB / 340.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.3447, allocations: 91.2 kB / 340.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3449, allocations: 67.92 kB / 340.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-06/0.3449, allocations: 0 / 340.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007297/0.3456, allocations: 286.8 kB / 341.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3457, allocations: 4 kB / 341.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3457, allocations: 0 / 341.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.346, allocations: 73.67 kB / 341.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3463, allocations: 48.03 kB / 341.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.3496, allocations: 2.823 MB / 344 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.3499, allocations: 35.8 kB / 344.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.3499, allocations: 4 kB / 344.1 MB, free: 8.871 MB / 298.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.0001376/0.3501, allocations: 116.9 kB / 344.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.3502, allocations: 27.67 kB / 344.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.3503, allocations: 38.02 kB / 344.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.915e-06/0.3503, allocations: 4 kB / 344.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.798e-06/0.3503, allocations: 0 / 344.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.326e-06/0.3503, allocations: 0 / 344.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.3516, allocations: 0.648 MB / 344.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.929e-06/0.3516, allocations: 0 / 344.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3518, allocations: 35.97 kB / 344.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.3521, allocations: 73.88 kB / 345 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.3521, allocations: 3.984 kB / 345 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/0.3553, allocations: 2.819 MB / 347.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-06/0.3553, allocations: 0 / 347.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.356, allocations: 352.7 kB / 348.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.3562, allocations: 120.7 kB / 348.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.3563, allocations: 4 kB / 348.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.3566, allocations: 39.97 kB / 348.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.3567, allocations: 11.98 kB / 348.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.3568, allocations: 8 kB / 348.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.3571, allocations: 191.1 kB / 348.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.3571, allocations: 0 / 348.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.3576, allocations: 91.84 kB / 348.6 MB, free: 3.926 MB / 298.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.0001673/0.3578, allocations: 111.2 kB / 348.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007776/0.3586, allocations: 403 kB / 349.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.55e-06/0.3586, allocations: 0 / 349.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.3591, allocations: 311.5 kB / 349.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3595, allocations: 48.48 kB / 349.5 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008306/0.3604, allocations: 312.9 kB / 349.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.3609, allocations: 0.7794 MB / 350.6 MB, free: 1.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.3611, allocations: 26.06 kB / 350.6 MB, free: 1.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.3612, allocations: 15.44 kB / 350.6 MB, free: 1.852 MB / 298.7 MB Notification: Performance of SimCode: time 1.719e-06/0.3612, allocations: 7.938 kB / 350.6 MB, free: 1.844 MB / 298.7 MB Notification: Performance of Templates: time 0.01026/0.3715, allocations: 3.263 MB / 353.9 MB, free: 14.6 MB / 314.7 MB