Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadModel(Modelica): time 1.156/1.156, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.205e-05, allocations: 0 / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07187/0.07194, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.005206/0.07722, allocations: 2.082 MB / 181.8 MB, free: 7.523 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.08006, allocations: 0.6911 MB / 182.5 MB, free: 6.828 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.08044, allocations: 11.94 kB / 182.5 MB, free: 6.816 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.08069, allocations: 43.69 kB / 182.5 MB, free: 6.773 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.08121, allocations: 115.7 kB / 182.6 MB, free: 6.66 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.08199, allocations: 139.7 kB / 182.8 MB, free: 6.523 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000962/0.08298, allocations: 292.7 kB / 183 MB, free: 6.238 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.08334, allocations: 65.5 kB / 183.1 MB, free: 6.176 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.08402, allocations: 203.5 kB / 183.3 MB, free: 5.977 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.08466, allocations: 219.3 kB / 183.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.08499, allocations: 59.91 kB / 183.6 MB, free: 5.703 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.08515, allocations: 24 kB / 183.6 MB, free: 5.68 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.08536, allocations: 87.7 kB / 183.7 MB, free: 5.594 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.08554, allocations: 36 kB / 183.7 MB, free: 5.559 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000942/0.08649, allocations: 375.3 kB / 184.1 MB, free: 5.191 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.08653, allocations: 0 / 184.1 MB, free: 5.191 MB / 154.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.08654, allocations: 3.938 kB / 184.1 MB, free: 5.188 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.08658, allocations: 0 / 184.1 MB, free: 5.188 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002833/0.08943, allocations: 0.6827 MB / 184.8 MB, free: 4.457 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.08951, allocations: 16.03 kB / 184.8 MB, free: 4.441 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.08974, allocations: 47.44 kB / 184.8 MB, free: 4.395 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.09052, allocations: 294.2 kB / 185.1 MB, free: 4.07 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.09062, allocations: 29 kB / 185.2 MB, free: 4.039 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.09082, allocations: 43.91 kB / 185.2 MB, free: 3.996 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.09286, allocations: 446.2 kB / 185.6 MB, free: 3.551 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/0.09294, allocations: 7.984 kB / 185.6 MB, free: 3.543 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/0.09306, allocations: 16 kB / 185.7 MB, free: 3.527 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.09309, allocations: 12 kB / 185.7 MB, free: 3.516 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.0955, allocations: 443.7 kB / 186.1 MB, free: 3.086 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/0.1003, allocations: 1.106 MB / 187.2 MB, free: 1.922 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.1022, allocations: 363.4 kB / 187.6 MB, free: 1.559 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.874e-05/0.1023, allocations: 8.375 kB / 187.6 MB, free: 1.551 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1023, allocations: 30.94 kB / 187.6 MB, free: 1.512 MB / 154.7 MB Notification: Performance of pre-optimization done (n=45): time 4.839e-06/0.1023, allocations: 0 / 187.6 MB, free: 1.512 MB / 154.7 MB Notification: Performance of matching and sorting (n=51): time 0.01202/0.1144, allocations: 2.284 MB / 189.9 MB, free: 15.1 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.1145, allocations: 59.84 kB / 189.9 MB, free: 15.03 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.1151, allocations: 254.1 kB / 190.2 MB, free: 14.77 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.1152, allocations: 37.7 kB / 190.2 MB, free: 14.73 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.1155, allocations: 235.1 kB / 190.5 MB, free: 14.5 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.1158, allocations: 173.6 kB / 190.6 MB, free: 14.32 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.1159, allocations: 12 kB / 190.6 MB, free: 14.31 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.1161, allocations: 338.8 kB / 191 MB, free: 13.97 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.1173, allocations: 229 kB / 191.2 MB, free: 13.75 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.1186, allocations: 271.8 kB / 191.5 MB, free: 13.48 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.1196, allocations: 190.1 kB / 191.6 MB, free: 13.3 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1196, allocations: 4 kB / 191.7 MB, free: 13.29 MB / 170.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00379/0.1234, allocations: 0.7034 MB / 192.4 MB, free: 12.57 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1235, allocations: 7.984 kB / 192.4 MB, free: 12.57 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1235, allocations: 0 / 192.4 MB, free: 12.57 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.1253, allocations: 369.5 kB / 192.7 MB, free: 12.2 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.1263, allocations: 95.89 kB / 192.8 MB, free: 12.11 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.1291, allocations: 1.37 MB / 194.2 MB, free: 10.68 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.1305, allocations: 104.1 kB / 194.3 MB, free: 10.58 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.1306, allocations: 20 kB / 194.3 MB, free: 10.56 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004528/0.1311, allocations: 169.7 kB / 194.5 MB, free: 10.39 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.1313, allocations: 35.62 kB / 194.5 MB, free: 10.35 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.1316, allocations: 55.69 kB / 194.6 MB, free: 10.29 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.1316, allocations: 4 kB / 194.6 MB, free: 10.29 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.1316, allocations: 0 / 194.6 MB, free: 10.29 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1316, allocations: 3.938 kB / 194.6 MB, free: 10.29 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006104/0.1378, allocations: 1.365 MB / 195.9 MB, free: 8.844 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.1378, allocations: 0 / 195.9 MB, free: 8.844 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/0.1387, allocations: 87.98 kB / 196 MB, free: 8.758 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.1403, allocations: 349.7 kB / 196.4 MB, free: 8.41 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.1405, allocations: 19.98 kB / 196.4 MB, free: 8.391 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.1431, allocations: 1.351 MB / 197.7 MB, free: 6.988 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.1431, allocations: 4.031 kB / 197.7 MB, free: 6.984 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/0.1477, allocations: 1.064 MB / 198.8 MB, free: 5.855 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.1482, allocations: 164.6 kB / 199 MB, free: 5.676 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.1484, allocations: 19.94 kB / 199 MB, free: 5.656 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.1495, allocations: 79.92 kB / 199.1 MB, free: 5.578 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/0.1499, allocations: 107.8 kB / 199.2 MB, free: 5.473 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.1501, allocations: 27.97 kB / 199.2 MB, free: 5.445 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003988/0.1505, allocations: 190 kB / 199.4 MB, free: 5.258 MB / 170.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1505, allocations: 4 kB / 199.4 MB, free: 5.254 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.001014/0.1515, allocations: 116 kB / 199.5 MB, free: 5.141 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004057/0.152, allocations: 147.1 kB / 199.6 MB, free: 4.988 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00281/0.1548, allocations: 0.5681 MB / 200.2 MB, free: 4.422 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.1548, allocations: 0 / 200.2 MB, free: 4.422 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.1564, allocations: 303.7 kB / 200.5 MB, free: 4.125 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.1574, allocations: 57.22 kB / 200.6 MB, free: 4.07 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/0.1653, allocations: 1.721 MB / 202.3 MB, free: 2.305 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.166, allocations: 0.8269 MB / 203.1 MB, free: 1.441 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.1662, allocations: 27.44 kB / 203.1 MB, free: 1.414 MB / 170.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1662, allocations: 0 / 203.1 MB, free: 1.414 MB / 170.7 MB Notification: Performance of Templates: time 0.1552/0.3214, allocations: 7.433 MB / 210.6 MB, free: 22.13 MB / 170.7 MB