Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 270 MB / 283.6 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.52e-05, allocations: 4 kB / 348.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 61.89 MB / 410.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.5, allocations: 85.56 MB / 495.8 MB, free: 4.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.5003, allocations: 63.97 kB / 495.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005973/0.5063, allocations: 1.722 MB / 497.6 MB, free: 3.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.927e-06/0.5063, allocations: 7.938 kB / 497.6 MB, free: 3.125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.627e-06/0.5063, allocations: 0 / 497.6 MB, free: 3.125 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003333/0.5067, allocations: 348.2 kB / 498 MB, free: 2.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5067, allocations: 12.03 kB / 498 MB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.5068, allocations: 0 / 498 MB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.5069, allocations: 163 kB / 498.1 MB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.507, allocations: 0 / 498.1 MB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.507, allocations: 3.984 kB / 498.1 MB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.033e-05/0.5071, allocations: 41.66 kB / 498.2 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-06/0.5071, allocations: 0 / 498.2 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-06/0.5071, allocations: 0 / 498.2 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-06/0.5071, allocations: 0 / 498.2 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.5071, allocations: 7.938 kB / 498.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.5073, allocations: 149.6 kB / 498.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.41e-05/0.5074, allocations: 18.56 kB / 498.4 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.5074, allocations: 8.953 kB / 498.4 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.5074, allocations: 4 kB / 498.4 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.5075, allocations: 68.16 kB / 498.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.093e-06/0.5075, allocations: 0 / 498.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.5077, allocations: 59.41 kB / 498.5 MB, free: 2.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.5078, allocations: 81.05 kB / 498.6 MB, free: 1.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.5078, allocations: 92.98 kB / 498.7 MB, free: 1.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.5079, allocations: 25.7 kB / 498.7 MB, free: 1.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.5079, allocations: 84.3 kB / 498.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.508, allocations: 0 / 498.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.508, allocations: 0 / 498.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5081, allocations: 314.8 kB / 499.1 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.5082, allocations: 4 kB / 499.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-06/0.5082, allocations: 0 / 499.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.5082, allocations: 25.7 kB / 499.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5082, allocations: 0 / 499.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.5084, allocations: 67.45 kB / 499.2 MB, free: 1.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.5084, allocations: 33.7 kB / 499.2 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.493e-06/0.5084, allocations: 0 / 499.2 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.5085, allocations: 3.953 kB / 499.2 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.61e-06/0.5085, allocations: 0 / 499.2 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5085, allocations: 0 / 499.2 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.5085, allocations: 0 / 499.2 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-06/0.5085, allocations: 0 / 499.2 MB, free: 1.289 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.5086, allocations: 130.7 kB / 499.3 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.5087, allocations: 7.938 kB / 499.3 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.5087, allocations: 7.156 kB / 499.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.559e-06/0.5087, allocations: 7.938 kB / 499.4 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.969e-06/0.5087, allocations: 0 / 499.4 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.18e-06/0.5087, allocations: 4 kB / 499.4 MB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.5089, allocations: 141.7 kB / 499.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-06/0.5089, allocations: 0 / 499.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-06/0.5089, allocations: 3.984 kB / 499.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.885e-06/0.5089, allocations: 0 / 499.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5089, allocations: 7.938 kB / 499.5 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.096e-06/0.5089, allocations: 3.984 kB / 499.5 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.638e-06/0.509, allocations: 7.953 kB / 499.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.5091, allocations: 86.84 kB / 499.6 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.5092, allocations: 77.11 kB / 499.7 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.5092, allocations: 3.984 kB / 499.7 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.5092, allocations: 0 / 499.7 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.5093, allocations: 0 / 499.7 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5093, allocations: 7.953 kB / 499.7 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.5093, allocations: 79.31 kB / 499.8 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.5093, allocations: 3.938 kB / 499.8 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.5097, allocations: 27.98 kB / 499.8 MB, free: 0.582 MB / 410.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/0.5102, allocations: 203.4 kB / 500 MB, free: 420 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.5103, allocations: 59.41 kB / 0.4883 GB, free: 348 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.471e-06/0.5103, allocations: 0 / 0.4883 GB, free: 348 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.5104, allocations: 55.41 kB / 0.4884 GB, free: 280 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.917e-05/0.5105, allocations: 4.125 kB / 0.4884 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001473/0.5106, allocations: 51.45 kB / 0.4884 GB, free: 204 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.511, allocations: 0.677 MB / 0.4891 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.054e-05/0.511, allocations: 0 / 0.4891 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.511, allocations: 11.38 kB / 0.4891 GB, free: 15.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.314e-06/0.5111, allocations: 0 / 0.4891 GB, free: 15.48 MB / 426.7 MB Notification: Performance of Templates: time 0.003157/0.5142, allocations: 0.61 MB / 0.4897 GB, free: 14.88 MB / 426.7 MB