Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.907/1.907, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.577e-05/4.608e-05, allocations: 7.984 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.548, allocations: 93.98 MB / 415.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5484, allocations: 75.95 kB / 415.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8304/1.379, allocations: 130.8 MB / 0.5339 GB, free: 89.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.977e-06/1.379, allocations: 0 / 0.5339 GB, free: 89.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004295/1.379, allocations: 127.1 kB / 0.5341 GB, free: 89.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02774/1.407, allocations: 6.371 MB / 0.5403 GB, free: 86.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.407, allocations: 10.28 kB / 0.5403 GB, free: 86.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005962/1.413, allocations: 1.176 MB / 0.5414 GB, free: 86.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05207/1.465, allocations: 7.096 MB / 0.5484 GB, free: 86.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/1.491, allocations: 7.241 MB / 0.5554 GB, free: 85.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006427/1.492, allocations: 0.494 MB / 0.5559 GB, free: 85.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003967/1.496, allocations: 0.6533 MB / 0.5566 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05269/1.549, allocations: 16.41 MB / 0.5726 GB, free: 77.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004021/1.549, allocations: 79.72 kB / 0.5727 GB, free: 77.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002942/1.552, allocations: 315.6 kB / 0.573 GB, free: 77.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00336/1.556, allocations: 1.572 MB / 0.5745 GB, free: 76.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04492/1.601, allocations: 13.89 MB / 0.5881 GB, free: 65.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/1.711, allocations: 66.17 MB / 0.6527 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03117/1.742, allocations: 6.969 MB / 0.6595 GB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009972/1.752, allocations: 4.182 MB / 0.6636 GB, free: 2.512 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3641/2.117, allocations: 15.04 MB / 0.6783 GB, free: 96.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.153e-05/2.117, allocations: 68.56 kB / 0.6783 GB, free: 96.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 6.552e-06/2.117, allocations: 0 / 0.6783 GB, free: 96.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=348): time 0.1182/2.235, allocations: 26.02 MB / 0.7037 GB, free: 92.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/2.235, allocations: 228.6 kB / 0.704 GB, free: 91.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/2.247, allocations: 4.659 MB / 0.7085 GB, free: 90.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001083/2.248, allocations: 76.08 kB / 0.7086 GB, free: 90.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00426/2.252, allocations: 4.396 MB / 0.7129 GB, free: 87.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002402/2.255, allocations: 1.277 MB / 0.7141 GB, free: 86.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/2.257, allocations: 163.8 kB / 0.7143 GB, free: 85.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007878/2.257, allocations: 0.6518 MB / 0.7149 GB, free: 85.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009359/2.267, allocations: 3.532 MB / 0.7184 GB, free: 84.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/2.279, allocations: 7.988 MB / 0.7262 GB, free: 77.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/2.292, allocations: 5.266 MB / 0.7313 GB, free: 75.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001897/2.293, allocations: 45.34 kB / 0.7313 GB, free: 75.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03727/2.33, allocations: 12.89 MB / 0.7439 GB, free: 71.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/2.33, allocations: 77.75 kB / 0.744 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/2.33, allocations: 154.2 kB / 0.7442 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007105/2.337, allocations: 1.661 MB / 0.7458 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/2.351, allocations: 1.925 MB / 0.7477 GB, free: 70.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/2.371, allocations: 11.35 MB / 0.7587 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/2.381, allocations: 0.4923 MB / 0.7592 GB, free: 60.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/2.384, allocations: 478.1 kB / 0.7597 GB, free: 60.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (996): * Single equations (assignments): 991 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002353/2.386, allocations: 0.7167 MB / 0.7604 GB, free: 59.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/2.387, allocations: 0.5018 MB / 0.7609 GB, free: 58.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02062/2.408, allocations: 7.366 MB / 0.7681 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.38e-05/2.408, allocations: 36 kB / 0.7681 GB, free: 52.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/2.408, allocations: 8 kB / 0.7681 GB, free: 52.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.44e-05/2.408, allocations: 18.47 kB / 0.7681 GB, free: 52.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04712/2.455, allocations: 16 MB / 0.7837 GB, free: 39.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.702e-05/2.455, allocations: 0 / 0.7837 GB, free: 39.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006393/2.462, allocations: 0.6067 MB / 0.7843 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006559/2.468, allocations: 1.412 MB / 0.7857 GB, free: 38.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/2.469, allocations: 66.66 kB / 0.7858 GB, free: 38.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/2.49, allocations: 10.54 MB / 0.7961 GB, free: 28.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/2.49, allocations: 0 / 0.7961 GB, free: 28.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03034/2.521, allocations: 11.89 MB / 0.8077 GB, free: 18.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004516/2.525, allocations: 1.1 MB / 0.8087 GB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001977/2.527, allocations: 56.62 kB / 0.8088 GB, free: 17.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006167/2.533, allocations: 255.6 kB / 0.809 GB, free: 16.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/2.535, allocations: 202.9 kB / 0.8092 GB, free: 16.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004409/2.535, allocations: 84 kB / 0.8093 GB, free: 16.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008393/2.544, allocations: 3.273 MB / 0.8125 GB, free: 13.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.42e-07/2.544, allocations: 4 kB / 0.8125 GB, free: 13.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01125/2.555, allocations: 1.608 MB / 0.8141 GB, free: 11.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03321/2.588, allocations: 12.74 MB / 0.8265 GB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.33/2.919, allocations: 8.813 MB / 0.8351 GB, free: 108.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/2.919, allocations: 1.781 kB / 0.8351 GB, free: 108.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01181/2.93, allocations: 3.725 MB / 0.8388 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006108/2.937, allocations: 0.6303 MB / 0.8394 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05186/2.988, allocations: 15.11 MB / 0.8541 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/3.001, allocations: 4.926 MB / 0.859 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01379/3.015, allocations: 2.645 MB / 0.8615 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008111/3.023, allocations: 3.045 MB / 0.8645 GB, free: 103.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.382e-06/3.023, allocations: 0 / 0.8645 GB, free: 103.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3176/3.341, allocations: 123.2 MB / 0.9848 GB, free: 14.54 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/3.341, allocations: 185.2 kB / 0.985 GB, free: 14.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/10.96, allocations: 0 / 0.985 GB, free: 14.32 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat