Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 2.179/2.179, allocations: 224.7 MB / 241.1 MB, free: 1.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.756e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002961/0.1132, allocations: 1.669 MB / 346.6 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1145, allocations: 459 kB / 347.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1147, allocations: 4 kB / 347.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.238e-05/0.1147, allocations: 23.83 kB / 347.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.115, allocations: 63.8 kB / 347.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1151, allocations: 27.97 kB / 347.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.1154, allocations: 115.7 kB / 347.3 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1156, allocations: 36.02 kB / 347.4 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1157, allocations: 55.84 kB / 347.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1159, allocations: 59.77 kB / 347.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.1159, allocations: 8 kB / 347.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.116, allocations: 12 kB / 347.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.116, allocations: 27.91 kB / 347.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.1161, allocations: 16 kB / 347.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1163, allocations: 151.8 kB / 347.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1164, allocations: 0 / 347.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1164, allocations: 0 / 347.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1164, allocations: 0 / 347.7 MB, free: 6.211 MB / 282.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.0008422/0.1172, allocations: 434.9 kB / 348.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1173, allocations: 8.031 kB / 348.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.1174, allocations: 23.77 kB / 348.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1177, allocations: 218.7 kB / 348.3 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1178, allocations: 12 kB / 348.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.1178, allocations: 16 kB / 348.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.1183, allocations: 153.4 kB / 348.5 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1183, allocations: 7.844 kB / 348.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.1184, allocations: 12 kB / 348.5 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1184, allocations: 7.953 kB / 348.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.1188, allocations: 103.9 kB / 348.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.1202, allocations: 0.6005 MB / 349.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.1206, allocations: 118.5 kB / 349.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1206, allocations: 3.953 kB / 349.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.1207, allocations: 46.5 kB / 349.4 MB, free: 4.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.805e-06/0.1207, allocations: 0 / 349.4 MB, free: 4.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.002366/0.1231, allocations: 0.8047 MB / 350.2 MB, free: 3.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1232, allocations: 55.39 kB / 350.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1234, allocations: 146.4 kB / 350.4 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1234, allocations: 29.7 kB / 350.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1236, allocations: 186.8 kB / 350.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.786e-05/0.1236, allocations: 67.02 kB / 350.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.1237, allocations: 4 kB / 350.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1238, allocations: 322.8 kB / 351 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.124, allocations: 40.36 kB / 351.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1242, allocations: 80.14 kB / 351.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1244, allocations: 55.94 kB / 351.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1245, allocations: 0 / 351.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006511/0.1251, allocations: 198.3 kB / 351.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1252, allocations: 12.06 kB / 351.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1252, allocations: 0 / 351.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.1255, allocations: 36.84 kB / 351.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.1257, allocations: 35.91 kB / 351.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.1276, allocations: 1.433 MB / 352.9 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.1278, allocations: 12.41 kB / 352.9 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1278, allocations: 4 kB / 352.9 MB, free: 0.5078 MB / 282.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.000176/0.128, allocations: 133.6 kB / 353 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.1281, allocations: 23.88 kB / 353.1 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.1282, allocations: 25.09 kB / 353.1 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.1282, allocations: 8 kB / 353.1 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1282, allocations: 0 / 353.1 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1282, allocations: 0 / 353.1 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.1295, allocations: 0.5956 MB / 353.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1295, allocations: 0 / 353.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.1298, allocations: 31.92 kB / 353.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.13, allocations: 28.83 kB / 353.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.1301, allocations: 11.95 kB / 353.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.1317, allocations: 1.374 MB / 355.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1317, allocations: 4.031 kB / 355.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.1325, allocations: 346.7 kB / 355.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.1326, allocations: 88.95 kB / 355.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1327, allocations: 0 / 355.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1329, allocations: 8.281 kB / 355.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.1329, allocations: 11.98 kB / 355.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.133, allocations: 16.05 kB / 355.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1331, allocations: 113.2 kB / 355.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1331, allocations: 3.938 kB / 355.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.1335, allocations: 44 kB / 355.8 MB, free: 13.41 MB / 298.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.0001604/0.1337, allocations: 107.2 kB / 355.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007626/0.1345, allocations: 254.6 kB / 356.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.1345, allocations: 4 kB / 356.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.135, allocations: 198.6 kB / 356.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1354, allocations: 18.7 kB / 356.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1368, allocations: 0.6297 MB / 357 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1373, allocations: 0.7284 MB / 357.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.1374, allocations: 19.44 kB / 357.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1374, allocations: 3.938 kB / 357.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of Templates: time 0.007202/0.1446, allocations: 2.759 MB / 360.5 MB, free: 8.605 MB / 298.7 MB