Running command: translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.5e-05, allocations: 7.984 kB / 347 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3211, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.4632, allocations: 92.65 MB / 0.4897 GB, free: 14.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.4635, allocations: 63.98 kB / 0.4898 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05038/0.5139, allocations: 12.07 MB / 0.5016 GB, free: 1.824 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.986e-06/0.5139, allocations: 0 / 0.5016 GB, free: 1.824 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.202e-05/0.514, allocations: 20 kB / 0.5016 GB, free: 1.805 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002331/0.5163, allocations: 0.9311 MB / 0.5025 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5164, allocations: 8.031 kB / 0.5025 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.5166, allocations: 83 kB / 0.5026 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.5173, allocations: 400.8 kB / 0.503 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.5174, allocations: 45.31 kB / 0.503 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.5176, allocations: 63.91 kB / 0.5031 GB, free: 204 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.5194, allocations: 0.7452 MB / 0.5038 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.5194, allocations: 15.78 kB / 0.5038 GB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5195, allocations: 28 kB / 0.5038 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.5196, allocations: 12 kB / 0.5039 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.5212, allocations: 0.6056 MB / 0.5045 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005887/0.5271, allocations: 2.575 MB / 0.507 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.5286, allocations: 0.5569 MB / 0.5075 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007619/0.5293, allocations: 339.7 kB / 0.5078 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-05/0.5295, allocations: 15.91 kB / 0.5078 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.5295, allocations: 42.56 kB / 0.5079 GB, free: 11.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 4.418e-06/0.5295, allocations: 3.938 kB / 0.5079 GB, free: 11.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.005813/0.5354, allocations: 2.396 MB / 0.5102 GB, free: 8.473 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.5355, allocations: 140.5 kB / 0.5104 GB, free: 8.305 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.536, allocations: 327 kB / 0.5107 GB, free: 7.977 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.5362, allocations: 53.7 kB / 0.5107 GB, free: 7.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.5364, allocations: 303.1 kB / 0.511 GB, free: 7.617 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.5368, allocations: 288.2 kB / 0.5113 GB, free: 7.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.5369, allocations: 16 kB / 0.5113 GB, free: 7.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5371, allocations: 346.8 kB / 0.5116 GB, free: 6.969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/0.5379, allocations: 310 kB / 0.5119 GB, free: 6.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.5389, allocations: 472.6 kB / 0.5124 GB, free: 6.152 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/0.5396, allocations: 262.7 kB / 0.5126 GB, free: 5.902 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-06/0.5396, allocations: 3.938 kB / 0.5126 GB, free: 5.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003225/0.5429, allocations: 1.088 MB / 0.5137 GB, free: 4.801 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5429, allocations: 4 kB / 0.5137 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.543, allocations: 11.98 kB / 0.5137 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.5446, allocations: 0.5893 MB / 0.5143 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.5453, allocations: 151.7 kB / 0.5144 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.5485, allocations: 2.565 MB / 0.5169 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.5497, allocations: 187.8 kB / 0.5171 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.5498, allocations: 43.98 kB / 0.5172 GB, free: 1.141 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,bearingFriction.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 6,1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003105/0.5502, allocations: 167.9 kB / 0.5173 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.5504, allocations: 63.25 kB / 0.5174 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.5535, allocations: 1.034 MB / 0.5184 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.5535, allocations: 11.98 kB / 0.5184 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.903e-06/0.5536, allocations: 11.92 kB / 0.5184 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.5536, allocations: 4 kB / 0.5184 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/0.5585, allocations: 2.015 MB / 0.5204 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.315e-06/0.5586, allocations: 4.031 kB / 0.5204 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/0.5594, allocations: 119.9 kB / 0.5205 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.5609, allocations: 0.5537 MB / 0.521 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.5611, allocations: 31.95 kB / 0.5211 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002971/0.564, allocations: 2.514 MB / 0.5235 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.33e-06/0.5641, allocations: 0 / 0.5235 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/0.5679, allocations: 1.641 MB / 0.5251 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.5683, allocations: 208.2 kB / 0.5253 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.5685, allocations: 27.98 kB / 0.5254 GB, free: 8.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.5697, allocations: 175.8 kB / 0.5255 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/0.5702, allocations: 175.6 kB / 0.5257 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.5704, allocations: 51.89 kB / 0.5257 GB, free: 8.035 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004214/0.5708, allocations: 257.2 kB / 0.526 GB, free: 7.785 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.5708, allocations: 0 / 0.526 GB, free: 7.785 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001269/0.5721, allocations: 203.9 kB / 0.5262 GB, free: 7.586 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (inertia4.phi,inertia4.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,inertia2.phi,inertia2.w,clutch.phi_rel,clutch.w_rel,inertia1.w,brake.phi,inertia.w,bearingFriction.phi) * Number of discrete variables: 18 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 7,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004295/0.5726, allocations: 155.1 kB / 0.5263 GB, free: 7.426 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.5749, allocations: 0.9022 MB / 0.5272 GB, free: 6.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.575, allocations: 0 / 0.5272 GB, free: 6.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.5764, allocations: 468.3 kB / 0.5277 GB, free: 6.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009123/0.5773, allocations: 95.52 kB / 0.5278 GB, free: 5.949 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/0.5833, allocations: 2.045 MB / 0.5297 GB, free: 3.855 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007292/0.584, allocations: 0.926 MB / 0.5307 GB, free: 2.902 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.5843, allocations: 43.42 kB / 0.5307 GB, free: 2.859 MB / 458.7 MB Notification: Performance of SimCode: time 1.534e-06/0.5843, allocations: 0 / 0.5307 GB, free: 2.859 MB / 458.7 MB Notification: Performance of Templates: time 0.2923/0.8766, allocations: 16.37 MB / 0.5467 GB, free: 118.8 MB / 458.7 MB