Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 270 MB / 282.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-05/5.222e-05, allocations: 4 kB / 347.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3817, allocations: 61.87 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.538, allocations: 89.32 MB / 498.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.5383, allocations: 71.97 kB / 498.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02076/0.5591, allocations: 4.617 MB / 0.4911 GB, free: 12.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5591, allocations: 0 / 0.4911 GB, free: 12.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.5592, allocations: 8 kB / 0.4912 GB, free: 12.54 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001132/0.5603, allocations: 0.5099 MB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.5604, allocations: 8.031 kB / 0.4917 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.5605, allocations: 54.55 kB / 0.4917 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.5606, allocations: 23.72 kB / 0.4917 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.5609, allocations: 255.4 kB / 0.492 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.561, allocations: 16.44 kB / 0.492 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.561, allocations: 24 kB / 0.492 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.5617, allocations: 234.4 kB / 0.4922 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5618, allocations: 4 kB / 0.4922 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.5618, allocations: 8 kB / 0.4922 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5618, allocations: 11.98 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.5624, allocations: 192.8 kB / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.5643, allocations: 0.7054 MB / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.5649, allocations: 199.1 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.5653, allocations: 137.2 kB / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.129e-05/0.5654, allocations: 12.22 kB / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5654, allocations: 38.8 kB / 0.4935 GB, free: 9.953 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.866e-06/0.5654, allocations: 0 / 0.4935 GB, free: 9.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003229/0.5686, allocations: 1.16 MB / 0.4946 GB, free: 8.703 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.5687, allocations: 59.34 kB / 0.4947 GB, free: 8.633 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.5689, allocations: 161.9 kB / 0.4948 GB, free: 8.469 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.569, allocations: 33.7 kB / 0.4949 GB, free: 8.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.5691, allocations: 194.9 kB / 0.4951 GB, free: 8.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.5693, allocations: 118.3 kB / 0.4952 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.5693, allocations: 8 kB / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5695, allocations: 322.8 kB / 0.4955 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.5698, allocations: 108 kB / 0.4956 GB, free: 7.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.5702, allocations: 139.4 kB / 0.4957 GB, free: 7.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.5705, allocations: 112.9 kB / 0.4958 GB, free: 7.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5705, allocations: 0 / 0.4958 GB, free: 7.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001056/0.5716, allocations: 381.9 kB / 0.4962 GB, free: 7.043 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5716, allocations: 4 kB / 0.4962 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.5716, allocations: 11.97 kB / 0.4962 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006611/0.5723, allocations: 188.8 kB / 0.4964 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.5727, allocations: 51.91 kB / 0.4964 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009715/0.5737, allocations: 0.7085 MB / 0.4971 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.5742, allocations: 47.98 kB / 0.4972 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.5743, allocations: 19.98 kB / 0.4972 GB, free: 5.988 MB / 426.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: 8 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.5745, allocations: 122.2 kB / 0.4973 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.5745, allocations: 23.72 kB / 0.4973 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.5759, allocations: 425.1 kB / 0.4977 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5759, allocations: 7.984 kB / 0.4978 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5759, allocations: 3.953 kB / 0.4978 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.576, allocations: 3.984 kB / 0.4978 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.5782, allocations: 0.9172 MB / 0.4987 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5782, allocations: 4.062 kB / 0.4987 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.5787, allocations: 55.84 kB / 0.4987 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005812/0.5793, allocations: 164.7 kB / 0.4989 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.5793, allocations: 15.98 kB / 0.4989 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008172/0.5802, allocations: 0.6656 MB / 0.4995 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5802, allocations: 0 / 0.4995 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.5818, allocations: 0.6297 MB / 0.5002 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.582, allocations: 124.9 kB / 0.5003 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.5821, allocations: 8 kB / 0.5003 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.5826, allocations: 48.02 kB / 0.5003 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.5828, allocations: 59.91 kB / 0.5004 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.5828, allocations: 15.98 kB / 0.5004 GB, free: 2.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.583, allocations: 147.3 kB / 0.5005 GB, free: 2.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.583, allocations: 4 kB / 0.5005 GB, free: 2.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.5836, allocations: 76 kB / 0.5006 GB, free: 2.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002092/0.5857, allocations: 1.321 MB / 0.5019 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009756/0.5867, allocations: 309.5 kB / 0.5022 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5867, allocations: 0 / 0.5022 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004597/0.5872, allocations: 144.8 kB / 0.5023 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.5876, allocations: 36.11 kB / 0.5024 GB, free: 480 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.5909, allocations: 0.7769 MB / 0.5031 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.5913, allocations: 0.7605 MB / 0.5039 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.5915, allocations: 67.41 kB / 0.5039 GB, free: 14.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5915, allocations: 0 / 0.5039 GB, free: 14.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.515/3.107, allocations: 4.945 MB / 0.5088 GB, free: 9.855 MB / 442.7 MB