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.565/2.565, allocations: 235 MB / 247.2 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.752e-05, allocations: 0.9375 kB / 305 MB, free: 5.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4096, allocations: 54.86 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.5739, allocations: 83.18 MB / 443.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5742, allocations: 73.12 kB / 443.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02165/0.5959, allocations: 4.309 MB / 447.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.596, allocations: 0 / 447.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.596, allocations: 4 kB / 447.4 MB, free: 9.301 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.00133/0.5973, allocations: 0.5094 MB / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.5974, allocations: 12.03 kB / 448 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.5975, allocations: 54.55 kB / 448 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.34e-05/0.5976, allocations: 27.7 kB / 448 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.5981, allocations: 236 kB / 448.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.5981, allocations: 12.44 kB / 448.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.5982, allocations: 24 kB / 448.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.5989, allocations: 246.3 kB / 448.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.599, allocations: 11.84 kB / 448.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.5991, allocations: 8 kB / 448.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5991, allocations: 7.984 kB / 448.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.5997, allocations: 192.8 kB / 448.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.602, allocations: 0.7131 MB / 449.5 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.6026, allocations: 203.1 kB / 449.7 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.603, allocations: 133.3 kB / 449.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-05/0.6031, allocations: 4.234 kB / 449.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.6031, allocations: 30.8 kB / 449.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.577e-06/0.6031, allocations: 3.938 kB / 449.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.003518/0.6067, allocations: 1.164 MB / 451 MB, free: 5.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.6068, allocations: 59.41 kB / 451.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.607, allocations: 165.8 kB / 451.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.6071, allocations: 33.7 kB / 451.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.6072, allocations: 124.6 kB / 451.4 MB, free: 5.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.6074, allocations: 122.4 kB / 451.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.6075, allocations: 8 kB / 451.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6076, allocations: 330.9 kB / 451.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.6079, allocations: 104 kB / 451.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.6084, allocations: 155.8 kB / 452.1 MB, free: 4.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.6087, allocations: 93.02 kB / 452.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6087, allocations: 0 / 452.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001177/0.6099, allocations: 386 kB / 452.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.61, allocations: 12.06 kB / 452.6 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.61, allocations: 7.953 kB / 452.6 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007172/0.6107, allocations: 185.8 kB / 452.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.6112, allocations: 47.92 kB / 452.8 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.6122, allocations: 0.7085 MB / 453.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.6128, allocations: 55.98 kB / 453.6 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.6129, allocations: 12 kB / 453.6 MB, free: 2.812 MB / 378.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 ($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.0002215/0.6132, allocations: 132.9 kB / 453.7 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.6133, allocations: 23.7 kB / 453.7 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.6147, allocations: 429.1 kB / 454.1 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.6148, allocations: 4 kB / 454.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6148, allocations: 0 / 454.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.6148, allocations: 0 / 454.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.6173, allocations: 0.9232 MB / 455.1 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6173, allocations: 0 / 455.1 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.6178, allocations: 51.91 kB / 455.1 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006389/0.6185, allocations: 172.8 kB / 455.3 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.6186, allocations: 11.98 kB / 455.3 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008981/0.6195, allocations: 0.6771 MB / 456 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6195, allocations: 0.9375 kB / 456 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.6213, allocations: 0.6296 MB / 456.6 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.6216, allocations: 124.9 kB / 456.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.6217, allocations: 8 kB / 456.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.6222, allocations: 52.02 kB / 456.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.6224, allocations: 55.89 kB / 456.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.6225, allocations: 15.98 kB / 456.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.6227, allocations: 131.4 kB / 457 MB, free: 15.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6227, allocations: 0 / 457 MB, free: 15.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005939/0.6233, allocations: 79.94 kB / 457.1 MB, free: 15.15 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.002358/0.6257, allocations: 1.335 MB / 458.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.6269, allocations: 305.5 kB / 458.7 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6269, allocations: 3.938 kB / 458.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.6274, allocations: 143.9 kB / 458.8 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.6279, allocations: 34.83 kB / 458.9 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.6315, allocations: 0.7515 MB / 459.6 MB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.632, allocations: 0.7566 MB / 460.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.6322, allocations: 22.08 kB / 460.4 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.6323, allocations: 67.41 kB / 460.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6324, allocations: 0 / 460.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.6717, allocations: 6.518 MB / 467 MB, free: 5.199 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000376/0.6721, allocations: 192.1 kB / 467.2 MB, free: 4.969 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.323, allocations: 3.938 kB / 467.2 MB, free: 4.965 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