Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.417/3.417, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.691e-05, allocations: 0 / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4507, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.702, allocations: 82.51 MB / 436.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.7024, allocations: 67.95 kB / 437 MB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0278/0.7302, allocations: 4.283 MB / 441.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.7303, allocations: 0 / 441.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.7303, allocations: 8 kB / 441.3 MB, free: 8.188 MB / 378.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.001526/0.7319, allocations: 0.506 MB / 441.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.732, allocations: 8.031 kB / 441.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.7321, allocations: 50.53 kB / 441.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.7322, allocations: 23.72 kB / 441.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.7327, allocations: 234.7 kB / 442.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.7328, allocations: 16.44 kB / 442.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.7329, allocations: 19.92 kB / 442.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007589/0.7337, allocations: 184.8 kB / 442.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.7345, allocations: 218.3 kB / 442.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.7345, allocations: 0 / 442.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.7346, allocations: 0 / 442.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.7346, allocations: 4 kB / 442.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.7372, allocations: 0.6543 MB / 443.2 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/0.738, allocations: 189.2 kB / 443.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.7384, allocations: 137.3 kB / 443.5 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-05/0.7385, allocations: 12.16 kB / 443.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.7386, allocations: 38.78 kB / 443.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.908e-06/0.7386, allocations: 0 / 443.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.004585/0.7432, allocations: 1.099 MB / 444.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.7433, allocations: 59.34 kB / 444.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.7435, allocations: 145.6 kB / 444.9 MB, free: 4.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.7436, allocations: 33.7 kB / 444.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.7437, allocations: 125.1 kB / 445 MB, free: 4.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.7439, allocations: 114.3 kB / 445.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.744, allocations: 0 / 445.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.7442, allocations: 330.9 kB / 445.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.7446, allocations: 99.98 kB / 445.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.745, allocations: 139.4 kB / 445.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.7455, allocations: 99.97 kB / 445.8 MB, free: 3.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7455, allocations: 3.938 kB / 445.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001529/0.7471, allocations: 362 kB / 446.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.7471, allocations: 4 kB / 446.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.7472, allocations: 4 kB / 446.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008758/0.7481, allocations: 180.8 kB / 446.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.7486, allocations: 63.8 kB / 446.4 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.7501, allocations: 0.7241 MB / 447.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006441/0.7508, allocations: 52.11 kB / 447.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/0.7509, allocations: 8 kB / 447.2 MB, free: 1.965 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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.0002887/0.7512, allocations: 126.1 kB / 447.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.7513, allocations: 23.77 kB / 447.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.7531, allocations: 405.3 kB / 447.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.7532, allocations: 4 kB / 447.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7532, allocations: 0 / 447.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.7532, allocations: 0 / 447.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.7561, allocations: 0.8474 MB / 448.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.7562, allocations: 0 / 448.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.7568, allocations: 55.97 kB / 448.6 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007521/0.7575, allocations: 160.7 kB / 448.8 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/0.7576, allocations: 11.98 kB / 448.8 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.759, allocations: 0.6967 MB / 449.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.759, allocations: 0 / 449.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.7612, allocations: 0.5947 MB / 450.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.7615, allocations: 132.7 kB / 450.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.7616, allocations: 8 kB / 450.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.7622, allocations: 48.02 kB / 450.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.7625, allocations: 47.89 kB / 450.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.7626, allocations: 19.98 kB / 450.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.7628, allocations: 115.3 kB / 450.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.065e-06/0.7628, allocations: 0 / 450.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007169/0.7635, allocations: 79.86 kB / 450.5 MB, free: 14.45 MB / 394.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.002749/0.7663, allocations: 1.289 MB / 451.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.7676, allocations: 306.4 kB / 452.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7676, allocations: 0 / 452.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.7682, allocations: 139.9 kB / 452.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.7688, allocations: 20.3 kB / 452.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.7731, allocations: 0.7196 MB / 453 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.7737, allocations: 0.7566 MB / 453.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.7739, allocations: 26 kB / 453.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.7742, allocations: 63.41 kB / 453.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of SimCode: time 1.512e-06/0.7742, allocations: 0 / 453.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/0.8843, allocations: 6.015 MB / 459.8 MB, free: 5.043 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003042/0.8846, allocations: 149.9 kB / 460 MB, free: 4.852 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.345/4.23, allocations: 0 / 460 MB, free: 4.852 MB / 394.7 MB