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.982/1.982, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.691e-05, allocations: 4 kB / 258.8 MB, free: 7.871 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.437, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.005902/0.4429, allocations: 2.352 MB / 305.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.4453, allocations: 0.6241 MB / 306.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.4457, allocations: 11.91 kB / 306.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.4459, allocations: 40.33 kB / 306.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.4465, allocations: 118 kB / 306.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.4469, allocations: 67.72 kB / 306.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008477/0.4478, allocations: 220.6 kB / 306.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.4481, allocations: 60.94 kB / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.4486, allocations: 111.7 kB / 306.9 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.449, allocations: 131.5 kB / 307 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4491, allocations: 12 kB / 307.1 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.495e-05/0.4492, allocations: 16 kB / 307.1 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.4493, allocations: 55.77 kB / 307.1 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.4495, allocations: 32 kB / 307.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.4501, allocations: 269.6 kB / 307.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4502, allocations: 0 / 307.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4502, allocations: 0 / 307.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4502, allocations: 0 / 307.4 MB, free: 9.477 MB / 250.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.001862/0.4521, allocations: 0.5693 MB / 308 MB, free: 8.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.4522, allocations: 8.031 kB / 308 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.4524, allocations: 39.53 kB / 308 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.453, allocations: 270.5 kB / 308.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.4531, allocations: 24.56 kB / 308.3 MB, free: 8.484 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.049e-05/0.4532, allocations: 24 kB / 308.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.4544, allocations: 256.8 kB / 308.6 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.4545, allocations: 0 / 308.6 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.4546, allocations: 16 kB / 308.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.4546, allocations: 8 kB / 308.6 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.4559, allocations: 234.1 kB / 308.8 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.46, allocations: 0.9874 MB / 309.8 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.4612, allocations: 304.3 kB / 310.1 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.4613, allocations: 4.188 kB / 310.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.4614, allocations: 42.73 kB / 310.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 4.709e-06/0.4614, allocations: 0 / 310.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.003193/0.4646, allocations: 0.5765 MB / 310.8 MB, free: 5.895 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4647, allocations: 55.41 kB / 310.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.4653, allocations: 229.8 kB / 311 MB, free: 5.594 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.4654, allocations: 41.64 kB / 311.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.4656, allocations: 175.9 kB / 311.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.4658, allocations: 78.92 kB / 311.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.4658, allocations: 4 kB / 311.3 MB, free: 5.285 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.466, allocations: 338.8 kB / 311.7 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.4666, allocations: 76.44 kB / 311.7 MB, free: 4.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/0.4672, allocations: 119.4 kB / 311.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.4678, allocations: 99.91 kB / 311.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4678, allocations: 0 / 311.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001668/0.4695, allocations: 338.7 kB / 312.3 MB, free: 4.305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.4696, allocations: 8 kB / 312.3 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4696, allocations: 3.938 kB / 312.3 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.4702, allocations: 77.66 kB / 312.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.4708, allocations: 39.97 kB / 312.4 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/0.4757, allocations: 2.851 MB / 315.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.4763, allocations: 31.78 kB / 315.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.4763, allocations: 11.95 kB / 315.3 MB, free: 1.012 MB / 250.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.0003093/0.4767, allocations: 149.7 kB / 315.4 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4768, allocations: 23.72 kB / 315.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.827e-05/0.4769, allocations: 30.25 kB / 315.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4769, allocations: 0 / 315.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/0.477, allocations: 7.984 kB / 315.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.477, allocations: 0 / 315.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.4795, allocations: 0.6955 MB / 316.2 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4795, allocations: 0 / 316.2 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.4799, allocations: 27.98 kB / 316.2 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/0.4805, allocations: 77.75 kB / 316.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.4805, allocations: 4 kB / 316.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.4852, allocations: 2.858 MB / 319.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4853, allocations: 0 / 319.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.4868, allocations: 400.2 kB / 319.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.487, allocations: 104.8 kB / 319.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.254e-05/0.4871, allocations: 0 / 319.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.4879, allocations: 35.98 kB / 319.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.488, allocations: 23.92 kB / 319.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.4881, allocations: 8 kB / 319.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004276/0.4885, allocations: 189.9 kB / 319.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.4886, allocations: 4 kB / 319.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009357/0.4895, allocations: 95.84 kB / 320 MB, free: 11.91 MB / 266.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.0002476/0.4898, allocations: 107.3 kB / 320.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.4917, allocations: 453.2 kB / 320.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.4918, allocations: 3.938 kB / 320.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4929, allocations: 357.3 kB / 320.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.4937, allocations: 56.41 kB / 321 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.4956, allocations: 0.587 MB / 321.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.4962, allocations: 0.7717 MB / 322.3 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.4966, allocations: 26.27 kB / 322.3 MB, free: 9.461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.4967, allocations: 19.44 kB / 322.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of SimCode: time 1.864e-06/0.4967, allocations: 0 / 322.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of Templates: time 0.01682/0.5136, allocations: 3.308 MB / 325.7 MB, free: 6.152 MB / 266.7 MB