Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.808e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5601, allocations: 97.16 MB / 419 MB, free: 8.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.5605, allocations: 75.95 kB / 419.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9428/1.503, allocations: 148.5 MB / 0.5543 GB, free: 87.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.796e-06/1.503, allocations: 0 / 0.5543 GB, free: 87.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005263/1.504, allocations: 149.6 kB / 0.5544 GB, free: 87.96 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.03354/1.537, allocations: 7.381 MB / 0.5617 GB, free: 84.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/1.538, allocations: 10.59 kB / 0.5617 GB, free: 84.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007264/1.545, allocations: 1.374 MB / 0.563 GB, free: 83.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05547/1.6, allocations: 7.322 MB / 0.5702 GB, free: 82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03059/1.631, allocations: 7.875 MB / 0.5778 GB, free: 77.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000854/1.632, allocations: 0.5804 MB / 0.5784 GB, free: 77.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004941/1.637, allocations: 0.7663 MB / 0.5792 GB, free: 77.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06327/1.7, allocations: 18.84 MB / 0.5976 GB, free: 57.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006077/1.701, allocations: 103 kB / 0.5977 GB, free: 57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004753/1.706, allocations: 372.9 kB / 0.598 GB, free: 56.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004382/1.71, allocations: 1.827 MB / 0.5998 GB, free: 54.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05155/1.762, allocations: 15.35 MB / 0.6148 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5283/2.29, allocations: 81.67 MB / 0.6946 GB, free: 27.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03903/2.329, allocations: 8.665 MB / 0.703 GB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009217/2.339, allocations: 4.62 MB / 0.7075 GB, free: 26.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03051/2.369, allocations: 11.69 MB / 0.7189 GB, free: 24.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.029e-05/2.369, allocations: 78.09 kB / 0.719 GB, free: 24.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=347): time 7.855e-06/2.369, allocations: 4.75 kB / 0.719 GB, free: 24.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=389): time 0.1752/2.544, allocations: 31.5 MB / 0.7498 GB, free: 14.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/2.545, allocations: 247.9 kB / 0.75 GB, free: 14.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01693/2.562, allocations: 6.493 MB / 0.7564 GB, free: 12.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001143/2.563, allocations: 83.36 kB / 0.7564 GB, free: 12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00519/2.568, allocations: 5.275 MB / 0.7616 GB, free: 7.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002625/2.571, allocations: 1.439 MB / 0.763 GB, free: 6.875 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/2.572, allocations: 199 kB / 0.7632 GB, free: 6.719 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008563/2.573, allocations: 0.7266 MB / 0.7639 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01049/2.584, allocations: 4.017 MB / 0.7678 GB, free: 4.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01545/2.599, allocations: 9.591 MB / 0.7772 GB, free: 12.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/2.616, allocations: 6.153 MB / 0.7832 GB, free: 7.348 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002122/2.616, allocations: 59.95 kB / 0.7832 GB, free: 7.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.05093/2.667, allocations: 15.18 MB / 0.7981 GB, free: 11.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/2.667, allocations: 91.19 kB / 0.7982 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003912/2.667, allocations: 196 kB / 0.7983 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007706/2.675, allocations: 1.721 MB / 0.8 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01729/2.692, allocations: 2.428 MB / 0.8024 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02574/2.718, allocations: 11.41 MB / 0.8135 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01312/2.731, allocations: 0.5774 MB / 0.8141 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002908/2.734, allocations: 0.5742 MB / 0.8147 GB, free: 12.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1225): * Single equations (assignments): 1220 * 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.004442/2.739, allocations: 0.8605 MB / 0.8155 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002306/2.741, allocations: 0.6479 MB / 0.8161 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02767/2.769, allocations: 8.126 MB / 0.8241 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.677e-05/2.769, allocations: 42.5 kB / 0.8241 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/2.769, allocations: 8 kB / 0.8241 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/2.769, allocations: 27.86 kB / 0.8242 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4121/3.181, allocations: 18.18 MB / 0.8419 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.4e-05/3.181, allocations: 7.031 kB / 0.8419 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008328/3.19, allocations: 0.7705 MB / 0.8427 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007219/3.197, allocations: 1.423 MB / 0.8441 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/3.198, allocations: 74.55 kB / 0.8441 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02275/3.221, allocations: 10.6 MB / 0.8545 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/3.221, allocations: 10.66 kB / 0.8545 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03609/3.257, allocations: 14.37 MB / 0.8685 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005555/3.263, allocations: 1.32 MB / 0.8698 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002522/3.266, allocations: 72.31 kB / 0.8699 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007303/3.273, allocations: 255.8 kB / 0.8701 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/3.275, allocations: 241.2 kB / 0.8704 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005068/3.275, allocations: 109 kB / 0.8705 GB, free: 108 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01277/3.288, allocations: 4.654 MB / 0.875 GB, free: 106.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.72e-07/3.288, allocations: 0 / 0.875 GB, free: 106.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01305/3.301, allocations: 1.868 MB / 0.8768 GB, free: 106.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (329): * Single equations (assignments): 324 * 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.03519/3.336, allocations: 16.1 MB / 0.8925 GB, free: 97.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02535/3.362, allocations: 9.95 MB / 0.9023 GB, free: 94.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/3.362, allocations: 0 / 0.9023 GB, free: 94.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01158/3.373, allocations: 3.973 MB / 0.9061 GB, free: 93.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007532/3.381, allocations: 0.7716 MB / 0.9069 GB, free: 92.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05957/3.441, allocations: 17.68 MB / 0.9242 GB, free: 77.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01372/3.454, allocations: 5.636 MB / 0.9297 GB, free: 73.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01651/3.471, allocations: 3.324 MB / 0.9329 GB, free: 71.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009436/3.48, allocations: 3.679 MB / 0.9365 GB, free: 67.76 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/3.48, allocations: 0 / 0.9365 GB, free: 67.76 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7558/4.236, allocations: 146.6 MB / 1.08 GB, free: 83.02 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/4.237, allocations: 179.3 kB / 1.08 GB, free: 82.79 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/12.81, allocations: 7.938 kB / 1.08 GB, free: 82.79 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat