Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.771/2.771, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.944e-05, allocations: 4 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4157, allocations: 58.83 MB / 382.3 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.5895, allocations: 88.22 MB / 470.5 MB, free: 4.297 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.5899, allocations: 67.97 kB / 470.6 MB, free: 4.23 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02138/0.6113, allocations: 4.523 MB / 475.1 MB, free: 15.69 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6113, allocations: 0 / 475.1 MB, free: 15.69 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.6113, allocations: 4 kB / 475.1 MB, free: 15.69 MB / 410.8 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.00117/0.6125, allocations: 0.5061 MB / 475.6 MB, free: 15.14 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.6126, allocations: 8.031 kB / 475.6 MB, free: 15.13 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.6127, allocations: 54.55 kB / 475.7 MB, free: 15.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.6128, allocations: 35.67 kB / 475.7 MB, free: 15.03 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.6132, allocations: 238.6 kB / 475.9 MB, free: 14.76 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.6132, allocations: 20.44 kB / 476 MB, free: 14.74 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.6133, allocations: 19.98 kB / 476 MB, free: 14.72 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.614, allocations: 246.3 kB / 476.2 MB, free: 14.47 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.6141, allocations: 3.906 kB / 476.2 MB, free: 14.46 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.6141, allocations: 8 kB / 476.2 MB, free: 14.46 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.6141, allocations: 4 kB / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.6148, allocations: 200.8 kB / 476.4 MB, free: 14.26 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.6168, allocations: 0.7015 MB / 477.1 MB, free: 13.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.6175, allocations: 211.1 kB / 477.3 MB, free: 13.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.6179, allocations: 137.3 kB / 477.5 MB, free: 13.15 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.6179, allocations: 8.188 kB / 477.5 MB, free: 13.14 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.618, allocations: 30.8 kB / 477.5 MB, free: 13.1 MB / 410.8 MB Notification: Performance of pre-optimization done (n=27): time 4.238e-06/0.618, allocations: 3.938 kB / 477.5 MB, free: 13.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.003507/0.6215, allocations: 1.156 MB / 478.7 MB, free: 11.85 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.6216, allocations: 59.41 kB / 478.7 MB, free: 11.78 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.6219, allocations: 169.7 kB / 478.9 MB, free: 11.6 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.622, allocations: 37.64 kB / 478.9 MB, free: 11.56 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6222, allocations: 128.7 kB / 479.1 MB, free: 11.43 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.6223, allocations: 118.3 kB / 479.2 MB, free: 11.31 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.6224, allocations: 8 kB / 479.2 MB, free: 11.3 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6225, allocations: 330.8 kB / 479.5 MB, free: 10.97 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.6229, allocations: 115.7 kB / 479.6 MB, free: 10.86 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.6233, allocations: 151.2 kB / 479.8 MB, free: 10.7 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.6236, allocations: 89.16 kB / 479.9 MB, free: 10.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6236, allocations: 0 / 479.9 MB, free: 10.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001184/0.6248, allocations: 393.8 kB / 480.2 MB, free: 10.22 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.6249, allocations: 8.062 kB / 480.2 MB, free: 10.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.6249, allocations: 0 / 480.2 MB, free: 10.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007219/0.6256, allocations: 184.7 kB / 480.4 MB, free: 10.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.6261, allocations: 51.91 kB / 480.5 MB, free: 9.977 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.6272, allocations: 0.7164 MB / 481.2 MB, free: 9.234 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.6278, allocations: 52.05 kB / 481.2 MB, free: 9.184 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.6279, allocations: 16 kB / 481.3 MB, free: 9.168 MB / 410.8 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.0001918/0.6281, allocations: 123.7 kB / 481.4 MB, free: 9.043 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.302e-05/0.6282, allocations: 23.72 kB / 481.4 MB, free: 9.02 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.6297, allocations: 440.9 kB / 481.8 MB, free: 8.582 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.6298, allocations: 4 kB / 481.8 MB, free: 8.578 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6298, allocations: 3.984 kB / 481.8 MB, free: 8.574 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.6299, allocations: 0 / 481.8 MB, free: 8.574 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.6324, allocations: 0.9172 MB / 482.8 MB, free: 7.586 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.6325, allocations: 4 kB / 482.8 MB, free: 7.582 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.633, allocations: 51.91 kB / 482.8 MB, free: 7.531 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006689/0.6337, allocations: 168.8 kB / 483 MB, free: 7.363 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.6338, allocations: 11.98 kB / 483 MB, free: 7.352 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.6349, allocations: 0.6732 MB / 483.7 MB, free: 6.652 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6349, allocations: 4.031 kB / 483.7 MB, free: 6.648 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.6367, allocations: 0.618 MB / 484.3 MB, free: 5.992 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.6371, allocations: 128.8 kB / 484.4 MB, free: 5.848 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/0.6372, allocations: 16.03 kB / 484.4 MB, free: 5.832 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/0.6378, allocations: 51.97 kB / 484.5 MB, free: 5.781 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.6381, allocations: 59.88 kB / 484.5 MB, free: 5.723 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.6381, allocations: 11.98 kB / 484.5 MB, free: 5.711 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002216/0.6384, allocations: 139.4 kB / 484.7 MB, free: 5.574 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6384, allocations: 0 / 484.7 MB, free: 5.574 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006054/0.639, allocations: 76 kB / 484.8 MB, free: 5.5 MB / 410.8 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.002355/0.6414, allocations: 1.331 MB / 486.1 MB, free: 4.129 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.6426, allocations: 301.5 kB / 486.4 MB, free: 3.828 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6426, allocations: 3.938 kB / 486.4 MB, free: 3.824 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.6431, allocations: 160.3 kB / 486.5 MB, free: 3.668 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.6436, allocations: 24.17 kB / 486.6 MB, free: 3.641 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.6472, allocations: 0.743 MB / 487.3 MB, free: 2.855 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.6476, allocations: 0.7605 MB / 488.1 MB, free: 2.066 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.6478, allocations: 22.06 kB / 488.1 MB, free: 2.043 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.648, allocations: 67.41 kB / 488.2 MB, free: 1.977 MB / 410.8 MB Notification: Performance of SimCode: time 9.92e-07/0.648, allocations: 0 / 488.2 MB, free: 1.977 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04342/0.6914, allocations: 6.518 MB / 494.7 MB, free: 11.55 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/0.6918, allocations: 186.3 kB / 494.9 MB, free: 11.32 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/3.656, allocations: 0 / 494.9 MB, free: 11.32 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat