Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.171e-05, allocations: 0 / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.4167, allocations: 88.92 MB / 352.8 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/0.4171, allocations: 87.94 kB / 352.9 MB, free: 0.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5946/1.012, allocations: 97.09 MB / 450 MB, free: 23.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.012, allocations: 3.938 kB / 450 MB, free: 23.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002539/1.012, allocations: 92 kB / 450.1 MB, free: 23.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.01943/1.031, allocations: 4.658 MB / 454.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/1.032, allocations: 12.03 kB / 454.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003836/1.035, allocations: 0.8695 MB / 455.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04654/1.082, allocations: 4.499 MB / 460.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0247/1.107, allocations: 5.034 MB / 465.1 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005918/1.107, allocations: 361.4 kB / 465.5 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003378/1.111, allocations: 475.8 kB / 466 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05116/1.162, allocations: 11.89 MB / 477.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004624/1.163, allocations: 63.41 kB / 477.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003338/1.166, allocations: 231.9 kB / 478.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004454/1.17, allocations: 1.199 MB / 479.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0486/1.219, allocations: 9.623 MB / 489 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4313/1.65, allocations: 52.83 MB / 0.5291 GB, free: 29.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/1.672, allocations: 5.165 MB / 0.5341 GB, free: 28.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005283/1.677, allocations: 2.616 MB / 0.5367 GB, free: 28.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01999/1.697, allocations: 8.046 MB / 0.5445 GB, free: 26.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/1.697, allocations: 55.25 kB / 0.5446 GB, free: 26.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=216): time 6.642e-06/1.697, allocations: 3.5 kB / 0.5446 GB, free: 26.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=237): time 0.07439/1.772, allocations: 16.66 MB / 0.5609 GB, free: 23.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/1.772, allocations: 180.9 kB / 0.561 GB, free: 23.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/1.782, allocations: 4.157 MB / 0.5651 GB, free: 21.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005746/1.783, allocations: 57.45 kB / 0.5652 GB, free: 21.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003066/1.786, allocations: 3.42 MB / 0.5685 GB, free: 19.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001367/1.787, allocations: 0.8895 MB / 0.5694 GB, free: 18.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008585/1.788, allocations: 130.8 kB / 0.5695 GB, free: 18.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005441/1.789, allocations: 0.5909 MB / 0.5701 GB, free: 17.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006338/1.795, allocations: 2.446 MB / 0.5725 GB, free: 17.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008726/1.804, allocations: 6.282 MB / 0.5786 GB, free: 11.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008915/1.813, allocations: 3.916 MB / 0.5824 GB, free: 9.922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/1.813, allocations: 42.38 kB / 0.5825 GB, free: 9.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02552/1.839, allocations: 8.988 MB / 0.5912 GB, free: 5.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.839, allocations: 60 kB / 0.5913 GB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/1.839, allocations: 140 kB / 0.5914 GB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/1.843, allocations: 0.9161 MB / 0.5923 GB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01034/1.853, allocations: 1.598 MB / 0.5939 GB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.865, allocations: 5.778 MB / 0.5995 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008036/1.873, allocations: 383.3 kB / 0.5999 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001738/1.875, allocations: 399 kB / 0.6003 GB, free: 13.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (816): * Single equations (assignments): 812 * 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.002418/1.877, allocations: 0.6034 MB / 0.6009 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.878, allocations: 418.6 kB / 0.6013 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.892, allocations: 4.234 MB / 0.6054 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.102e-05/1.892, allocations: 28.89 kB / 0.6054 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/1.892, allocations: 7.281 kB / 0.6054 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.759e-05/1.892, allocations: 14.69 kB / 0.6054 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.034/1.927, allocations: 10.34 MB / 0.6155 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/1.927, allocations: 4 kB / 0.6155 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004837/1.931, allocations: 472.9 kB / 0.616 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005476/1.937, allocations: 0.8217 MB / 0.6168 GB, free: 0 / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000844/1.938, allocations: 63.56 kB / 0.6169 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/1.95, allocations: 5.318 MB / 0.622 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.95, allocations: 11.64 kB / 0.6221 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/1.971, allocations: 8.226 MB / 0.6301 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003289/1.974, allocations: 0.82 MB / 0.6309 GB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/1.975, allocations: 43.28 kB / 0.6309 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004029/1.979, allocations: 148.6 kB / 0.6311 GB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008025/1.98, allocations: 148.9 kB / 0.6312 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/1.981, allocations: 71.12 kB / 0.6313 GB, free: 2.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008938/1.99, allocations: 2.982 MB / 0.6342 GB, free: 0 / 378.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.99, allocations: 336 / 0.6342 GB, free: 0 / 378.7 MB Notification: Performance of remove unused functions: time 0.2629/2.253, allocations: 1.169 MB / 0.6353 GB, free: 90.62 MB / 378.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.01907/2.272, allocations: 10.06 MB / 0.6452 GB, free: 87.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01354/2.285, allocations: 5.83 MB / 0.6509 GB, free: 87.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.285, allocations: 0 / 0.6509 GB, free: 87.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005871/2.291, allocations: 2.204 MB / 0.653 GB, free: 87.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004059/2.295, allocations: 479.5 kB / 0.6535 GB, free: 87.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03541/2.331, allocations: 10.8 MB / 0.664 GB, free: 85.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008/2.339, allocations: 3.757 MB / 0.6677 GB, free: 84.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01049/2.349, allocations: 2.213 MB / 0.6698 GB, free: 84.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005519/2.355, allocations: 2.215 MB / 0.672 GB, free: 83.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.234e-06/2.355, allocations: 0 / 0.672 GB, free: 83.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1961/2.551, allocations: 89.78 MB / 0.7597 GB, free: 15.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/2.551, allocations: 208.3 kB / 0.7599 GB, free: 15.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.666/8.218, allocations: 0 / 0.7599 GB, free: 15.42 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat