Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.469/2.469, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.36e-05, allocations: 0 / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3618, allocations: 54.86 MB / 354.3 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.5197, allocations: 82.51 MB / 436.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5201, allocations: 67.97 kB / 436.9 MB, free: 13.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01985/0.5399, allocations: 4.273 MB / 441.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.54, allocations: 0 / 441.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.54, allocations: 12 kB / 441.2 MB, free: 9.07 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.001184/0.5412, allocations: 0.5099 MB / 441.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.5413, allocations: 11.97 kB / 441.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.5414, allocations: 31.66 kB / 441.8 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.5418, allocations: 226.7 kB / 442 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.5419, allocations: 8 kB / 442 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.542, allocations: 12 kB / 442 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000597/0.5426, allocations: 184.8 kB / 442.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.5432, allocations: 218.3 kB / 442.4 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.5432, allocations: 0 / 442.4 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.5433, allocations: 3.938 kB / 442.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.5433, allocations: 12 kB / 442.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.5453, allocations: 0.6465 MB / 443 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.5459, allocations: 207 kB / 443.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.5462, allocations: 125.3 kB / 443.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-05/0.5463, allocations: 4.234 kB / 443.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.5463, allocations: 34.8 kB / 443.4 MB, free: 6.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.487e-06/0.5464, allocations: 0 / 443.4 MB, free: 6.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.003516/0.5499, allocations: 1.101 MB / 444.5 MB, free: 5.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.55, allocations: 55.41 kB / 444.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.5502, allocations: 137.7 kB / 444.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.5502, allocations: 33.7 kB / 444.7 MB, free: 5.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5504, allocations: 129.1 kB / 444.9 MB, free: 5.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.5505, allocations: 114.3 kB / 445 MB, free: 5.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.5505, allocations: 4 kB / 445 MB, free: 5.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5507, allocations: 334.8 kB / 445.3 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.551, allocations: 95.94 kB / 445.4 MB, free: 4.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.5514, allocations: 135.4 kB / 445.5 MB, free: 4.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.5518, allocations: 104 kB / 445.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5518, allocations: 0 / 445.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001523/0.5533, allocations: 358 kB / 446 MB, free: 3.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.5534, allocations: 8.625 kB / 446 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/0.5535, allocations: 4.062 kB / 446 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.5545, allocations: 196.8 kB / 446.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.5552, allocations: 55.91 kB / 446.2 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.5569, allocations: 0.7357 MB / 447 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/0.5577, allocations: 40.03 kB / 447 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.5578, allocations: 15.98 kB / 447 MB, free: 2.902 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.0003014/0.5581, allocations: 119.8 kB / 447.1 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00192/0.56, allocations: 354.1 kB / 447.5 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5602, allocations: 27.7 kB / 447.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.5623, allocations: 405.4 kB / 447.9 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.5624, allocations: 4 kB / 447.9 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5624, allocations: 0 / 447.9 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5624, allocations: 0 / 447.9 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.5652, allocations: 0.8551 MB / 448.8 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5652, allocations: 0 / 448.8 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.5657, allocations: 55.91 kB / 448.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005774/0.5663, allocations: 164.8 kB / 449 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.5664, allocations: 7.984 kB / 449 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009877/0.5673, allocations: 0.6928 MB / 449.7 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.5674, allocations: 7.984 kB / 449.7 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.569, allocations: 0.603 MB / 450.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.5692, allocations: 120.9 kB / 450.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.5693, allocations: 4 kB / 450.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.5698, allocations: 44.02 kB / 450.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.57, allocations: 55.89 kB / 450.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.5701, allocations: 15.98 kB / 450.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.5702, allocations: 119.3 kB / 450.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5702, allocations: 0 / 450.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005647/0.5708, allocations: 71.88 kB / 450.7 MB, free: 15.04 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.002244/0.5731, allocations: 1.289 MB / 452 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000964/0.5741, allocations: 302.2 kB / 452.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5741, allocations: 4 kB / 452.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.5746, allocations: 137.1 kB / 452.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.575, allocations: 19.98 kB / 452.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.5783, allocations: 0.7237 MB / 453.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.5788, allocations: 0.7564 MB / 453.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.5789, allocations: 22.06 kB / 454 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.5791, allocations: 67.41 kB / 454 MB, free: 11.62 MB / 394.7 MB Notification: Performance of SimCode: time 3.707e-06/0.5791, allocations: 0 / 454 MB, free: 11.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05727/0.6364, allocations: 5.858 MB / 459.9 MB, free: 5.766 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.6368, allocations: 148.7 kB / 460 MB, free: 5.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.225, allocations: 0 / 460 MB, free: 5.57 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat