Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.316e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.516, allocations: 85.98 MB / 496.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.5163, allocations: 63.97 kB / 496.3 MB, free: 2.105 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009031/0.5253, allocations: 2.289 MB / 498.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.116e-06/0.5254, allocations: 4 kB / 498.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.5254, allocations: 4 kB / 498.6 MB, free: 15.82 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.0003617/0.5258, allocations: 360.2 kB / 499 MB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5258, allocations: 8.031 kB / 499 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.5259, allocations: 0 / 499 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.526, allocations: 163.1 kB / 499.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.526, allocations: 0 / 499.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.526, allocations: 0 / 499.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.412e-05/0.5261, allocations: 37.64 kB / 499.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.74e-06/0.5261, allocations: 4 kB / 499.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-06/0.5262, allocations: 0 / 499.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5262, allocations: 0 / 499.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.5262, allocations: 3.938 kB / 499.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.5264, allocations: 149.6 kB / 499.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.5264, allocations: 19.42 kB / 499.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.5265, allocations: 4.859 kB / 499.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-06/0.5265, allocations: 3.938 kB / 499.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.5266, allocations: 72.27 kB / 499.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.983e-06/0.5266, allocations: 0 / 499.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001619/0.5267, allocations: 59.41 kB / 499.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.5268, allocations: 81.11 kB / 499.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.5269, allocations: 85 kB / 499.6 MB, free: 14.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.5269, allocations: 29.64 kB / 499.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.527, allocations: 80.14 kB / 499.7 MB, free: 14.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.527, allocations: 3.906 kB / 499.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.527, allocations: 4.031 kB / 499.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.5272, allocations: 314.8 kB / 0.4883 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.5272, allocations: 4 kB / 0.4883 GB, free: 14.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-06/0.5272, allocations: 0 / 0.4883 GB, free: 14.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.5273, allocations: 25.7 kB / 0.4884 GB, free: 14.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-06/0.5273, allocations: 0 / 0.4884 GB, free: 14.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001004/0.5274, allocations: 63.41 kB / 0.4884 GB, free: 14.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.5274, allocations: 29.7 kB / 0.4885 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.132e-06/0.5275, allocations: 8.078 kB / 0.4885 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5275, allocations: 7.953 kB / 0.4885 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.875e-06/0.5275, allocations: 0 / 0.4885 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.272e-06/0.5275, allocations: 0 / 0.4885 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.5275, allocations: 0 / 0.4885 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.5275, allocations: 0 / 0.4885 GB, free: 13.98 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.0001068/0.5277, allocations: 130.7 kB / 0.4886 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.5277, allocations: 0 / 0.4886 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.742e-05/0.5277, allocations: 7.078 kB / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.477e-06/0.5277, allocations: 7.984 kB / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.741e-06/0.5277, allocations: 7.891 kB / 0.4886 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-06/0.5278, allocations: 0 / 0.4886 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.5279, allocations: 149.7 kB / 0.4888 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-06/0.5279, allocations: 0 / 0.4888 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-06/0.5279, allocations: 0 / 0.4888 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.537e-06/0.5279, allocations: 3.938 kB / 0.4888 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-06/0.5279, allocations: 0 / 0.4888 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.788e-06/0.5279, allocations: 0 / 0.4888 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-06/0.528, allocations: 0 / 0.4888 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.5281, allocations: 102.8 kB / 0.4889 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.5282, allocations: 77.11 kB / 0.4889 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.5282, allocations: 4 kB / 0.4889 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.5282, allocations: 0 / 0.4889 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.5282, allocations: 0 / 0.4889 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.5282, allocations: 4 kB / 0.4889 GB, free: 13.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.5283, allocations: 83.17 kB / 0.489 GB, free: 13.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.5283, allocations: 0 / 0.489 GB, free: 13.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.5287, allocations: 48 kB / 0.4891 GB, free: 13.25 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.0007686/0.5295, allocations: 300.4 kB / 0.4894 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.866e-05/0.5296, allocations: 59.41 kB / 0.4894 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.708e-06/0.5296, allocations: 0 / 0.4894 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/0.5296, allocations: 51.41 kB / 0.4895 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.628e-05/0.5298, allocations: 4 kB / 0.4895 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001511/0.5299, allocations: 57.62 kB / 0.4895 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.5303, allocations: 0.677 MB / 0.4902 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.814e-06/0.5303, allocations: 3.938 kB / 0.4902 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.5303, allocations: 7.438 kB / 0.4902 GB, free: 12.08 MB / 410.7 MB Notification: Performance of SimCode: time 3.652e-06/0.5303, allocations: 0 / 0.4902 GB, free: 12.08 MB / 410.7 MB Notification: Performance of Templates: time 0.004159/0.5345, allocations: 0.9212 MB / 0.4911 GB, free: 11.16 MB / 410.7 MB