Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-05/6.039e-05, allocations: 11.94 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1715, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5416/0.7132, allocations: 109.5 MB / 0.5077 GB, free: 10.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/0.7136, allocations: 75.97 kB / 0.5078 GB, free: 10.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9449/1.659, allocations: 127.6 MB / 0.6323 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/1.659, allocations: 0 / 0.6323 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005119/1.659, allocations: 125.4 kB / 0.6325 GB, free: 108.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02906/1.688, allocations: 6.294 MB / 0.6386 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.688, allocations: 9.156 kB / 0.6386 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005769/1.694, allocations: 1.115 MB / 0.6397 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05386/1.748, allocations: 7.05 MB / 0.6466 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02727/1.775, allocations: 6.96 MB / 0.6534 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005824/1.776, allocations: 476.7 kB / 0.6538 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003449/1.779, allocations: 0.6193 MB / 0.6545 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05125/1.831, allocations: 15.52 MB / 0.6696 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005311/1.831, allocations: 84.31 kB / 0.6697 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003177/1.834, allocations: 302.3 kB / 0.67 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003182/1.838, allocations: 1.424 MB / 0.6714 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04102/1.879, allocations: 12.51 MB / 0.6836 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/1.983, allocations: 66.92 MB / 0.7489 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02782/2.01, allocations: 6.311 MB / 0.7551 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006495/2.017, allocations: 3.357 MB / 0.7584 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01999/2.037, allocations: 7.969 MB / 0.7662 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/2.037, allocations: 64.02 kB / 0.7662 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.123e-06/2.037, allocations: 4 kB / 0.7662 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.1176/2.155, allocations: 24.82 MB / 0.7905 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/2.155, allocations: 239.4 kB / 0.7907 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01705/2.172, allocations: 5.632 MB / 0.7962 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008711/2.173, allocations: 65.64 kB / 0.7963 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00625/2.179, allocations: 4.429 MB / 0.8006 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002211/2.182, allocations: 1.029 MB / 0.8016 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001658/2.183, allocations: 156 kB / 0.8017 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00123/2.184, allocations: 0.6446 MB / 0.8024 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009512/2.194, allocations: 3.065 MB / 0.8054 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4252/2.619, allocations: 7.701 MB / 0.8129 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/2.633, allocations: 4.815 MB / 0.8176 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003969/2.634, allocations: 49.34 kB / 0.8176 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.05379/2.687, allocations: 11.63 MB / 0.829 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000455/2.688, allocations: 76.25 kB / 0.8291 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006105/2.689, allocations: 166 kB / 0.8292 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/2.701, allocations: 1.676 MB / 0.8309 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02002/2.721, allocations: 1.855 MB / 0.8327 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/2.744, allocations: 11.36 MB / 0.8438 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/2.755, allocations: 465 kB / 0.8442 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002216/2.757, allocations: 487 kB / 0.8447 GB, free: 104 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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.groundColor[3],world.groundColor[2],world.groundColor[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 (960): * Single equations (assignments): 955 * 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.002998/2.76, allocations: 0.7226 MB / 0.8454 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/2.761, allocations: 0.5455 MB / 0.8459 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01741/2.779, allocations: 6.015 MB / 0.8518 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/2.779, allocations: 30.06 kB / 0.8518 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.7e-05/2.779, allocations: 11.19 kB / 0.8518 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.469e-05/2.779, allocations: 15.81 kB / 0.8518 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03773/2.817, allocations: 13.61 MB / 0.8651 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/2.817, allocations: 3.656 kB / 0.8651 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004927/2.822, allocations: 493.4 kB / 0.8656 GB, free: 98.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006306/2.828, allocations: 1.413 MB / 0.867 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005265/2.829, allocations: 47.11 kB / 0.867 GB, free: 98.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/2.85, allocations: 10.59 MB / 0.8774 GB, free: 92.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/2.85, allocations: 13.56 kB / 0.8774 GB, free: 92.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02414/2.874, allocations: 10.32 MB / 0.8875 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/2.876, allocations: 0.6116 MB / 0.8881 GB, free: 87.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002396/2.879, allocations: 48.98 kB / 0.8881 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005595/2.884, allocations: 177.9 kB / 0.8883 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/2.885, allocations: 164.4 kB / 0.8884 GB, free: 87.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003328/2.886, allocations: 68.17 kB / 0.8885 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01082/2.897, allocations: 4.024 MB / 0.8924 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.533e-06/2.897, allocations: 0 / 0.8924 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01196/2.909, allocations: 1.506 MB / 0.8939 GB, free: 86.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (211): * Single equations (assignments): 206 * 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.02563/2.934, allocations: 11.51 MB / 0.9051 GB, free: 80.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01805/2.952, allocations: 7.413 MB / 0.9124 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/2.952, allocations: 0 / 0.9124 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008331/2.961, allocations: 3.032 MB / 0.9153 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006217/2.967, allocations: 0.7082 MB / 0.916 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04561/3.013, allocations: 14.12 MB / 0.9298 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/3.024, allocations: 4.736 MB / 0.9344 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01257/3.036, allocations: 2.641 MB / 0.937 GB, free: 54.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007306/3.044, allocations: 2.959 MB / 0.9399 GB, free: 51.87 MB / 0.5261 GB Notification: Performance of SimCode: time 2.344e-06/3.044, allocations: 0 / 0.9399 GB, free: 51.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6935/3.737, allocations: 121.6 MB / 1.059 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/3.738, allocations: 187.6 kB / 1.059 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/12.2, allocations: 3.938 kB / 1.059 GB, free: 103.5 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat