Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadModel(ModelicaTest): time 2.241/2.241, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.35e-05, allocations: 4 kB / 304.9 MB, free: 5.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3237, allocations: 54.85 MB / 359.7 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4472, allocations: 79.93 MB / 439.7 MB, free: 1.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.4475, allocations: 59.97 kB / 439.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009081/0.4565, allocations: 2.288 MB / 442 MB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.559e-06/0.4566, allocations: 0 / 442 MB, free: 14.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.593e-06/0.4566, allocations: 7.172 kB / 442 MB, free: 14.77 MB / 378.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.0003617/0.457, allocations: 360.1 kB / 442.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.457, allocations: 12.02 kB / 442.4 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.4571, allocations: 3.953 kB / 442.4 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.4572, allocations: 159.1 kB / 442.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4572, allocations: 4 kB / 442.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.4573, allocations: 0 / 442.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.988e-05/0.4574, allocations: 25.7 kB / 442.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.768e-06/0.4574, allocations: 0 / 442.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-06/0.4574, allocations: 8 kB / 442.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4574, allocations: 0 / 442.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.4574, allocations: 7.891 kB / 442.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.4576, allocations: 149.7 kB / 442.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.4577, allocations: 18.61 kB / 442.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.4577, allocations: 4.859 kB / 442.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-06/0.4577, allocations: 0 / 442.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.4578, allocations: 64.33 kB / 442.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.856e-06/0.4578, allocations: 0 / 442.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.458, allocations: 67.38 kB / 442.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.458, allocations: 81.05 kB / 443 MB, free: 13.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.4581, allocations: 89 kB / 443.1 MB, free: 13.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.4582, allocations: 26.64 kB / 443.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.4582, allocations: 150.6 kB / 443.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4583, allocations: 3.984 kB / 443.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-06/0.4583, allocations: 4.031 kB / 443.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4584, allocations: 314.8 kB / 443.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.4585, allocations: 0.5469 kB / 443.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-06/0.4585, allocations: 4 kB / 443.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.4585, allocations: 25.7 kB / 443.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-06/0.4586, allocations: 0 / 443.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001054/0.4587, allocations: 67.39 kB / 443.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.4587, allocations: 34.58 kB / 443.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.197e-06/0.4587, allocations: 96 / 443.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4588, allocations: 4 kB / 443.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/0.4588, allocations: 4 kB / 443.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.626e-06/0.4588, allocations: 0 / 443.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.4588, allocations: 0 / 443.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.4588, allocations: 0 / 443.7 MB, free: 12.86 MB / 378.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.0001148/0.459, allocations: 138.6 kB / 443.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.459, allocations: 0 / 443.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.459, allocations: 11.06 kB / 443.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-06/0.459, allocations: 0.5625 kB / 443.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.824e-06/0.459, allocations: 5.938 kB / 443.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.071e-06/0.459, allocations: 0 / 443.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.4592, allocations: 149.6 kB / 444 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-06/0.4592, allocations: 0 / 444 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.4592, allocations: 0 / 444 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.619e-06/0.4592, allocations: 1.594 kB / 444 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.875e-06/0.4592, allocations: 3.984 kB / 444 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.229e-06/0.4592, allocations: 0 / 444 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-06/0.4593, allocations: 0 / 444 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.4594, allocations: 94.8 kB / 444.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.4595, allocations: 81.09 kB / 444.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.4595, allocations: 0 / 444.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.4595, allocations: 4 kB / 444.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.4595, allocations: 4 kB / 444.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.4595, allocations: 2.5 kB / 444.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.4596, allocations: 75.28 kB / 444.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.4596, allocations: 0 / 444.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.4599, allocations: 35.97 kB / 444.3 MB, free: 12.16 MB / 378.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.0007021/0.4607, allocations: 287.1 kB / 444.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.806e-05/0.4608, allocations: 59.34 kB / 444.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.607e-06/0.4608, allocations: 4.062 kB / 444.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.033e-05/0.4609, allocations: 55.41 kB / 444.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.881e-05/0.461, allocations: 5.359 kB / 444.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001655/0.4612, allocations: 76.58 kB / 444.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.4615, allocations: 0.677 MB / 445.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.4615, allocations: 7.438 kB / 445.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.357e-06/0.4615, allocations: 0 / 445.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003301/0.4649, allocations: 1.194 MB / 446.6 MB, free: 9.793 MB / 378.7 MB