Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.665/2.665, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.407e-05, allocations: 7.984 kB / 348.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3981, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.6444, allocations: 107.4 MB / 0.5056 GB, free: 15.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.6447, allocations: 75.95 kB / 0.5057 GB, free: 15.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8565/1.501, allocations: 120.1 MB / 0.6229 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.501, allocations: 0 / 0.6229 GB, free: 18.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003726/1.502, allocations: 120 kB / 0.623 GB, free: 18.08 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02428/1.526, allocations: 5.871 MB / 0.6288 GB, free: 12.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.526, allocations: 8.031 kB / 0.6288 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005123/1.531, allocations: 1.051 MB / 0.6298 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05072/1.582, allocations: 6.974 MB / 0.6366 GB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02486/1.607, allocations: 6.659 MB / 0.6431 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006574/1.608, allocations: 455.8 kB / 0.6436 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003577/1.611, allocations: 0.5895 MB / 0.6441 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0527/1.664, allocations: 14.85 MB / 0.6586 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004195/1.664, allocations: 71.31 kB / 0.6587 GB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002939/1.667, allocations: 283.9 kB / 0.659 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003535/1.671, allocations: 1.381 MB / 0.6603 GB, free: 10.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04586/1.717, allocations: 12.29 MB / 0.6723 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5283/2.245, allocations: 60.82 MB / 0.7317 GB, free: 74.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03203/2.277, allocations: 6.076 MB / 0.7377 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006742/2.284, allocations: 3.572 MB / 0.7411 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02976/2.314, allocations: 12.84 MB / 0.7537 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/2.314, allocations: 66.84 kB / 0.7537 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 6.833e-06/2.314, allocations: 0 / 0.7537 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.1086/2.423, allocations: 23.11 MB / 0.7763 GB, free: 68.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/2.423, allocations: 210.6 kB / 0.7765 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/2.434, allocations: 4.4 MB / 0.7808 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008347/2.435, allocations: 64.64 kB / 0.7809 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004115/2.439, allocations: 4.042 MB / 0.7848 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/2.441, allocations: 1.013 MB / 0.7858 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/2.442, allocations: 147 kB / 0.7859 GB, free: 64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005751/2.443, allocations: 0.6021 MB / 0.7865 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007864/2.451, allocations: 2.955 MB / 0.7894 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/2.461, allocations: 7.023 MB / 0.7963 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/2.472, allocations: 4.514 MB / 0.8007 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/2.472, allocations: 48 kB / 0.8007 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.0325/2.505, allocations: 10.91 MB / 0.8114 GB, free: 50.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/2.505, allocations: 68 kB / 0.8115 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/2.505, allocations: 144.7 kB / 0.8116 GB, free: 50.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007077/2.512, allocations: 1.657 MB / 0.8132 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01122/2.523, allocations: 1.661 MB / 0.8148 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/2.545, allocations: 11.34 MB / 0.8259 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009435/2.554, allocations: 431.7 kB / 0.8263 GB, free: 37.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002147/2.557, allocations: 432.9 kB / 0.8267 GB, free: 36.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (867): * Single equations (assignments): 862 * 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.002553/2.559, allocations: 0.6557 MB / 0.8274 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/2.561, allocations: 473.5 kB / 0.8278 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0184/2.579, allocations: 6.023 MB / 0.8337 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-05/2.579, allocations: 28 kB / 0.8337 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/2.579, allocations: 8 kB / 0.8337 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.045e-05/2.579, allocations: 13.55 kB / 0.8337 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04166/2.621, allocations: 13.45 MB / 0.8469 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-05/2.621, allocations: 0 / 0.8469 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004654/2.626, allocations: 456.1 kB / 0.8473 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006525/2.632, allocations: 1.409 MB / 0.8487 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007648/2.633, allocations: 50.72 kB / 0.8487 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/2.655, allocations: 10.58 MB / 0.8591 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/2.655, allocations: 7.969 kB / 0.8591 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/2.68, allocations: 9.795 MB / 0.8686 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/2.681, allocations: 0.4942 MB / 0.8691 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/2.683, allocations: 51.81 kB / 0.8692 GB, free: 40 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005466/2.689, allocations: 239.6 kB / 0.8694 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001686/2.69, allocations: 196.4 kB / 0.8696 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009499/2.691, allocations: 101.6 kB / 0.8697 GB, free: 0 / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00922/2.701, allocations: 3.082 MB / 0.8727 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.062e-06/2.701, allocations: 0 / 0.8727 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01033/2.711, allocations: 1.414 MB / 0.8741 GB, free: 11.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (212): * Single equations (assignments): 207 * 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.03003/2.741, allocations: 10.63 MB / 0.8845 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01994/2.761, allocations: 7.202 MB / 0.8915 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/2.761, allocations: 0 / 0.8915 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/2.771, allocations: 3.078 MB / 0.8945 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005669/2.777, allocations: 0.606 MB / 0.8951 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04723/2.824, allocations: 13.28 MB / 0.9081 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/2.836, allocations: 4.494 MB / 0.9124 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0122/2.848, allocations: 2.334 MB / 0.9147 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008115/2.856, allocations: 2.742 MB / 0.9174 GB, free: 15.37 MB / 0.573 GB Notification: Performance of SimCode: time 1.623e-06/2.857, allocations: 0 / 0.9174 GB, free: 15.37 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7215/3.578, allocations: 109.1 MB / 1.024 GB, free: 127.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/3.578, allocations: 188.9 kB / 1.024 GB, free: 127.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/11.05, allocations: 2.625 kB / 1.024 GB, free: 127.6 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat