Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 270 MB / 283.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.322e-05, allocations: 7.984 kB / 348.4 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 61.88 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4644, allocations: 87.49 MB / 497.8 MB, free: 3.156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4647, allocations: 63.97 kB / 497.8 MB, free: 3.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.301/1.766, allocations: 48.66 MB / 0.5337 GB, free: 108.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.581e-06/1.766, allocations: 0 / 0.5337 GB, free: 108.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/1.766, allocations: 4 kB / 0.5337 GB, free: 108.6 MB / 442.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.002074/1.768, allocations: 428.5 kB / 0.5341 GB, free: 108.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.768, allocations: 8.031 kB / 0.5341 GB, free: 108.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/1.768, allocations: 0.6875 kB / 0.5341 GB, free: 108.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.48e-05/1.768, allocations: 175 kB / 0.5343 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/1.768, allocations: 0 / 0.5343 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/1.768, allocations: 7.953 kB / 0.5343 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.25e-05/1.768, allocations: 33.69 kB / 0.5343 GB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-06/1.768, allocations: 0 / 0.5343 GB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-06/1.768, allocations: 0 / 0.5343 GB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-06/1.768, allocations: 0 / 0.5343 GB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/1.768, allocations: 1.312 kB / 0.5343 GB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.59e-05/1.769, allocations: 145.7 kB / 0.5345 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.153e-05/1.769, allocations: 18.61 kB / 0.5345 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/1.769, allocations: 12.8 kB / 0.5345 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-06/1.769, allocations: 3.953 kB / 0.5345 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.769, allocations: 64.33 kB / 0.5345 GB, free: 107.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.013e-06/1.769, allocations: 0 / 0.5345 GB, free: 107.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001394/1.769, allocations: 59.34 kB / 0.5346 GB, free: 107.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/1.769, allocations: 85.09 kB / 0.5347 GB, free: 107.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.934e-05/1.769, allocations: 85.98 kB / 0.5348 GB, free: 107.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/1.769, allocations: 25.7 kB / 0.5348 GB, free: 107.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.228e-05/1.769, allocations: 84.17 kB / 0.5349 GB, free: 107.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/1.769, allocations: 0 / 0.5349 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/1.769, allocations: 0 / 0.5349 GB, free: 107.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/1.769, allocations: 314.8 kB / 0.5352 GB, free: 106.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/1.769, allocations: 4 kB / 0.5352 GB, free: 106.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-06/1.769, allocations: 0 / 0.5352 GB, free: 106.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/1.769, allocations: 29.64 kB / 0.5352 GB, free: 106.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.371e-06/1.769, allocations: 3.828 kB / 0.5352 GB, free: 106.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.918e-05/1.769, allocations: 67.45 kB / 0.5353 GB, free: 106.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/1.769, allocations: 29.7 kB / 0.5353 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.128e-06/1.769, allocations: 7.953 kB / 0.5353 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.769, allocations: 0 / 0.5353 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-06/1.769, allocations: 0 / 0.5353 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.568e-06/1.769, allocations: 3.984 kB / 0.5353 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/1.769, allocations: 0 / 0.5353 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-06/1.769, allocations: 0 / 0.5353 GB, free: 106.7 MB / 442.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 5.171e-05/1.769, allocations: 130.7 kB / 0.5354 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/1.769, allocations: 7.656 kB / 0.5354 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.21e-05/1.769, allocations: 8.188 kB / 0.5354 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-06/1.769, allocations: 3.953 kB / 0.5355 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.941e-06/1.77, allocations: 0 / 0.5355 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.77, allocations: 4 kB / 0.5355 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.449e-05/1.77, allocations: 145.7 kB / 0.5356 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-06/1.77, allocations: 0 / 0.5356 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.315e-06/1.77, allocations: 0 / 0.5356 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.478e-06/1.77, allocations: 0 / 0.5356 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/1.77, allocations: 0 / 0.5356 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.81e-06/1.77, allocations: 4 kB / 0.5356 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.782e-06/1.77, allocations: 11.94 kB / 0.5356 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.396e-05/1.77, allocations: 86.78 kB / 0.5357 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/1.77, allocations: 81.11 kB / 0.5358 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/1.77, allocations: 7.406 kB / 0.5358 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/1.77, allocations: 0 / 0.5358 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/1.77, allocations: 3.953 kB / 0.5358 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-06/1.77, allocations: 0 / 0.5358 GB, free: 106.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.405e-05/1.77, allocations: 79.31 kB / 0.5359 GB, free: 106.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.53e-07/1.77, allocations: 4 kB / 0.5359 GB, free: 106.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004755/1.775, allocations: 1.305 MB / 0.5371 GB, free: 104.8 MB / 442.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.007779/1.782, allocations: 1.214 MB / 0.5383 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/1.783, allocations: 55.41 kB / 0.5384 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.817e-06/1.783, allocations: 1.203 kB / 0.5384 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/1.783, allocations: 55.41 kB / 0.5384 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.971e-05/1.783, allocations: 0 / 0.5384 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001419/1.783, allocations: 61 kB / 0.5385 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/1.783, allocations: 0.6731 MB / 0.5391 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.321e-06/1.783, allocations: 0 / 0.5391 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/1.783, allocations: 11.44 kB / 0.5392 GB, free: 102.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.387e-06/1.783, allocations: 0 / 0.5392 GB, free: 102.7 MB / 442.7 MB Notification: Performance of Templates: time 0.09466/1.878, allocations: 68.15 MB / 0.6057 GB, free: 34.46 MB / 442.7 MB