Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 270.1 MB / 283.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.064e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.5156, allocations: 87.49 MB / 497.8 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5159, allocations: 63.97 kB / 497.8 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043/1.558, allocations: 48.67 MB / 0.5337 GB, free: 15.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.557e-06/1.558, allocations: 0 / 0.5337 GB, free: 15.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/1.559, allocations: 0 / 0.5337 GB, free: 15.84 MB / 458.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.002324/1.561, allocations: 435.9 kB / 0.5341 GB, free: 15.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.561, allocations: 12.03 kB / 0.5341 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/1.561, allocations: 0 / 0.5341 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.561, allocations: 163 kB / 0.5343 GB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.561, allocations: 4 kB / 0.5343 GB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.561, allocations: 3.953 kB / 0.5343 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/1.561, allocations: 29.69 kB / 0.5343 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/1.561, allocations: 4 kB / 0.5343 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-06/1.561, allocations: 0 / 0.5343 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/1.561, allocations: 0 / 0.5343 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/1.561, allocations: 0 / 0.5343 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/1.561, allocations: 149.7 kB / 0.5345 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/1.562, allocations: 18.61 kB / 0.5345 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/1.562, allocations: 8.797 kB / 0.5345 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/1.562, allocations: 7.938 kB / 0.5345 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/1.562, allocations: 60.33 kB / 0.5346 GB, free: 14.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.993e-06/1.562, allocations: 0 / 0.5346 GB, free: 14.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001726/1.562, allocations: 67.39 kB / 0.5346 GB, free: 14.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/1.562, allocations: 81.11 kB / 0.5347 GB, free: 14.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/1.562, allocations: 88.94 kB / 0.5348 GB, free: 14.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/1.562, allocations: 25.7 kB / 0.5348 GB, free: 14.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/1.562, allocations: 80.14 kB / 0.5349 GB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/1.562, allocations: 0 / 0.5349 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-06/1.562, allocations: 0 / 0.5349 GB, free: 14.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/1.562, allocations: 314.8 kB / 0.5352 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/1.562, allocations: 4 kB / 0.5352 GB, free: 14.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-06/1.562, allocations: 4.031 kB / 0.5352 GB, free: 14.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/1.562, allocations: 29.69 kB / 0.5352 GB, free: 14.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-06/1.562, allocations: 0 / 0.5352 GB, free: 14.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001036/1.563, allocations: 67.34 kB / 0.5353 GB, free: 13.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/1.563, allocations: 29.7 kB / 0.5353 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.351e-06/1.563, allocations: 7.953 kB / 0.5353 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/1.563, allocations: 0 / 0.5353 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.528e-06/1.563, allocations: 0 / 0.5353 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.181e-06/1.563, allocations: 0 / 0.5353 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/1.563, allocations: 4.094 kB / 0.5353 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/1.563, allocations: 3.984 kB / 0.5353 GB, free: 13.92 MB / 458.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.0001063/1.563, allocations: 134.7 kB / 0.5355 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/1.563, allocations: 0 / 0.5355 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/1.563, allocations: 7.078 kB / 0.5355 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.217e-06/1.563, allocations: 3.953 kB / 0.5355 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.563, allocations: 0 / 0.5355 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-06/1.563, allocations: 0 / 0.5355 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/1.563, allocations: 149.7 kB / 0.5356 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-06/1.563, allocations: 4 kB / 0.5356 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-06/1.563, allocations: 0 / 0.5356 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.558e-06/1.563, allocations: 0 / 0.5356 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-06/1.563, allocations: 0 / 0.5356 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.424e-06/1.563, allocations: 4 kB / 0.5356 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.903e-06/1.563, allocations: 7.953 kB / 0.5356 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/1.563, allocations: 90.77 kB / 0.5357 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/1.563, allocations: 77.11 kB / 0.5358 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/1.563, allocations: 8.031 kB / 0.5358 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.302e-05/1.563, allocations: 0 / 0.5358 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/1.563, allocations: 3.953 kB / 0.5358 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-06/1.563, allocations: 3.938 kB / 0.5358 GB, free: 13.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.108e-05/1.563, allocations: 79.28 kB / 0.5359 GB, free: 13.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.58e-07/1.563, allocations: 0 / 0.5359 GB, free: 13.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005382/1.569, allocations: 1.308 MB / 0.5372 GB, free: 11.94 MB / 458.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.008411/1.577, allocations: 1.211 MB / 0.5383 GB, free: 10.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/1.577, allocations: 63.41 kB / 0.5384 GB, free: 10.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.364e-06/1.578, allocations: 4.062 kB / 0.5384 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-05/1.578, allocations: 55.41 kB / 0.5385 GB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/1.578, allocations: 3.938 kB / 0.5385 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001593/1.578, allocations: 41.06 kB / 0.5385 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/1.578, allocations: 0.677 MB / 0.5392 GB, free: 9.809 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.997e-06/1.578, allocations: 0 / 0.5392 GB, free: 9.809 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/1.578, allocations: 7.438 kB / 0.5392 GB, free: 9.801 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/1.578, allocations: 4 kB / 0.5392 GB, free: 9.797 MB / 458.7 MB Notification: Performance of Templates: time 0.1267/1.705, allocations: 68.15 MB / 0.6057 GB, free: 5.535 MB / 0.5105 GB