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.728/1.728, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.649e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08401, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003995/0.08804, allocations: 2.366 MB / 269.3 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.08963, allocations: 0.616 MB / 269.9 MB, free: 13.47 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.08985, allocations: 4 kB / 269.9 MB, free: 13.47 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.08997, allocations: 43.67 kB / 269.9 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.09032, allocations: 123.6 kB / 270.1 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.09059, allocations: 59.92 kB / 270.1 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.09109, allocations: 219.5 kB / 270.3 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.0913, allocations: 60.91 kB / 270.4 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.09156, allocations: 111.7 kB / 270.5 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.09182, allocations: 127.6 kB / 270.6 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.0919, allocations: 15.94 kB / 270.6 MB, free: 12.72 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.09197, allocations: 16 kB / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.09205, allocations: 47.83 kB / 270.7 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.09216, allocations: 32 kB / 270.7 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.09257, allocations: 275.4 kB / 271 MB, free: 12.36 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.09259, allocations: 0 / 271 MB, free: 12.36 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.09261, allocations: 4 kB / 271 MB, free: 12.35 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.09263, allocations: 0 / 271 MB, free: 12.35 MB / 234.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.001303/0.09394, allocations: 0.5654 MB / 271.6 MB, free: 11.74 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.094, allocations: 12.03 kB / 271.6 MB, free: 11.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.09412, allocations: 35.61 kB / 271.6 MB, free: 11.69 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.09459, allocations: 270.4 kB / 271.9 MB, free: 11.39 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.09464, allocations: 28.45 kB / 271.9 MB, free: 11.36 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.09471, allocations: 24 kB / 271.9 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.09559, allocations: 264.8 kB / 272.2 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.09562, allocations: 0 / 272.2 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.09568, allocations: 19.94 kB / 272.2 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.0957, allocations: 4 kB / 272.2 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.09657, allocations: 230.1 kB / 272.4 MB, free: 10.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.09935, allocations: 0.9913 MB / 273.4 MB, free: 9.762 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.1002, allocations: 304.4 kB / 273.7 MB, free: 9.438 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1003, allocations: 4.172 kB / 273.7 MB, free: 9.434 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1003, allocations: 38.75 kB / 273.8 MB, free: 9.387 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 4.208e-06/0.1003, allocations: 0 / 273.8 MB, free: 9.387 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.002131/0.1025, allocations: 0.5802 MB / 274.3 MB, free: 8.762 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1026, allocations: 59.39 kB / 274.4 MB, free: 8.691 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.103, allocations: 237.6 kB / 274.6 MB, free: 8.453 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.1031, allocations: 29.7 kB / 274.7 MB, free: 8.418 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1032, allocations: 184.2 kB / 274.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.1033, allocations: 67 kB / 274.9 MB, free: 8.168 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.1034, allocations: 12 kB / 274.9 MB, free: 8.156 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1035, allocations: 334.8 kB / 275.3 MB, free: 7.82 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.1039, allocations: 84.42 kB / 275.3 MB, free: 7.738 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1043, allocations: 111.4 kB / 275.4 MB, free: 7.621 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.1047, allocations: 87.97 kB / 275.5 MB, free: 7.535 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1047, allocations: 0 / 275.5 MB, free: 7.535 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001176/0.1059, allocations: 342.8 kB / 275.9 MB, free: 7.188 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.106, allocations: 5.25 kB / 275.9 MB, free: 7.184 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.106, allocations: 4 kB / 275.9 MB, free: 7.18 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.1064, allocations: 73.66 kB / 275.9 MB, free: 7.102 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.1068, allocations: 39.92 kB / 276 MB, free: 7.062 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/0.1101, allocations: 2.862 MB / 278.8 MB, free: 3.934 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.1105, allocations: 36.45 kB / 278.9 MB, free: 3.898 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.1106, allocations: 8 kB / 278.9 MB, free: 3.891 MB / 234.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.0002608/0.1109, allocations: 141.8 kB / 279 MB, free: 3.742 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.1109, allocations: 23.72 kB / 279.1 MB, free: 3.719 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.142e-05/0.111, allocations: 30.17 kB / 279.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.111, allocations: 4 kB / 279.1 MB, free: 3.684 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1111, allocations: 0 / 279.1 MB, free: 3.684 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1111, allocations: 8 kB / 279.1 MB, free: 3.676 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.1127, allocations: 0.7027 MB / 279.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1128, allocations: 0 / 279.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.113, allocations: 31.92 kB / 279.8 MB, free: 2.879 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/0.1134, allocations: 77.61 kB / 279.9 MB, free: 2.797 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1134, allocations: 11.92 kB / 279.9 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.1167, allocations: 2.839 MB / 282.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1167, allocations: 7.969 kB / 282.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.1178, allocations: 395.7 kB / 283.1 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.118, allocations: 124.6 kB / 283.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.1181, allocations: 4 kB / 283.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.1186, allocations: 39.97 kB / 283.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.1187, allocations: 19.97 kB / 283.3 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.1187, allocations: 4 kB / 283.3 MB, free: 15.06 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002812/0.119, allocations: 194 kB / 283.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.119, allocations: 0 / 283.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.1196, allocations: 91.84 kB / 283.6 MB, free: 14.79 MB / 250.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.0001812/0.1198, allocations: 115.1 kB / 283.7 MB, free: 14.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.121, allocations: 457.3 kB / 284.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.121, allocations: 0 / 284.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007227/0.1217, allocations: 365.3 kB / 284.5 MB, free: 13.81 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.1222, allocations: 36.55 kB / 284.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1236, allocations: 0.5914 MB / 285.2 MB, free: 13.15 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.124, allocations: 0.7716 MB / 285.9 MB, free: 12.35 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.1243, allocations: 18.3 kB / 285.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.1244, allocations: 27.42 kB / 286 MB, free: 12.31 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1244, allocations: 3.938 kB / 286 MB, free: 12.3 MB / 250.7 MB Notification: Performance of Templates: time 0.01236/0.1368, allocations: 3.305 MB / 289.3 MB, free: 9.016 MB / 250.7 MB