Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.383e-05, allocations: 4 kB / 258.8 MB, free: 8.719 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.367, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002888/0.3699, allocations: 1.629 MB / 304.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3711, allocations: 495.2 kB / 305.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.3713, allocations: 5.625 kB / 305.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.977e-05/0.3713, allocations: 27.72 kB / 305.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.3716, allocations: 54.17 kB / 305.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3717, allocations: 37 kB / 305.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.372, allocations: 112.7 kB / 305.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3722, allocations: 35.72 kB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.3723, allocations: 59.53 kB / 305.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.3725, allocations: 60.67 kB / 305.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.054e-05/0.3725, allocations: 10 kB / 305.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.3726, allocations: 6.719 kB / 305.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.3726, allocations: 24.34 kB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.3727, allocations: 16.81 kB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3729, allocations: 156.8 kB / 306 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3729, allocations: 1.094 kB / 306 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.373, allocations: 0 / 306 MB, free: 10.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.373, allocations: 0 / 306 MB, free: 10.63 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008126/0.3738, allocations: 436 kB / 306.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.052e-05/0.3739, allocations: 9.375 kB / 306.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.374, allocations: 25.61 kB / 306.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.3743, allocations: 214.5 kB / 306.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3743, allocations: 14.91 kB / 306.7 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.3744, allocations: 15.06 kB / 306.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.3749, allocations: 155.1 kB / 306.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.3749, allocations: 4 kB / 306.8 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.375, allocations: 6.219 kB / 306.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.375, allocations: 3.75 kB / 306.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.3754, allocations: 112.8 kB / 307 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.3767, allocations: 0.5922 MB / 307.6 MB, free: 9.254 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.3771, allocations: 117.6 kB / 307.7 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3772, allocations: 4 kB / 307.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3772, allocations: 38.5 kB / 307.7 MB, free: 9.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/0.3772, allocations: 4 kB / 307.7 MB, free: 9.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.00228/0.3795, allocations: 0.8001 MB / 308.5 MB, free: 8.203 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3796, allocations: 55.41 kB / 308.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3798, allocations: 145.3 kB / 308.7 MB, free: 7.988 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3798, allocations: 33.7 kB / 308.7 MB, free: 7.949 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.38, allocations: 198.6 kB / 308.9 MB, free: 7.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.38, allocations: 63.09 kB / 309 MB, free: 7.691 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.3801, allocations: 4 kB / 309 MB, free: 7.688 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3802, allocations: 314.8 kB / 309.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.3804, allocations: 48.34 kB / 309.4 MB, free: 7.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.3806, allocations: 74.97 kB / 309.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.3808, allocations: 59.38 kB / 309.5 MB, free: 7.188 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3809, allocations: 3.938 kB / 309.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006236/0.3815, allocations: 202.2 kB / 309.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3815, allocations: 16.02 kB / 309.7 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3815, allocations: 0 / 309.7 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/0.3818, allocations: 44.77 kB / 309.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.3821, allocations: 27.98 kB / 309.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.3839, allocations: 1.433 MB / 311.2 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.3841, allocations: 8.031 kB / 311.2 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3841, allocations: 8 kB / 311.2 MB, free: 5.305 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.3843, allocations: 129.8 kB / 311.4 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.3843, allocations: 23.83 kB / 311.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.3844, allocations: 21.17 kB / 311.4 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3844, allocations: 4 kB / 311.4 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3844, allocations: 0 / 311.4 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3844, allocations: 0 / 311.4 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.3857, allocations: 0.5858 MB / 312 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.3857, allocations: 7.984 kB / 312 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.386, allocations: 28.3 kB / 312 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001895/0.3862, allocations: 28.84 kB / 312.1 MB, free: 4.402 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3863, allocations: 8 kB / 312.1 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.3879, allocations: 1.39 MB / 313.4 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3879, allocations: 0 / 313.4 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.3887, allocations: 348 kB / 313.8 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.3888, allocations: 92.95 kB / 313.9 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.3889, allocations: 0 / 313.9 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.389, allocations: 8 kB / 313.9 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.3891, allocations: 15.97 kB / 313.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3892, allocations: 8.062 kB / 313.9 MB, free: 2.367 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.3893, allocations: 119.2 kB / 314 MB, free: 2.25 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3893, allocations: 0 / 314 MB, free: 2.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.3897, allocations: 40 kB / 314.1 MB, free: 2.211 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002018/0.39, allocations: 107.2 kB / 314.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007244/0.3907, allocations: 251.9 kB / 314.4 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3907, allocations: 4 kB / 314.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.3911, allocations: 194.6 kB / 314.6 MB, free: 1.629 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3915, allocations: 23.88 kB / 314.6 MB, free: 1.605 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3929, allocations: 0.618 MB / 315.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.3933, allocations: 0.7323 MB / 316 MB, free: 200 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.3934, allocations: 19.38 kB / 316 MB, free: 180 kB / 250.7 MB Notification: Performance of SimCode: time 9.91e-07/0.3934, allocations: 0 / 316 MB, free: 180 kB / 250.7 MB Notification: Performance of Templates: time 0.006759/0.4002, allocations: 2.764 MB / 318.8 MB, free: 13.4 MB / 266.7 MB