Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 270 MB / 283.6 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.921e-05, allocations: 4 kB / 348.4 MB, free: 2.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3362, allocations: 61.86 MB / 410.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.4827, allocations: 87.55 MB / 497.8 MB, free: 3.117 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4829, allocations: 59.97 kB / 497.9 MB, free: 3.059 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02613/0.5091, allocations: 6.118 MB / 0.4922 GB, free: 12.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.132e-06/0.5091, allocations: 0 / 0.4922 GB, free: 12.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.586e-06/0.5091, allocations: 0 / 0.4922 GB, free: 12.93 MB / 426.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.0004893/0.5096, allocations: 411.3 kB / 0.4926 GB, free: 12.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5097, allocations: 8.031 kB / 0.4926 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.5097, allocations: 0 / 0.4926 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.5099, allocations: 163.1 kB / 0.4927 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5099, allocations: 4 kB / 0.4927 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.5099, allocations: 11.83 kB / 0.4927 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/0.51, allocations: 33.69 kB / 0.4928 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.51, allocations: 0 / 0.4928 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-06/0.5101, allocations: 0 / 0.4928 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-06/0.5101, allocations: 0 / 0.4928 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.633e-05/0.5101, allocations: 0 / 0.4928 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.5103, allocations: 149.7 kB / 0.4929 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.5103, allocations: 18.58 kB / 0.4929 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.5104, allocations: 8.953 kB / 0.4929 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.5104, allocations: 7.938 kB / 0.4929 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.5104, allocations: 60.2 kB / 0.493 GB, free: 11.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.003e-06/0.5105, allocations: 0 / 0.493 GB, free: 11.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001588/0.5106, allocations: 63.41 kB / 0.4931 GB, free: 11.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.5107, allocations: 77.11 kB / 0.4931 GB, free: 11.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.5108, allocations: 93.03 kB / 0.4932 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.5108, allocations: 29.69 kB / 0.4933 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.5109, allocations: 80.14 kB / 0.4933 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.5109, allocations: 0 / 0.4933 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-06/0.5109, allocations: 0 / 0.4933 GB, free: 11.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5111, allocations: 314.8 kB / 0.4936 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.5111, allocations: 4 kB / 0.4936 GB, free: 11.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-06/0.5111, allocations: 0 / 0.4936 GB, free: 11.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.5112, allocations: 33.89 kB / 0.4937 GB, free: 11.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.612e-06/0.5112, allocations: 0 / 0.4937 GB, free: 11.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001082/0.5113, allocations: 71.27 kB / 0.4937 GB, free: 11.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.5114, allocations: 33.66 kB / 0.4938 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-06/0.5114, allocations: 0 / 0.4938 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5114, allocations: 0 / 0.4938 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-06/0.5114, allocations: 8 kB / 0.4938 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.729e-06/0.5114, allocations: 0 / 0.4938 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.5115, allocations: 0 / 0.4938 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-06/0.5115, allocations: 4.031 kB / 0.4938 GB, free: 11.03 MB / 426.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.0001143/0.5116, allocations: 130.7 kB / 0.4939 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.5116, allocations: 0 / 0.4939 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.5116, allocations: 11.06 kB / 0.4939 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-06/0.5117, allocations: 3.984 kB / 0.4939 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.039e-06/0.5117, allocations: 0 / 0.4939 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-06/0.5117, allocations: 0 / 0.4939 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.5118, allocations: 149.7 kB / 0.4941 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-06/0.5118, allocations: 0 / 0.4941 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-06/0.5118, allocations: 0 / 0.4941 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.798e-06/0.5119, allocations: 4 kB / 0.4941 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5119, allocations: 7.922 kB / 0.4941 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.5119, allocations: 7.953 kB / 0.4941 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.977e-06/0.5119, allocations: 0 / 0.4941 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.512, allocations: 90.78 kB / 0.4942 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.5121, allocations: 85 kB / 0.4942 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.5121, allocations: 0 / 0.4942 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.5122, allocations: 4.031 kB / 0.4942 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.5122, allocations: 3.953 kB / 0.4943 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-06/0.5122, allocations: 4 kB / 0.4943 GB, free: 10.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.494e-05/0.5123, allocations: 75.28 kB / 0.4943 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.5123, allocations: 0 / 0.4943 GB, free: 10.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004522/0.5127, allocations: 79.91 kB / 0.4944 GB, free: 10.28 MB / 426.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.0009402/0.5137, allocations: 374.6 kB / 0.4948 GB, free: 9.988 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.5138, allocations: 59.41 kB / 0.4948 GB, free: 9.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.602e-06/0.5138, allocations: 0 / 0.4948 GB, free: 9.918 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.282e-05/0.5139, allocations: 55.41 kB / 0.4949 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.514, allocations: 2.625 kB / 0.4949 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001549/0.5142, allocations: 57.23 kB / 0.4949 GB, free: 9.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.5145, allocations: 0.6692 MB / 0.4956 GB, free: 9.078 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.267e-06/0.5146, allocations: 7.938 kB / 0.4956 GB, free: 9.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.5146, allocations: 7.438 kB / 0.4956 GB, free: 9.062 MB / 426.7 MB Notification: Performance of SimCode: time 1.436e-06/0.5146, allocations: 0 / 0.4956 GB, free: 9.062 MB / 426.7 MB Notification: Performance of Templates: time 0.00571/0.5203, allocations: 1.565 MB / 0.4971 GB, free: 7.496 MB / 426.7 MB