Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.834/2.834, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.767e-05/4.773e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4113, allocations: 58.84 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.6454, allocations: 106.9 MB / 489.2 MB, free: 1.531 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.6458, allocations: 75.95 kB / 489.3 MB, free: 1.457 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8792/1.525, allocations: 115 MB / 0.5902 GB, free: 85.35 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.735e-06/1.525, allocations: 3.938 kB / 0.5902 GB, free: 85.35 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005212/1.526, allocations: 112 kB / 0.5903 GB, free: 85.24 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.03042/1.556, allocations: 5.468 MB / 0.5956 GB, free: 79.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/1.556, allocations: 8.031 kB / 0.5956 GB, free: 79.69 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00594/1.562, allocations: 0.9885 MB / 0.5966 GB, free: 78.69 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05813/1.62, allocations: 6.958 MB / 0.6034 GB, free: 71.71 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02405/1.644, allocations: 6.884 MB / 0.6101 GB, free: 64.75 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/1.645, allocations: 422.9 kB / 0.6105 GB, free: 64.33 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002816/1.648, allocations: 0.5388 MB / 0.611 GB, free: 63.79 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03825/1.686, allocations: 13.2 MB / 0.6239 GB, free: 49.33 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003647/1.686, allocations: 87.19 kB / 0.624 GB, free: 49.25 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00234/1.689, allocations: 267.9 kB / 0.6243 GB, free: 48.98 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/1.692, allocations: 1.251 MB / 0.6255 GB, free: 47.73 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03231/1.724, allocations: 10.3 MB / 0.6355 GB, free: 37.42 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09923/1.823, allocations: 59.75 MB / 0.6939 GB, free: 7.852 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02022/1.844, allocations: 4.59 MB / 0.6984 GB, free: 3.102 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006663/1.85, allocations: 2.211 MB / 0.7005 GB, free: 0.8789 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/1.869, allocations: 6.505 MB / 0.7069 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.976e-05/1.87, allocations: 55.72 kB / 0.7069 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=183): time 6.382e-06/1.87, allocations: 4 kB / 0.7069 GB, free: 10.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=195): time 0.4379/2.308, allocations: 14.56 MB / 0.7212 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/2.308, allocations: 224.9 kB / 0.7214 GB, free: 125.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/2.324, allocations: 5.18 MB / 0.7264 GB, free: 124.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004981/2.324, allocations: 56.86 kB / 0.7265 GB, free: 124.8 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004291/2.328, allocations: 4.137 MB / 0.7305 GB, free: 123 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/2.33, allocations: 0.7696 MB / 0.7313 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009712/2.331, allocations: 143.5 kB / 0.7314 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005513/2.331, allocations: 0.6089 MB / 0.732 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006027/2.337, allocations: 2.246 MB / 0.7342 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009143/2.347, allocations: 6.705 MB / 0.7407 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009014/2.356, allocations: 3.872 MB / 0.7445 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002224/2.356, allocations: 44.97 kB / 0.7446 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.02552/2.382, allocations: 8.724 MB / 0.7531 GB, free: 115.3 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/2.382, allocations: 75.06 kB / 0.7532 GB, free: 115.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002437/2.382, allocations: 158.9 kB / 0.7533 GB, free: 115.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/2.384, allocations: 0.609 MB / 0.7539 GB, free: 115.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/2.395, allocations: 1.648 MB / 0.7555 GB, free: 115 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009148/2.404, allocations: 5.725 MB / 0.7611 GB, free: 111 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009159/2.414, allocations: 388.9 kB / 0.7615 GB, free: 110.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/2.415, allocations: 445 kB / 0.7619 GB, free: 110.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (885): * Single equations (assignments): 880 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001951/2.417, allocations: 0.6707 MB / 0.7626 GB, free: 110.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/2.419, allocations: 0.4912 MB / 0.763 GB, free: 110 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008458/2.427, allocations: 3.023 MB / 0.766 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.94e-05/2.428, allocations: 21.16 kB / 0.766 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/2.428, allocations: 5.469 kB / 0.766 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.85e-05/2.428, allocations: 7.172 kB / 0.766 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0364/2.464, allocations: 8.452 MB / 0.7743 GB, free: 105.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/2.464, allocations: 11.31 kB / 0.7743 GB, free: 105.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005194/2.469, allocations: 320.3 kB / 0.7746 GB, free: 105.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/2.472, allocations: 358.6 kB / 0.7749 GB, free: 105.6 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005892/2.473, allocations: 39 kB / 0.775 GB, free: 105.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/2.485, allocations: 5.066 MB / 0.7799 GB, free: 101.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/2.485, allocations: 7.875 kB / 0.7799 GB, free: 101.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/2.505, allocations: 6.087 MB / 0.7859 GB, free: 98.73 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003231/2.508, allocations: 0.8053 MB / 0.7867 GB, free: 98.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/2.51, allocations: 31.62 kB / 0.7867 GB, free: 98.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004181/2.514, allocations: 92.39 kB / 0.7868 GB, free: 98.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006205/2.515, allocations: 120.5 kB / 0.7869 GB, free: 98.12 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/2.515, allocations: 56.69 kB / 0.7869 GB, free: 98.07 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009296/2.524, allocations: 3.686 MB / 0.7905 GB, free: 94.84 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.553e-06/2.524, allocations: 2.406 kB / 0.7905 GB, free: 94.84 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009883/2.534, allocations: 1.232 MB / 0.7918 GB, free: 93.62 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01328/2.548, allocations: 7.285 MB / 0.7989 GB, free: 86.84 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01199/2.56, allocations: 5.393 MB / 0.8041 GB, free: 81.92 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/2.56, allocations: 0 / 0.8041 GB, free: 81.92 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/2.563, allocations: 1.654 MB / 0.8057 GB, free: 80.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/2.568, allocations: 0.5986 MB / 0.8063 GB, free: 79.89 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/2.603, allocations: 11.43 MB / 0.8175 GB, free: 69.95 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008912/2.612, allocations: 4.25 MB / 0.8216 GB, free: 66.79 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0106/2.622, allocations: 2.325 MB / 0.8239 GB, free: 65.31 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005853/2.628, allocations: 2.588 MB / 0.8264 GB, free: 62.91 MB / 0.4949 GB Notification: Performance of SimCode: time 1.844e-06/2.628, allocations: 0 / 0.8264 GB, free: 62.91 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6335/3.262, allocations: 99.16 MB / 0.9233 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/3.262, allocations: 163.6 kB / 0.9234 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/10.33, allocations: 0 / 0.9234 GB, free: 117.4 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat