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.537/2.537, allocations: 234.9 MB / 250.1 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.974e-05, allocations: 4 kB / 308 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3526, allocations: 54.86 MB / 362.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0006684/0.3533, allocations: 220.3 kB / 363.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.3542, allocations: 265.6 kB / 363.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.3542, allocations: 0 / 363.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.899e-06/0.3543, allocations: 4 kB / 363.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.481e-06/0.3543, allocations: 3.938 kB / 363.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.3548, allocations: 55.8 kB / 363.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.864e-05/0.3548, allocations: 0 / 363.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.3549, allocations: 7.984 kB / 363.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.3549, allocations: 4 kB / 363.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.3552, allocations: 47.97 kB / 363.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3555, allocations: 87.81 kB / 363.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.3555, allocations: 8 kB / 363.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-06/0.3555, allocations: 0 / 363.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.169e-05/0.3555, allocations: 0 / 363.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3557, allocations: 55.91 kB / 363.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3557, allocations: 0 / 363.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3557, allocations: 0 / 363.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3558, allocations: 0 / 363.6 MB, free: 11.06 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.0003613/0.3561, allocations: 361.1 kB / 363.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3562, allocations: 12.03 kB / 363.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3562, allocations: 3.953 kB / 364 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3564, allocations: 159.1 kB / 364.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3564, allocations: 0 / 364.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3564, allocations: 0 / 364.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3565, allocations: 33.69 kB / 364.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3565, allocations: 0 / 364.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3566, allocations: 4 kB / 364.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3566, allocations: 0 / 364.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.3566, allocations: 15.89 kB / 364.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.3568, allocations: 141.7 kB / 364.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.782e-05/0.3568, allocations: 14.58 kB / 364.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.3568, allocations: 96 / 364.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.3569, allocations: 64.25 kB / 364.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.3569, allocations: 4 kB / 364.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000203/0.3571, allocations: 71.33 kB / 364.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3572, allocations: 77.11 kB / 364.5 MB, free: 9.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.769e-05/0.3572, allocations: 85 kB / 364.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3573, allocations: 25.7 kB / 364.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.3573, allocations: 150.6 kB / 364.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3574, allocations: 3.906 kB / 364.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.3574, allocations: 0 / 364.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3575, allocations: 322.9 kB / 365.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.3575, allocations: 4 kB / 365.1 MB, free: 9.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.3575, allocations: 4 kB / 365.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.3576, allocations: 29.7 kB / 365.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3576, allocations: 3.938 kB / 365.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.58e-05/0.3577, allocations: 59.34 kB / 365.2 MB, free: 9.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.3578, allocations: 37.69 kB / 365.2 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3578, allocations: 0 / 365.2 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3578, allocations: 0 / 365.2 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.3578, allocations: 96 / 365.2 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.3578, allocations: 4 kB / 365.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.3578, allocations: 0 / 365.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.3579, allocations: 4 kB / 365.2 MB, free: 9.148 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 9.187e-05/0.358, allocations: 139.4 kB / 365.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.358, allocations: 4 kB / 365.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.137e-05/0.358, allocations: 3.125 kB / 365.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.358, allocations: 4 kB / 365.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.358, allocations: 0 / 365.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.358, allocations: 0 / 365.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3582, allocations: 153.6 kB / 365.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3582, allocations: 0 / 365.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-06/0.3582, allocations: 0 / 365.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3582, allocations: 0 / 365.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3582, allocations: 4 kB / 365.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3582, allocations: 4 kB / 365.5 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3582, allocations: 0 / 365.5 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.3584, allocations: 98.72 kB / 365.6 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.3584, allocations: 81.14 kB / 365.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3584, allocations: 0 / 365.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/0.3585, allocations: 0 / 365.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.3585, allocations: 3.984 kB / 365.7 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3585, allocations: 7.984 kB / 365.7 MB, free: 8.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.193e-05/0.3586, allocations: 75.28 kB / 365.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3586, allocations: 0 / 365.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.3589, allocations: 32 kB / 365.8 MB, free: 8.445 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.0006824/0.3596, allocations: 266.1 kB / 366.1 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.3597, allocations: 63.41 kB / 366.2 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3597, allocations: 3.938 kB / 366.2 MB, free: 8.141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.3598, allocations: 55.34 kB / 366.2 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.934e-05/0.3599, allocations: 4 kB / 366.2 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.3601, allocations: 112.5 kB / 366.3 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.3604, allocations: 0.6731 MB / 367 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.3604, allocations: 7.438 kB / 367 MB, free: 7.219 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3604, allocations: 0 / 367 MB, free: 7.219 MB / 298.7 MB Notification: Performance of Templates: time 0.003955/0.3644, allocations: 1.206 MB / 368.2 MB, free: 6.012 MB / 298.7 MB