Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.573e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09743, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4498/0.5473, allocations: 100.2 MB / 417.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5477, allocations: 90.81 kB / 417.3 MB, free: 3.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.412/0.9597, allocations: 97.67 MB / 0.5029 GB, free: 8.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.9597, allocations: 0 / 0.5029 GB, free: 8.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003189/0.9601, allocations: 92 kB / 0.503 GB, free: 8.797 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: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01927/0.9793, allocations: 4.678 MB / 0.5076 GB, free: 4.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.9794, allocations: 8.031 kB / 0.5076 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004047/0.9835, allocations: 0.8697 MB / 0.5084 GB, free: 3.168 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3141/1.298, allocations: 4.497 MB / 0.5128 GB, free: 91.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/1.318, allocations: 5.054 MB / 0.5177 GB, free: 90.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/1.319, allocations: 360 kB / 0.5181 GB, free: 90.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002617/1.321, allocations: 488.9 kB / 0.5185 GB, free: 90.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03471/1.356, allocations: 11.9 MB / 0.5302 GB, free: 87.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/1.356, allocations: 71.2 kB / 0.5302 GB, free: 87.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/1.358, allocations: 228.2 kB / 0.5305 GB, free: 87.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/1.361, allocations: 1.206 MB / 0.5316 GB, free: 87.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0281/1.389, allocations: 9.632 MB / 0.541 GB, free: 87.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07685/1.466, allocations: 52.96 MB / 0.5928 GB, free: 52.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/1.486, allocations: 5.159 MB / 0.5978 GB, free: 50.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004977/1.491, allocations: 2.617 MB / 0.6004 GB, free: 49.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/1.51, allocations: 8.037 MB / 0.6082 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.51, allocations: 58.33 kB / 0.6083 GB, free: 45.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=216): time 6.883e-06/1.51, allocations: 3.938 kB / 0.6083 GB, free: 45.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.06946/1.58, allocations: 16.69 MB / 0.6246 GB, free: 34.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/1.58, allocations: 180.2 kB / 0.6247 GB, free: 34.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008703/1.589, allocations: 4.182 MB / 0.6288 GB, free: 30.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000579/1.589, allocations: 61.7 kB / 0.6289 GB, free: 30.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002747/1.592, allocations: 3.44 MB / 0.6322 GB, free: 27.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.593, allocations: 0.8882 MB / 0.6331 GB, free: 26.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007159/1.594, allocations: 132 kB / 0.6332 GB, free: 26.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003823/1.595, allocations: 0.5857 MB / 0.6338 GB, free: 25.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005724/1.6, allocations: 2.451 MB / 0.6362 GB, free: 23.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00837/1.609, allocations: 6.304 MB / 0.6424 GB, free: 16.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008374/1.617, allocations: 3.926 MB / 0.6462 GB, free: 12.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/1.617, allocations: 36 kB / 0.6462 GB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02447/1.642, allocations: 9.003 MB / 0.655 GB, free: 4.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.642, allocations: 73.28 kB / 0.6551 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/1.642, allocations: 136 kB / 0.6552 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003649/1.646, allocations: 0.9091 MB / 0.6561 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/1.656, allocations: 1.604 MB / 0.6577 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.669, allocations: 5.866 MB / 0.6634 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/1.677, allocations: 378.9 kB / 0.6638 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/1.679, allocations: 403.3 kB / 0.6641 GB, free: 12.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002068/1.681, allocations: 0.6066 MB / 0.6647 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.682, allocations: 418.6 kB / 0.6651 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/1.695, allocations: 4.247 MB / 0.6693 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.149e-05/1.695, allocations: 24 kB / 0.6693 GB, free: 8.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/1.695, allocations: 4 kB / 0.6693 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.337e-05/1.696, allocations: 15.95 kB / 0.6693 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3254/2.021, allocations: 10.34 MB / 0.6794 GB, free: 93.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/2.021, allocations: 5.984 kB / 0.6794 GB, free: 93.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004913/2.026, allocations: 471.9 kB / 0.6799 GB, free: 93.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00364/2.03, allocations: 0.7198 MB / 0.6806 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005824/2.03, allocations: 47.12 kB / 0.6806 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/2.042, allocations: 5.306 MB / 0.6858 GB, free: 92.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/2.042, allocations: 12.34 kB / 0.6858 GB, free: 92.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/2.06, allocations: 8.242 MB / 0.6939 GB, free: 90.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/2.063, allocations: 0.8159 MB / 0.6947 GB, free: 90.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/2.064, allocations: 48.36 kB / 0.6947 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003532/2.068, allocations: 144.6 kB / 0.6948 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000663/2.069, allocations: 149.5 kB / 0.695 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/2.069, allocations: 67.39 kB / 0.695 GB, free: 90.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00689/2.076, allocations: 2.985 MB / 0.698 GB, free: 90.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.076, allocations: 0 / 0.698 GB, free: 90.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007535/2.083, allocations: 1.147 MB / 0.6991 GB, free: 90.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 194 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.017/2.1, allocations: 10.06 MB / 0.7089 GB, free: 87.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/2.113, allocations: 5.842 MB / 0.7146 GB, free: 87.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/2.113, allocations: 3.969 kB / 0.7146 GB, free: 87.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005453/2.119, allocations: 2.2 MB / 0.7168 GB, free: 87.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/2.122, allocations: 485.4 kB / 0.7172 GB, free: 87.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/2.154, allocations: 10.83 MB / 0.7278 GB, free: 83.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007557/2.162, allocations: 3.775 MB / 0.7315 GB, free: 82.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01005/2.172, allocations: 2.216 MB / 0.7337 GB, free: 82.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005337/2.177, allocations: 2.231 MB / 0.7358 GB, free: 80.51 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/2.177, allocations: 0 / 0.7358 GB, free: 80.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2169/2.394, allocations: 90.16 MB / 0.8239 GB, free: 15.89 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/2.395, allocations: 181.4 kB / 0.8241 GB, free: 15.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.117/8.511, allocations: 0 / 0.8241 GB, free: 15.68 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat