Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.022e-05, allocations: 4 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.00064/0.1455, allocations: 216.6 kB / 411.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.1491, allocations: 1.839 MB / 413 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.1492, allocations: 0 / 413 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.1492, allocations: 4 kB / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.1492, allocations: 0 / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1507, allocations: 327.1 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.978e-05/0.1507, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.1508, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.1508, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 24.75/24.9, allocations: 5.961 GB / 6.364 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/24.9, allocations: 0 / 6.364 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/24.9, allocations: 4 kB / 6.364 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/24.9, allocations: 2.625 kB / 6.364 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/24.9, allocations: 0 / 6.364 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 3.617e-05/24.9, allocations: 0 / 6.364 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/24.9, allocations: 4 kB / 6.364 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.975e-06/24.9, allocations: 0 / 6.364 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.178e-05/24.9, allocations: 0 / 6.364 GB, free: 61.54 MB / 0.5105 GB 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.0002516/24.9, allocations: 346.3 kB / 6.365 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/24.9, allocations: 8.031 kB / 6.365 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/24.9, allocations: 0 / 6.365 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.497e-05/24.9, allocations: 159.1 kB / 6.365 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/24.9, allocations: 0 / 6.365 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/24.9, allocations: 4 kB / 6.365 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.649e-05/24.9, allocations: 36 kB / 6.365 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/24.9, allocations: 6.938 kB / 6.365 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/24.9, allocations: 0 / 6.365 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/24.9, allocations: 0 / 6.365 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/24.9, allocations: 4 kB / 6.365 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/24.9, allocations: 144.4 kB / 6.365 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/24.9, allocations: 22.02 kB / 6.365 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/24.9, allocations: 0.75 kB / 6.365 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/24.9, allocations: 61.08 kB / 6.365 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/24.9, allocations: 0 / 6.365 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/24.9, allocations: 71.44 kB / 6.365 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/24.9, allocations: 77.61 kB / 6.365 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.21e-05/24.9, allocations: 85.5 kB / 6.365 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/24.9, allocations: 25.7 kB / 6.365 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/24.9, allocations: 151.9 kB / 6.366 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/24.9, allocations: 7.938 kB / 6.366 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/24.9, allocations: 4.125 kB / 6.366 GB, free: 60.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.786e-05/24.9, allocations: 311.6 kB / 6.366 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-06/24.9, allocations: 0 / 6.366 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/24.9, allocations: 0.5625 kB / 6.366 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/24.9, allocations: 34.25 kB / 6.366 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/24.9, allocations: 2.719 kB / 6.366 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.581e-05/24.9, allocations: 56.47 kB / 6.366 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/24.9, allocations: 36.52 kB / 6.366 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/24.9, allocations: 4.094 kB / 6.366 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/24.9, allocations: 0 / 6.366 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/24.9, allocations: 3.953 kB / 6.366 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/24.9, allocations: 0 / 6.366 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/24.9, allocations: 2.688 kB / 6.366 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/24.9, allocations: 4.75 kB / 6.366 GB, free: 59.68 MB / 0.5105 GB 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.418e-05/24.9, allocations: 136.6 kB / 6.366 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/24.9, allocations: 0 / 6.366 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42e-05/24.9, allocations: 11.28 kB / 6.366 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/24.9, allocations: 8 kB / 6.366 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/24.9, allocations: 3.953 kB / 6.366 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/24.9, allocations: 0 / 6.366 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.157e-05/24.9, allocations: 147.3 kB / 6.366 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/24.9, allocations: 0.6875 kB / 6.366 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/24.9, allocations: 0 / 6.366 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/24.9, allocations: 0 / 6.366 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/24.9, allocations: 4 kB / 6.366 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/24.9, allocations: 1.562 kB / 6.366 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/24.9, allocations: 0 / 6.366 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.713e-05/24.9, allocations: 102.5 kB / 6.366 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/24.9, allocations: 77.11 kB / 6.366 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/24.9, allocations: 0 / 6.366 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/24.9, allocations: 0 / 6.366 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/24.9, allocations: 0 / 6.366 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/24.9, allocations: 6.297 kB / 6.366 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.7e-05/24.9, allocations: 75.91 kB / 6.367 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/24.9, allocations: 0 / 6.367 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002447/24.9, allocations: 7.984 kB / 6.367 GB, free: 59.02 MB / 0.5105 GB 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 9.011e-05/24.9, allocations: 96.19 kB / 6.367 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.18e-05/24.9, allocations: 61.73 kB / 6.367 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/24.9, allocations: 0 / 6.367 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/24.9, allocations: 57.44 kB / 6.367 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/24.9, allocations: 5.531 kB / 6.367 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/24.9, allocations: 103.5 kB / 6.367 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/24.9, allocations: 0.6731 MB / 6.368 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.038e-05/24.9, allocations: 12.53 kB / 6.368 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/24.9, allocations: 0 / 6.368 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.001658/24.9, allocations: 331.6 kB / 6.368 GB, free: 73.61 MB / 0.5261 GB