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.036/2.036, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.531e-05, allocations: 5.625 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.5528, allocations: 76.35 MB / 392.7 MB, free: 172 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5531, allocations: 69.27 kB / 392.7 MB, free: 136 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02008/0.5732, allocations: 4.302 MB / 397 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5733, allocations: 0 / 397 MB, free: 12.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.5733, allocations: 4 kB / 397.1 MB, free: 12.47 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.001199/0.5745, allocations: 0.5134 MB / 397.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.5746, allocations: 11.97 kB / 397.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.5747, allocations: 27.16 kB / 397.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.5751, allocations: 238.6 kB / 397.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.5751, allocations: 11.94 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.5752, allocations: 12 kB / 397.9 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005939/0.5758, allocations: 212.7 kB / 398.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.5764, allocations: 224.3 kB / 398.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.5764, allocations: 3.906 kB / 398.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.5765, allocations: 0 / 398.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5765, allocations: 8 kB / 398.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.5785, allocations: 0.6764 MB / 399 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.5793, allocations: 225.4 kB / 399.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.5796, allocations: 123.5 kB / 399.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.5796, allocations: 4 kB / 399.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.5797, allocations: 41.73 kB / 399.4 MB, free: 10.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/0.5797, allocations: 0 / 399.4 MB, free: 10.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.003478/0.5832, allocations: 1.152 MB / 400.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.5833, allocations: 55.41 kB / 400.6 MB, free: 9.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.5835, allocations: 151.3 kB / 400.7 MB, free: 9.129 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.5836, allocations: 29.69 kB / 400.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.5837, allocations: 150.4 kB / 400.9 MB, free: 8.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5838, allocations: 104.7 kB / 401 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.5839, allocations: 3.984 kB / 401 MB, free: 8.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.584, allocations: 326.3 kB / 401.3 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.5843, allocations: 109.5 kB / 401.4 MB, free: 8.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.5847, allocations: 144.5 kB / 401.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.585, allocations: 106 kB / 401.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5851, allocations: 7.891 kB / 401.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001443/0.5865, allocations: 452.1 kB / 402.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5866, allocations: 10.3 kB / 402.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5866, allocations: 4 kB / 402.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007939/0.5874, allocations: 242.7 kB / 402.4 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.5878, allocations: 59.16 kB / 402.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.589, allocations: 0.7609 MB / 403.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.5895, allocations: 39.95 kB / 403.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.5896, allocations: 19.11 kB / 403.2 MB, free: 6.934 MB / 330.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 (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.0002147/0.5898, allocations: 121.6 kB / 403.4 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001299/0.5911, allocations: 414.8 kB / 403.8 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.5912, allocations: 27.7 kB / 403.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.5913, allocations: 31.78 kB / 403.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5914, allocations: 0 / 403.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5914, allocations: 4 kB / 403.8 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.5914, allocations: 7.938 kB / 403.8 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.5938, allocations: 0.9136 MB / 404.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5938, allocations: 0 / 404.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.5943, allocations: 47.72 kB / 404.8 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006826/0.595, allocations: 223.1 kB / 405 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.5951, allocations: 7.953 kB / 405 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009808/0.5961, allocations: 0.7275 MB / 405.7 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5961, allocations: 0 / 405.7 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.5978, allocations: 0.6544 MB / 406.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.598, allocations: 123.4 kB / 406.5 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.5981, allocations: 7.812 kB / 406.5 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.5986, allocations: 44.02 kB / 406.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.5988, allocations: 54.89 kB / 406.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/0.5988, allocations: 19.05 kB / 406.6 MB, free: 3.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.599, allocations: 125 kB / 406.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.599, allocations: 0 / 406.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005592/0.5996, allocations: 71.92 kB / 406.8 MB, free: 3.75 MB / 330.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.002119/0.6017, allocations: 1.292 MB / 408.1 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008764/0.6026, allocations: 282.8 kB / 408.4 MB, free: 2.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6026, allocations: 0 / 408.4 MB, free: 2.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.603, allocations: 140.7 kB / 408.5 MB, free: 2.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.6035, allocations: 19.64 kB / 408.6 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.6068, allocations: 0.7146 MB / 409.3 MB, free: 1.551 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.6073, allocations: 0.7632 MB / 410 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.6075, allocations: 22.08 kB / 410.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.6076, allocations: 65.97 kB / 410.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of SimCode: time 3.466e-06/0.6076, allocations: 0 / 410.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05848/0.6661, allocations: 5.649 MB / 415.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.6665, allocations: 156.7 kB / 415.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.391, allocations: 0 / 415.9 MB, free: 10.89 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