Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.265/2.265, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.042e-05, allocations: 8.938 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3918, allocations: 54.85 MB / 359.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.5764, allocations: 100.8 MB / 460.7 MB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5767, allocations: 75.95 kB / 460.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7982/1.375, allocations: 114.5 MB / 0.5617 GB, free: 101.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.375, allocations: 0 / 0.5617 GB, free: 101.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004588/1.375, allocations: 110.6 kB / 0.5618 GB, free: 101.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.0274/1.403, allocations: 5.456 MB / 0.5672 GB, free: 99.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.403, allocations: 18.06 kB / 0.5672 GB, free: 99.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004405/1.407, allocations: 0.9772 MB / 0.5681 GB, free: 99.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0572/1.465, allocations: 6.959 MB / 0.5749 GB, free: 99.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02439/1.489, allocations: 6.866 MB / 0.5816 GB, free: 96.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005613/1.49, allocations: 416 kB / 0.582 GB, free: 96.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003068/1.493, allocations: 0.5409 MB / 0.5826 GB, free: 96.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03889/1.532, allocations: 13.2 MB / 0.5955 GB, free: 89.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003547/1.532, allocations: 77.09 kB / 0.5955 GB, free: 89.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002256/1.534, allocations: 266.8 kB / 0.5958 GB, free: 89.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002604/1.537, allocations: 1.246 MB / 0.597 GB, free: 88.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03132/1.568, allocations: 10.28 MB / 0.607 GB, free: 79.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08442/1.653, allocations: 59.65 MB / 0.6653 GB, free: 18.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/1.671, allocations: 4.594 MB / 0.6698 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004323/1.675, allocations: 2.214 MB / 0.6719 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01647/1.692, allocations: 6.496 MB / 0.6783 GB, free: 5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/1.692, allocations: 55.78 kB / 0.6783 GB, free: 4.938 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 6.803e-06/1.692, allocations: 3.938 kB / 0.6783 GB, free: 4.934 MB / 458.7 MB Notification: Performance of matching and sorting (n=195): time 0.06543/1.758, allocations: 14.53 MB / 0.6925 GB, free: 6.223 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/1.758, allocations: 226.9 kB / 0.6928 GB, free: 5.953 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0144/1.772, allocations: 5.159 MB / 0.6978 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005191/1.773, allocations: 49.7 kB / 0.6978 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3455/2.118, allocations: 4.125 MB / 0.7019 GB, free: 107.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00149/2.12, allocations: 0.7719 MB / 0.7026 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/2.121, allocations: 140.2 kB / 0.7028 GB, free: 107.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001002/2.122, allocations: 0.6044 MB / 0.7033 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007433/2.13, allocations: 2.249 MB / 0.7055 GB, free: 107 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/2.14, allocations: 6.689 MB / 0.7121 GB, free: 101.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/2.151, allocations: 3.868 MB / 0.7159 GB, free: 101.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002807/2.151, allocations: 45.5 kB / 0.7159 GB, free: 101.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02767/2.179, allocations: 8.695 MB / 0.7244 GB, free: 100.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000182/2.179, allocations: 73.38 kB / 0.7245 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/2.179, allocations: 159.5 kB / 0.7246 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/2.181, allocations: 0.6094 MB / 0.7252 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/2.192, allocations: 1.645 MB / 0.7268 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009076/2.201, allocations: 5.719 MB / 0.7324 GB, free: 97.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009397/2.21, allocations: 381 kB / 0.7328 GB, free: 96.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/2.212, allocations: 445.3 kB / 0.7332 GB, free: 96.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 877 * 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.003158/2.216, allocations: 0.6651 MB / 0.7338 GB, free: 96.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/2.217, allocations: 493.3 kB / 0.7343 GB, free: 96.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009271/2.226, allocations: 3.017 MB / 0.7372 GB, free: 94.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.813e-05/2.226, allocations: 21.11 kB / 0.7373 GB, free: 94.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/2.226, allocations: 6.938 kB / 0.7373 GB, free: 94.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-05/2.226, allocations: 12.39 kB / 0.7373 GB, free: 94.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/2.254, allocations: 8.438 MB / 0.7455 GB, free: 91.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/2.254, allocations: 3.688 kB / 0.7455 GB, free: 91.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003266/2.257, allocations: 326.7 kB / 0.7458 GB, free: 91.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/2.259, allocations: 360.7 kB / 0.7462 GB, free: 91.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000386/2.259, allocations: 34.8 kB / 0.7462 GB, free: 91.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007883/2.267, allocations: 5.076 MB / 0.7512 GB, free: 87.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/2.267, allocations: 7.5 kB / 0.7512 GB, free: 87.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/2.28, allocations: 6.082 MB / 0.7571 GB, free: 84.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/2.284, allocations: 0.7998 MB / 0.7579 GB, free: 84.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/2.285, allocations: 45.31 kB / 0.7579 GB, free: 84.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004152/2.29, allocations: 94.25 kB / 0.758 GB, free: 84.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006368/2.29, allocations: 116.7 kB / 0.7582 GB, free: 84.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/2.291, allocations: 52.38 kB / 0.7582 GB, free: 84.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009615/2.3, allocations: 3.673 MB / 0.7618 GB, free: 82.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.283e-06/2.3, allocations: 0 / 0.7618 GB, free: 82.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009288/2.31, allocations: 1.22 MB / 0.763 GB, free: 82.77 MB / 474.7 MB 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.01316/2.323, allocations: 7.287 MB / 0.7701 GB, free: 78.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0124/2.335, allocations: 5.388 MB / 0.7754 GB, free: 76.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.335, allocations: 4.062 kB / 0.7754 GB, free: 76.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003382/2.339, allocations: 1.654 MB / 0.777 GB, free: 75.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004959/2.344, allocations: 0.601 MB / 0.7776 GB, free: 75.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/2.38, allocations: 11.4 MB / 0.7887 GB, free: 66.36 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009419/2.389, allocations: 4.239 MB / 0.7928 GB, free: 63.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01146/2.401, allocations: 2.322 MB / 0.7951 GB, free: 61.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006721/2.408, allocations: 2.572 MB / 0.7976 GB, free: 59.35 MB / 474.7 MB Notification: Performance of SimCode: time 2.254e-06/2.408, allocations: 2.844 kB / 0.7976 GB, free: 59.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5733/2.981, allocations: 98.8 MB / 0.8941 GB, free: 96.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/2.981, allocations: 165 kB / 0.8943 GB, free: 96.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/9.923, allocations: 3.594 kB / 0.8943 GB, free: 96.33 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat