Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.615e-05, allocations: 7.984 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09401, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5417, allocations: 94.63 MB / 394.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.542, allocations: 86.88 kB / 394.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4012/0.9432, allocations: 97.19 MB / 491.9 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.9433, allocations: 0 / 491.9 MB, free: 8.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000327/0.9436, allocations: 92 kB / 492 MB, free: 8.102 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: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01984/0.9635, allocations: 4.67 MB / 496.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.9635, allocations: 8.031 kB / 496.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004272/0.9678, allocations: 0.8696 MB / 497.5 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03474/1.003, allocations: 4.502 MB / 0.4902 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02065/1.023, allocations: 5.042 MB / 0.4952 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005567/1.024, allocations: 365.4 kB / 0.4955 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002906/1.027, allocations: 467.9 kB / 0.496 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04092/1.068, allocations: 11.96 MB / 0.5076 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003259/1.068, allocations: 59.41 kB / 0.5077 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002583/1.071, allocations: 235.9 kB / 0.5079 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003001/1.074, allocations: 1.195 MB / 0.5091 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3196/1.393, allocations: 9.818 MB / 0.5187 GB, free: 78.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09031/1.484, allocations: 52.86 MB / 0.5703 GB, free: 48.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02091/1.505, allocations: 5.185 MB / 0.5754 GB, free: 48.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005247/1.51, allocations: 2.616 MB / 0.5779 GB, free: 48.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/1.532, allocations: 8.032 MB / 0.5858 GB, free: 45.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.532, allocations: 62.25 kB / 0.5858 GB, free: 45.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 6.783e-06/1.532, allocations: 0 / 0.5858 GB, free: 45.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.07394/1.606, allocations: 16.67 MB / 0.6021 GB, free: 39.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/1.606, allocations: 180.6 kB / 0.6023 GB, free: 39.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.616, allocations: 4.165 MB / 0.6063 GB, free: 37.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006595/1.617, allocations: 60.55 kB / 0.6064 GB, free: 37.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003231/1.62, allocations: 3.416 MB / 0.6097 GB, free: 35.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.622, allocations: 0.8887 MB / 0.6106 GB, free: 34.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008847/1.623, allocations: 135 kB / 0.6107 GB, free: 34.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004779/1.623, allocations: 0.5875 MB / 0.6113 GB, free: 34.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006189/1.629, allocations: 2.447 MB / 0.6137 GB, free: 33.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009028/1.638, allocations: 6.321 MB / 0.6199 GB, free: 27.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009197/1.648, allocations: 3.92 MB / 0.6237 GB, free: 26.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001555/1.648, allocations: 42.31 kB / 0.6237 GB, free: 26.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02624/1.674, allocations: 9.37 MB / 0.6329 GB, free: 22.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.674, allocations: 63.66 kB / 0.6329 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001979/1.674, allocations: 135.3 kB / 0.6331 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/1.678, allocations: 0.9156 MB / 0.634 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/1.689, allocations: 1.595 MB / 0.6355 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/1.7, allocations: 5.779 MB / 0.6412 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00794/1.708, allocations: 381.3 kB / 0.6415 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001711/1.709, allocations: 399.2 kB / 0.6419 GB, free: 15.09 MB / 410.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.002417/1.712, allocations: 0.6029 MB / 0.6425 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.713, allocations: 410.7 kB / 0.6429 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.726, allocations: 4.241 MB / 0.647 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/1.726, allocations: 28.66 kB / 0.6471 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.726, allocations: 4 kB / 0.6471 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.074e-05/1.726, allocations: 13.8 kB / 0.6471 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/1.757, allocations: 10.35 MB / 0.6572 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/1.757, allocations: 4 kB / 0.6572 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004466/1.761, allocations: 476.1 kB / 0.6576 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/1.765, allocations: 0.717 MB / 0.6583 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006097/1.765, allocations: 50.61 kB / 0.6584 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/1.78, allocations: 5.469 MB / 0.6637 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/1.78, allocations: 11.94 kB / 0.6637 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/1.8, allocations: 8.23 MB / 0.6718 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003538/1.803, allocations: 0.8161 MB / 0.6726 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/1.805, allocations: 47.91 kB / 0.6726 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004174/1.809, allocations: 146 kB / 0.6728 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009246/1.81, allocations: 145.1 kB / 0.6729 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/1.81, allocations: 71.73 kB / 0.673 GB, free: 4.176 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008783/1.819, allocations: 2.966 MB / 0.6759 GB, free: 1.555 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.573e-06/1.819, allocations: 0 / 0.6759 GB, free: 1.555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008498/1.828, allocations: 1.153 MB / 0.677 GB, free: 420 kB / 426.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.3235/2.151, allocations: 10.04 MB / 0.6868 GB, free: 88.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01629/2.168, allocations: 6.038 MB / 0.6927 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.168, allocations: 2.875 kB / 0.6927 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006606/2.174, allocations: 2.241 MB / 0.6949 GB, free: 87.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00452/2.179, allocations: 479.3 kB / 0.6953 GB, free: 87.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/2.216, allocations: 10.82 MB / 0.7059 GB, free: 85.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008935/2.225, allocations: 3.77 MB / 0.7096 GB, free: 85.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01091/2.236, allocations: 2.211 MB / 0.7118 GB, free: 85.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006052/2.242, allocations: 2.217 MB / 0.7139 GB, free: 85.11 MB / 426.7 MB Notification: Performance of SimCode: time 2.435e-06/2.242, allocations: 3.5 kB / 0.7139 GB, free: 85.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.21/2.452, allocations: 90.47 MB / 0.8023 GB, free: 31.97 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/2.452, allocations: 186.7 kB / 0.8024 GB, free: 31.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.203/8.655, allocations: 0 / 0.8024 GB, free: 31.75 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat