Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.455/2.455, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.966e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3638, allocations: 44.49 MB / 294.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.5777, allocations: 93.97 MB / 388.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/0.5781, allocations: 87.95 kB / 388.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8155/1.394, allocations: 95.01 MB / 483.4 MB, free: 65.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.394, allocations: 0 / 483.4 MB, free: 65.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003327/1.394, allocations: 99.36 kB / 483.5 MB, free: 65.87 MB / 362.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.02139/1.415, allocations: 4.662 MB / 488.1 MB, free: 61.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.416, allocations: 8.031 kB / 488.1 MB, free: 61.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04037/1.456, allocations: 4.498 MB / 492.6 MB, free: 56.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02287/1.479, allocations: 5.041 MB / 497.7 MB, free: 51.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/1.479, allocations: 156 kB / 497.8 MB, free: 51.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002859/1.482, allocations: 283.8 kB / 498.1 MB, free: 51.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02013/1.502, allocations: 6.98 MB / 0.4932 GB, free: 44.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03146/1.534, allocations: 10.58 MB / 0.5036 GB, free: 32.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003755/1.534, allocations: 63.45 kB / 0.5036 GB, free: 32.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002603/1.537, allocations: 35.95 kB / 0.5037 GB, free: 32.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003203/1.54, allocations: 1.191 MB / 0.5048 GB, free: 31.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09813/1.638, allocations: 50.51 MB / 0.5542 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/1.649, allocations: 4.051 MB / 0.5581 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006541/1.655, allocations: 2.395 MB / 0.5605 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/1.657, allocations: 0.6885 MB / 0.5611 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/1.657, allocations: 59.8 kB / 0.5612 GB, free: 4.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=207): time 9.889e-06/1.658, allocations: 4 kB / 0.5612 GB, free: 4.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=229): time 0.4166/2.074, allocations: 17.07 MB / 0.5779 GB, free: 91.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/2.074, allocations: 180.5 kB / 0.578 GB, free: 91.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009875/2.084, allocations: 3.367 MB / 0.5813 GB, free: 91.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007283/2.085, allocations: 25.7 kB / 0.5813 GB, free: 91.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003648/2.089, allocations: 3.525 MB / 0.5848 GB, free: 89.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001917/2.091, allocations: 0.8536 MB / 0.5856 GB, free: 88.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/2.092, allocations: 0 / 0.5856 GB, free: 88.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007815/2.093, allocations: 0.5928 MB / 0.5862 GB, free: 88.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007055/2.1, allocations: 2.396 MB / 0.5885 GB, free: 88.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/2.11, allocations: 6.416 MB / 0.5948 GB, free: 83.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/2.12, allocations: 3.898 MB / 0.5986 GB, free: 83.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/2.121, allocations: 40.72 kB / 0.5986 GB, free: 83.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.02863/2.149, allocations: 8.685 MB / 0.6071 GB, free: 80.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/2.149, allocations: 64.59 kB / 0.6072 GB, free: 80.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002209/2.15, allocations: 142.2 kB / 0.6073 GB, free: 80.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004673/2.154, allocations: 0.9306 MB / 0.6082 GB, free: 80.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01332/2.168, allocations: 1.662 MB / 0.6099 GB, free: 80.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/2.181, allocations: 5.489 MB / 0.6152 GB, free: 77.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008774/2.19, allocations: 255.8 kB / 0.6155 GB, free: 77.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00182/2.192, allocations: 417.9 kB / 0.6159 GB, free: 77.35 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * 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 (853): * Single equations (assignments): 849 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002083/2.194, allocations: 482.4 kB / 0.6163 GB, free: 76.95 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01353/2.207, allocations: 4.168 MB / 0.6204 GB, free: 75.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/2.209, allocations: 366.2 kB / 0.6207 GB, free: 75.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/2.222, allocations: 3.954 MB / 0.6246 GB, free: 73.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.609e-05/2.222, allocations: 25.95 kB / 0.6246 GB, free: 73.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/2.222, allocations: 4 kB / 0.6246 GB, free: 73.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-05/2.222, allocations: 18.23 kB / 0.6246 GB, free: 73.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02863/2.251, allocations: 9.071 MB / 0.6335 GB, free: 65.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/2.251, allocations: 0 / 0.6335 GB, free: 65.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005157/2.256, allocations: 439.7 kB / 0.6339 GB, free: 65.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003889/2.26, allocations: 0.7059 MB / 0.6346 GB, free: 64.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005224/2.261, allocations: 15.28 kB / 0.6346 GB, free: 64.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/2.273, allocations: 4.994 MB / 0.6395 GB, free: 60.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/2.273, allocations: 0 / 0.6395 GB, free: 60.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/2.291, allocations: 7.322 MB / 0.6467 GB, free: 53.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00301/2.294, allocations: 0.7314 MB / 0.6474 GB, free: 53.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/2.295, allocations: 4 kB / 0.6474 GB, free: 53.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003737/2.299, allocations: 108.2 kB / 0.6475 GB, free: 53.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006682/2.3, allocations: 137.3 kB / 0.6476 GB, free: 52.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002917/2.3, allocations: 66.89 kB / 0.6477 GB, free: 52.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005637/2.306, allocations: 2.246 MB / 0.6499 GB, free: 50.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.306, allocations: 0 / 0.6499 GB, free: 50.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009509/2.315, allocations: 0.9833 MB / 0.6508 GB, free: 49.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (190): * Single equations (assignments): 186 * 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.01944/2.335, allocations: 8.447 MB / 0.6591 GB, free: 42.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01589/2.351, allocations: 5.918 MB / 0.6649 GB, free: 37.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.351, allocations: 4 kB / 0.6649 GB, free: 37.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006536/2.357, allocations: 2.157 MB / 0.667 GB, free: 35.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/2.361, allocations: 333.5 kB / 0.6673 GB, free: 34.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03707/2.398, allocations: 10.37 MB / 0.6774 GB, free: 25.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008843/2.407, allocations: 3.767 MB / 0.6811 GB, free: 22.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01159/2.419, allocations: 2.265 MB / 0.6833 GB, free: 20.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006082/2.425, allocations: 2.206 MB / 0.6855 GB, free: 18.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/2.425, allocations: 4 kB / 0.6855 GB, free: 18.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6145/3.04, allocations: 80.02 MB / 0.7636 GB, free: 86.4 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002493/3.04, allocations: 165.2 kB / 0.7638 GB, free: 86.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.732/9.772, allocations: 0 / 0.7638 GB, free: 86.21 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat