Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 270 MB / 282.7 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.063e-05/6.124e-05, allocations: 7.938 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.332, allocations: 61.88 MB / 408.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4616, allocations: 85.97 MB / 494.8 MB, free: 4.559 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4619, allocations: 59.98 kB / 494.9 MB, free: 4.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0088/0.4707, allocations: 2.295 MB / 497.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.928e-06/0.4708, allocations: 4 kB / 497.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.454e-06/0.4708, allocations: 0 / 497.2 MB, free: 2.195 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.0003375/0.4711, allocations: 360.2 kB / 497.5 MB, free: 1.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4712, allocations: 8.031 kB / 497.5 MB, free: 1.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.4712, allocations: 8 kB / 497.5 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.4713, allocations: 163 kB / 497.7 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4714, allocations: 0 / 497.7 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.4714, allocations: 3.984 kB / 497.7 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/0.4715, allocations: 41.64 kB / 497.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.4715, allocations: 0 / 497.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-06/0.4715, allocations: 0 / 497.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-06/0.4715, allocations: 0 / 497.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.645e-05/0.4715, allocations: 0 / 497.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.4717, allocations: 149.7 kB / 497.9 MB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.672e-05/0.4718, allocations: 22.45 kB / 497.9 MB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.4718, allocations: 8.797 kB / 497.9 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.4718, allocations: 4 kB / 497.9 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.4719, allocations: 64.28 kB / 498 MB, free: 1.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.075e-06/0.4719, allocations: 0 / 498 MB, free: 1.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.4721, allocations: 63.39 kB / 498 MB, free: 1.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.4721, allocations: 81.11 kB / 498.1 MB, free: 1.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.4722, allocations: 85 kB / 498.2 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4722, allocations: 25.7 kB / 498.2 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.4723, allocations: 150.6 kB / 498.4 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.4723, allocations: 7.938 kB / 498.4 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-06/0.4724, allocations: 0 / 498.4 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4725, allocations: 310.8 kB / 498.7 MB, free: 456 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.4725, allocations: 4.625 kB / 498.7 MB, free: 452 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-06/0.4726, allocations: 0 / 498.7 MB, free: 452 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.4726, allocations: 29.69 kB / 498.7 MB, free: 416 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-06/0.4726, allocations: 3.938 kB / 498.7 MB, free: 412 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.772e-05/0.4727, allocations: 63.41 kB / 498.8 MB, free: 336 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.4728, allocations: 33.8 kB / 498.8 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.543e-06/0.4728, allocations: 0 / 498.8 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4728, allocations: 7.953 kB / 498.8 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.661e-06/0.4728, allocations: 0 / 498.8 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.166e-06/0.4728, allocations: 0 / 498.8 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.4729, allocations: 3.984 kB / 498.8 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-06/0.4729, allocations: 0 / 498.8 MB, free: 284 kB / 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.0001004/0.473, allocations: 130.7 kB / 499 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.473, allocations: 0 / 499 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.473, allocations: 7.125 kB / 499 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-06/0.4731, allocations: 0 / 499 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.994e-06/0.4731, allocations: 3.953 kB / 499 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-06/0.4731, allocations: 0 / 499 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.4732, allocations: 149.7 kB / 499.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-06/0.4733, allocations: 0 / 499.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-06/0.4733, allocations: 0 / 499.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4733, allocations: 0 / 499.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.4733, allocations: 0 / 499.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.149e-06/0.4733, allocations: 3.938 kB / 499.1 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.705e-06/0.4733, allocations: 4 kB / 499.1 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.4735, allocations: 98.72 kB / 499.2 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.4735, allocations: 77.11 kB / 499.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.4735, allocations: 4 kB / 499.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.4736, allocations: 0 / 499.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.4736, allocations: 7.938 kB / 499.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-06/0.4736, allocations: 0 / 499.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.4737, allocations: 79.23 kB / 499.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4737, allocations: 4.031 kB / 499.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003318/0.474, allocations: 47.97 kB / 499.4 MB, free: 15.56 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.0007178/0.4748, allocations: 291.2 kB / 499.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.4749, allocations: 67.33 kB / 499.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.529e-06/0.4749, allocations: 0 / 499.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.4749, allocations: 51.41 kB / 499.8 MB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.325e-05/0.4751, allocations: 4.125 kB / 499.8 MB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000148/0.4752, allocations: 72.84 kB / 499.9 MB, free: 15.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4756, allocations: 0.677 MB / 0.4889 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/0.4756, allocations: 7.438 kB / 0.4889 GB, free: 14.39 MB / 426.7 MB Notification: Performance of SimCode: time 3.378e-06/0.4756, allocations: 0 / 0.4889 GB, free: 14.39 MB / 426.7 MB Notification: Performance of Templates: time 0.003205/0.4788, allocations: 1.206 MB / 0.49 GB, free: 13.18 MB / 426.7 MB