Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadModel(ModelicaTest): time 2.472/2.472, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.751e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3966, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0007285/0.3974, allocations: 226.5 kB / 363.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.4011, allocations: 1.862 MB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.4012, allocations: 0 / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.135e-05/0.4012, allocations: 0 / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.4013, allocations: 0 / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.4029, allocations: 326.7 kB / 365.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.919e-05/0.4029, allocations: 1.219 kB / 365.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.403, allocations: 4 kB / 365.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.403, allocations: 5.141 kB / 365.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 25.77/26.17, allocations: 5.96 GB / 6.316 GB, free: 92.28 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/26.17, allocations: 0 / 6.316 GB, free: 92.28 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/26.17, allocations: 0 / 6.316 GB, free: 92.28 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/26.17, allocations: 0 / 6.316 GB, free: 92.28 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/26.17, allocations: 0 / 6.316 GB, free: 92.28 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 3.533e-05/26.17, allocations: 0 / 6.316 GB, free: 92.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/26.17, allocations: 0 / 6.316 GB, free: 92.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.137e-06/26.17, allocations: 4 kB / 6.316 GB, free: 92.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/26.17, allocations: 0 / 6.316 GB, free: 92.28 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.000243/26.17, allocations: 338.4 kB / 6.317 GB, free: 91.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/26.17, allocations: 8.094 kB / 6.317 GB, free: 91.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/26.18, allocations: 4 kB / 6.317 GB, free: 91.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.504e-05/26.18, allocations: 159.8 kB / 6.317 GB, free: 91.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/26.18, allocations: 0.9375 kB / 6.317 GB, free: 91.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/26.18, allocations: 0 / 6.317 GB, free: 91.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.256e-05/26.18, allocations: 32.98 kB / 6.317 GB, free: 91.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/26.18, allocations: 3.953 kB / 6.317 GB, free: 91.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/26.18, allocations: 1.625 kB / 6.317 GB, free: 91.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/26.18, allocations: 0 / 6.317 GB, free: 91.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/26.18, allocations: 7.984 kB / 6.317 GB, free: 91.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/26.18, allocations: 142.6 kB / 6.317 GB, free: 91.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.836e-05/26.18, allocations: 22.05 kB / 6.317 GB, free: 91.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/26.18, allocations: 0 / 6.317 GB, free: 91.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/26.18, allocations: 61.08 kB / 6.317 GB, free: 91.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/26.18, allocations: 0 / 6.317 GB, free: 91.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000167/26.18, allocations: 72 kB / 6.317 GB, free: 91.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/26.18, allocations: 81.67 kB / 6.317 GB, free: 91.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.283e-05/26.18, allocations: 89 kB / 6.317 GB, free: 91.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/26.18, allocations: 26.2 kB / 6.317 GB, free: 91.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/26.18, allocations: 154.1 kB / 6.318 GB, free: 90.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/26.18, allocations: 4.406 kB / 6.318 GB, free: 90.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/26.18, allocations: 0 / 6.318 GB, free: 90.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/26.18, allocations: 311.5 kB / 6.318 GB, free: 90.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/26.18, allocations: 0 / 6.318 GB, free: 90.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/26.18, allocations: 8.562 kB / 6.318 GB, free: 90.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/26.18, allocations: 25.7 kB / 6.318 GB, free: 90.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/26.18, allocations: 0 / 6.318 GB, free: 90.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.68e-05/26.18, allocations: 67.95 kB / 6.318 GB, free: 90.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/26.18, allocations: 29.7 kB / 6.318 GB, free: 90.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/26.18, allocations: 0 / 6.318 GB, free: 90.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/26.18, allocations: 0.8125 kB / 6.318 GB, free: 90.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-06/26.18, allocations: 4 kB / 6.318 GB, free: 90.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/26.18, allocations: 0 / 6.318 GB, free: 90.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/26.18, allocations: 8.672 kB / 6.318 GB, free: 90.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/26.18, allocations: 0 / 6.318 GB, free: 90.43 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 6.341e-05/26.18, allocations: 140.5 kB / 6.318 GB, free: 90.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/26.18, allocations: 0 / 6.318 GB, free: 90.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.261e-05/26.18, allocations: 3.625 kB / 6.318 GB, free: 90.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/26.18, allocations: 0 / 6.318 GB, free: 90.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/26.18, allocations: 1.812 kB / 6.318 GB, free: 90.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/26.18, allocations: 0 / 6.318 GB, free: 90.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.825e-05/26.18, allocations: 150.6 kB / 6.318 GB, free: 90.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/26.18, allocations: 3.984 kB / 6.318 GB, free: 90.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/26.18, allocations: 4 kB / 6.318 GB, free: 90.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/26.18, allocations: 0 / 6.318 GB, free: 90.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/26.18, allocations: 2.906 kB / 6.318 GB, free: 90.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/26.18, allocations: 0 / 6.318 GB, free: 90.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/26.18, allocations: 0 / 6.318 GB, free: 90.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/26.18, allocations: 90.61 kB / 6.318 GB, free: 89.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/26.18, allocations: 83.05 kB / 6.318 GB, free: 89.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/26.18, allocations: 4.031 kB / 6.318 GB, free: 89.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/26.18, allocations: 9.75 kB / 6.318 GB, free: 89.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/26.18, allocations: 0 / 6.318 GB, free: 89.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/26.18, allocations: 0 / 6.318 GB, free: 89.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.685e-05/26.18, allocations: 77.16 kB / 6.319 GB, free: 89.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.21e-07/26.18, allocations: 3.938 kB / 6.319 GB, free: 89.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000243/26.18, allocations: 4 kB / 6.319 GB, free: 89.77 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 8.839e-05/26.18, allocations: 92.19 kB / 6.319 GB, free: 89.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.711e-05/26.18, allocations: 65.03 kB / 6.319 GB, free: 89.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/26.18, allocations: 0 / 6.319 GB, free: 89.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/26.18, allocations: 57.61 kB / 6.319 GB, free: 89.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/26.18, allocations: 10.17 kB / 6.319 GB, free: 89.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001715/26.18, allocations: 101.3 kB / 6.319 GB, free: 89.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/26.18, allocations: 0.677 MB / 6.32 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/26.18, allocations: 7.438 kB / 6.32 GB, free: 104.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.854e-06/26.18, allocations: 0.9375 kB / 6.32 GB, free: 104.7 MB / 474.7 MB Notification: Performance of Templates: time 0.001675/26.18, allocations: 335.7 kB / 6.32 GB, free: 104.4 MB / 474.7 MB