Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.179e-05, allocations: 7.938 kB / 348.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 61.88 MB / 410.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5578, allocations: 85.97 MB / 496.2 MB, free: 2.121 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.558, allocations: 63.97 kB / 496.3 MB, free: 2.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009127/0.5671, allocations: 2.3 MB / 498.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.188e-06/0.5672, allocations: 0 / 498.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.5672, allocations: 0 / 498.6 MB, free: 15.77 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.0003603/0.5676, allocations: 360.3 kB / 498.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5676, allocations: 8.031 kB / 499 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.5677, allocations: 0 / 499 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.5678, allocations: 163.1 kB / 499.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5678, allocations: 0 / 499.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.5679, allocations: 4 kB / 499.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.241e-05/0.568, allocations: 29.66 kB / 499.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.568, allocations: 3.938 kB / 499.1 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.568, allocations: 0 / 499.1 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-06/0.568, allocations: 3.938 kB / 499.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.568, allocations: 8 kB / 499.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.5682, allocations: 149.7 kB / 499.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.5683, allocations: 19.42 kB / 499.3 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.5683, allocations: 4.859 kB / 499.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-06/0.5683, allocations: 0 / 499.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.5684, allocations: 60.22 kB / 499.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.115e-06/0.5684, allocations: 4 kB / 499.4 MB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000171/0.5686, allocations: 67.41 kB / 499.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.5687, allocations: 81.09 kB / 499.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/0.5687, allocations: 88.94 kB / 499.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5688, allocations: 25.7 kB / 499.6 MB, free: 14.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.5688, allocations: 84.14 kB / 499.7 MB, free: 14.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.5688, allocations: 3.906 kB / 499.7 MB, free: 14.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.5689, allocations: 0 / 499.7 MB, free: 14.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.569, allocations: 310.8 kB / 0.4883 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.569, allocations: 4.031 kB / 0.4883 GB, free: 14.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-06/0.5691, allocations: 0 / 0.4883 GB, free: 14.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.5691, allocations: 29.7 kB / 0.4884 GB, free: 14.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-06/0.5691, allocations: 0 / 0.4884 GB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000106/0.5692, allocations: 67.39 kB / 0.4884 GB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.5693, allocations: 29.7 kB / 0.4884 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.672e-06/0.5693, allocations: 0 / 0.4884 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5693, allocations: 3.953 kB / 0.4884 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.797e-06/0.5693, allocations: 4.031 kB / 0.4885 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5694, allocations: 4 kB / 0.4885 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.5694, allocations: 4 kB / 0.4885 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.5694, allocations: 0 / 0.4885 GB, free: 13.92 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.0001006/0.5695, allocations: 126.7 kB / 0.4886 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.5695, allocations: 7.984 kB / 0.4886 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.5696, allocations: 11.06 kB / 0.4886 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-06/0.5696, allocations: 0 / 0.4886 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5696, allocations: 7.953 kB / 0.4886 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-06/0.5696, allocations: 0 / 0.4886 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.5697, allocations: 149.7 kB / 0.4887 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5698, allocations: 0 / 0.4887 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-06/0.5698, allocations: 7.938 kB / 0.4888 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.56e-06/0.5698, allocations: 0 / 0.4888 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-06/0.5698, allocations: 0 / 0.4888 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.285e-06/0.5698, allocations: 3.984 kB / 0.4888 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-06/0.5698, allocations: 0 / 0.4888 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.57, allocations: 94.8 kB / 0.4888 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.57, allocations: 77.11 kB / 0.4889 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5701, allocations: 3.984 kB / 0.4889 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.5701, allocations: 0 / 0.4889 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.5701, allocations: 7.938 kB / 0.4889 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-06/0.5701, allocations: 0 / 0.4889 GB, free: 13.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.231e-05/0.5702, allocations: 79.23 kB / 0.489 GB, free: 13.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.5702, allocations: 0 / 0.489 GB, free: 13.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.5705, allocations: 36 kB / 0.489 GB, free: 13.21 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.0007573/0.5713, allocations: 311.2 kB / 0.4893 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.5714, allocations: 55.41 kB / 0.4894 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.648e-06/0.5715, allocations: 0 / 0.4894 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.5715, allocations: 59.34 kB / 0.4895 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.296e-05/0.5716, allocations: 0 / 0.4895 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001604/0.5718, allocations: 57.48 kB / 0.4895 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5722, allocations: 0.6732 MB / 0.4902 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.821e-06/0.5722, allocations: 4 kB / 0.4902 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.5722, allocations: 11.44 kB / 0.4902 GB, free: 12.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.344e-06/0.5722, allocations: 0 / 0.4902 GB, free: 12.03 MB / 410.7 MB Notification: Performance of Templates: time 0.004306/0.5765, allocations: 0.9252 MB / 0.4911 GB, free: 11.11 MB / 410.7 MB