Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadModel(ModelicaTest): time 2.636/2.636, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.727e-05, allocations: 8 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4533, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0008347/0.4542, allocations: 206.8 kB / 363.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.4554, allocations: 263.2 kB / 363.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.4554, allocations: 0 / 363.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.4555, allocations: 0 / 363.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.4555, allocations: 0 / 363.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.4561, allocations: 62.75 kB / 363.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.589e-05/0.4561, allocations: 1.219 kB / 363.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.4562, allocations: 0 / 363.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.4562, allocations: 1.062 kB / 363.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.4567, allocations: 58.14 kB / 363.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.457, allocations: 80.2 kB / 363.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.457, allocations: 5.812 kB / 363.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.4571, allocations: 0 / 363.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.4571, allocations: 1.438 kB / 363.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.4573, allocations: 58.05 kB / 363.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4574, allocations: 1 kB / 363.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4574, allocations: 3.938 kB / 363.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4574, allocations: 0 / 363.6 MB, free: 11.75 MB / 298.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.0004712/0.4579, allocations: 362.3 kB / 363.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.458, allocations: 13.88 kB / 364 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.458, allocations: 7.953 kB / 364 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.4582, allocations: 164.7 kB / 364.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4582, allocations: 0 / 364.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4583, allocations: 1 kB / 364.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.4584, allocations: 28.73 kB / 364.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4584, allocations: 3.984 kB / 364.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4584, allocations: 0 / 364.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4585, allocations: 0 / 364.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.4585, allocations: 9.047 kB / 364.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.4587, allocations: 147.7 kB / 364.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.92e-05/0.4588, allocations: 19.77 kB / 364.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.4588, allocations: 1.188 kB / 364.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/0.4589, allocations: 56.92 kB / 364.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 2.325e-06/0.4589, allocations: 0 / 364.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002536/0.4592, allocations: 67.33 kB / 364.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.4593, allocations: 82.52 kB / 364.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.689e-05/0.4594, allocations: 89 kB / 364.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.4594, allocations: 25.7 kB / 364.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.4595, allocations: 81.52 kB / 364.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.4595, allocations: 3.906 kB / 364.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.4595, allocations: 0 / 364.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4597, allocations: 316.2 kB / 365 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.4598, allocations: 0 / 365 MB, free: 10.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.4598, allocations: 10.05 kB / 365.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.4599, allocations: 26.67 kB / 365.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4599, allocations: 0 / 365.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001389/0.46, allocations: 63.47 kB / 365.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.4601, allocations: 34.7 kB / 365.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4601, allocations: 0 / 365.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4602, allocations: 1.281 kB / 365.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/0.4602, allocations: 0 / 365.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.4602, allocations: 3.984 kB / 365.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.4603, allocations: 5.531 kB / 365.2 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4603, allocations: 4.094 kB / 365.2 MB, free: 9.965 MB / 298.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.0001291/0.4604, allocations: 138.8 kB / 365.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.4605, allocations: 0 / 365.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.4605, allocations: 3.125 kB / 365.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4605, allocations: 1.188 kB / 365.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4605, allocations: 3.938 kB / 365.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4605, allocations: 0 / 365.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.4607, allocations: 151.3 kB / 365.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4607, allocations: 1.031 kB / 365.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.4608, allocations: 4 kB / 365.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4608, allocations: 0 / 365.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4608, allocations: 1 kB / 365.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4608, allocations: 0.9688 kB / 365.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.4608, allocations: 3.984 kB / 365.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.461, allocations: 97.28 kB / 365.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.4611, allocations: 81.34 kB / 365.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4611, allocations: 0 / 365.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.4612, allocations: 5.562 kB / 365.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.4612, allocations: 8 kB / 365.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.4612, allocations: 1.844 kB / 365.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.275e-05/0.4613, allocations: 75.28 kB / 365.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4613, allocations: 0 / 365.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006031/0.4619, allocations: 35.45 kB / 365.8 MB, free: 9.309 MB / 298.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.00101/0.463, allocations: 273.4 kB / 366.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.4631, allocations: 56.41 kB / 366.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4632, allocations: 1.344 kB / 366.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.4632, allocations: 54.56 kB / 366.2 MB, free: 9.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.4634, allocations: 9.5 kB / 366.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.4637, allocations: 91.08 kB / 366.3 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4641, allocations: 0.6755 MB / 366.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.281e-05/0.4641, allocations: 5.141 kB / 366.9 MB, free: 8.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.4641, allocations: 8.562 kB / 367 MB, free: 8.191 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4642, allocations: 0 / 367 MB, free: 8.191 MB / 298.7 MB Notification: Performance of Templates: time 0.00703/0.4712, allocations: 0.921 MB / 367.9 MB, free: 7.703 MB / 298.7 MB