Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.018/2.018, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.804e-05, allocations: 1.547 kB / 273.2 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4267/0.5341, allocations: 76.78 MB / 398.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5344, allocations: 75.95 kB / 398.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.556, allocations: 4.327 MB / 403 MB, free: 8.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.556, allocations: 0 / 403 MB, free: 8.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.5561, allocations: 4 kB / 403 MB, free: 8.461 MB / 330.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.001202/0.5573, allocations: 0.51 MB / 403.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.5573, allocations: 12.03 kB / 403.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.716e-05/0.5574, allocations: 50.55 kB / 403.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.5575, allocations: 31.67 kB / 403.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.558, allocations: 243.3 kB / 403.9 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.558, allocations: 20.42 kB / 403.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.5581, allocations: 20 kB / 403.9 MB, free: 7.484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.5588, allocations: 251.2 kB / 404.2 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.5589, allocations: 11.89 kB / 404.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.5589, allocations: 8 kB / 404.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.559, allocations: 8 kB / 404.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.5596, allocations: 209.7 kB / 404.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.5618, allocations: 0.7363 MB / 405.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/0.5627, allocations: 238.5 kB / 405.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.5631, allocations: 132.8 kB / 405.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.5631, allocations: 11.94 kB / 405.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5632, allocations: 38.56 kB / 405.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/0.5632, allocations: 4 kB / 405.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.003781/0.567, allocations: 1.223 MB / 406.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.5671, allocations: 55.41 kB / 406.8 MB, free: 4.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.5674, allocations: 169.9 kB / 407 MB, free: 4.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.5675, allocations: 37.69 kB / 407 MB, free: 4.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.5676, allocations: 136.5 kB / 407.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.5678, allocations: 114.4 kB / 407.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.5678, allocations: 4 kB / 407.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.568, allocations: 338.8 kB / 407.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.5683, allocations: 115.9 kB / 407.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.5687, allocations: 166.9 kB / 407.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.5691, allocations: 108 kB / 408 MB, free: 3.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5691, allocations: 0 / 408 MB, free: 3.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001579/0.5707, allocations: 477.8 kB / 408.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.5707, allocations: 8 kB / 408.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5708, allocations: 3.938 kB / 408.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008524/0.5716, allocations: 244.7 kB / 408.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.5721, allocations: 55.97 kB / 408.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.5733, allocations: 0.7358 MB / 409.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.5739, allocations: 47.98 kB / 409.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.574, allocations: 19.98 kB / 409.6 MB, free: 1.57 MB / 330.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 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.5742, allocations: 136.9 kB / 409.7 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.5743, allocations: 23.72 kB / 409.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.5745, allocations: 30.84 kB / 409.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.5745, allocations: 11.98 kB / 409.8 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.5745, allocations: 0 / 409.8 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5745, allocations: 0 / 409.8 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.5773, allocations: 0.9875 MB / 410.8 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.5774, allocations: 0 / 410.8 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.5779, allocations: 47.97 kB / 410.8 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007169/0.5786, allocations: 224.6 kB / 411 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.5787, allocations: 15.94 kB / 411 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.5797, allocations: 0.7084 MB / 411.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5797, allocations: 0 / 411.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.5816, allocations: 0.6782 MB / 412.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.5819, allocations: 128.8 kB / 412.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.582, allocations: 19.89 kB / 412.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.5825, allocations: 52.02 kB / 412.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.5827, allocations: 55.88 kB / 412.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.5828, allocations: 12 kB / 412.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002152/0.583, allocations: 144.2 kB / 412.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.583, allocations: 4 kB / 412.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005114/0.5835, allocations: 68 kB / 412.9 MB, free: 14.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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.002417/0.586, allocations: 1.319 MB / 414.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.587, allocations: 295.8 kB / 414.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5871, allocations: 0 / 414.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.5876, allocations: 156.1 kB / 414.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.5881, allocations: 23.94 kB / 414.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.5927, allocations: 0.7381 MB / 415.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.5935, allocations: 0.7685 MB / 416.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003365/0.5939, allocations: 26.06 kB / 416.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.5942, allocations: 67.41 kB / 416.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.804e-06/0.5942, allocations: 0 / 416.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.6346, allocations: 6.365 MB / 422.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.635, allocations: 185.4 kB / 422.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.344, allocations: 4.062 kB / 422.8 MB, free: 4.109 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat