Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.737/2.737, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.888e-05/3.889e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.445, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.6367, allocations: 102.3 MB / 484.6 MB, free: 6.086 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.637, allocations: 79.95 kB / 484.7 MB, free: 6.008 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7178/1.355, allocations: 87.54 MB / 0.5588 GB, free: 111.2 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.374e-06/1.355, allocations: 0 / 0.5588 GB, free: 111.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001792/1.355, allocations: 77.56 kB / 0.5589 GB, free: 111.2 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01521/1.37, allocations: 3.703 MB / 0.5625 GB, free: 109.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.37, allocations: 10.88 kB / 0.5625 GB, free: 109.2 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00415/1.375, allocations: 0.7847 MB / 0.5633 GB, free: 108.9 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02847/1.403, allocations: 3.651 MB / 0.5668 GB, free: 108.2 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/1.421, allocations: 4.948 MB / 0.5717 GB, free: 103.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/1.422, allocations: 292.7 kB / 0.572 GB, free: 103.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002882/1.425, allocations: 397.3 kB / 0.5723 GB, free: 103.2 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03147/1.456, allocations: 10.23 MB / 0.5823 GB, free: 92.53 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/1.457, allocations: 39.59 kB / 0.5824 GB, free: 92.49 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00251/1.459, allocations: 174.5 kB / 0.5825 GB, free: 92.36 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002539/1.462, allocations: 1.202 MB / 0.5837 GB, free: 91.16 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02871/1.49, allocations: 9.888 MB / 0.5934 GB, free: 81.26 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08003/1.57, allocations: 36.58 MB / 0.6291 GB, free: 44.02 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/1.588, allocations: 4.344 MB / 0.6333 GB, free: 39.44 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006615/1.595, allocations: 2.167 MB / 0.6354 GB, free: 37.27 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002102/1.597, allocations: 1.325 MB / 0.6367 GB, free: 35.73 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.597, allocations: 60.56 kB / 0.6368 GB, free: 35.66 MB / 458.8 MB Notification: Performance of pre-optimization done (n=245): time 1.051e-05/1.597, allocations: 4 kB / 0.6368 GB, free: 35.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=261): time 0.06936/1.667, allocations: 14.29 MB / 0.6507 GB, free: 21.28 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001383/1.668, allocations: 1.519 MB / 0.6522 GB, free: 19.6 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005628/1.674, allocations: 2.469 MB / 0.6546 GB, free: 17.11 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006303/1.674, allocations: 53.7 kB / 0.6547 GB, free: 17.05 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/1.677, allocations: 2.741 MB / 0.6574 GB, free: 14.31 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00159/1.679, allocations: 0.9588 MB / 0.6583 GB, free: 13.36 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008034/1.679, allocations: 112 kB / 0.6584 GB, free: 13.25 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005032/1.68, allocations: 0.5459 MB / 0.6589 GB, free: 12.7 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00618/1.686, allocations: 2.389 MB / 0.6613 GB, free: 10.3 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008616/1.695, allocations: 5.37 MB / 0.6665 GB, free: 3.449 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008588/1.703, allocations: 3.636 MB / 0.6701 GB, free: 15.81 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/1.704, allocations: 36 kB / 0.6701 GB, free: 15.78 MB / 474.8 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.04009/1.744, allocations: 9.098 MB / 0.679 GB, free: 6.66 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.744, allocations: 49 kB / 0.679 GB, free: 6.613 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02451/1.768, allocations: 4.546 MB / 0.6835 GB, free: 2.055 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02027/1.789, allocations: 2.055 MB / 0.6855 GB, free: 15.98 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008973/1.798, allocations: 1.298 MB / 0.6867 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.81, allocations: 4.963 MB / 0.6916 GB, free: 9.449 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006936/1.817, allocations: 395.7 kB / 0.692 GB, free: 9.062 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/1.819, allocations: 327.1 kB / 0.6923 GB, free: 8.746 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 679 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001831/1.821, allocations: 0.5037 MB / 0.6928 GB, free: 8.234 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008084/1.821, allocations: 280.3 kB / 0.693 GB, free: 7.957 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/1.841, allocations: 5.347 MB / 0.6983 GB, free: 2.539 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01835/1.86, allocations: 4.598 MB / 0.7028 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/1.86, allocations: 4 kB / 0.7028 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.827e-05/1.86, allocations: 11.95 kB / 0.7028 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4073/2.267, allocations: 14.57 MB / 0.717 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.914e-05/2.267, allocations: 9.375 kB / 0.717 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004132/2.272, allocations: 422 kB / 0.7174 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008347/2.28, allocations: 1.193 MB / 0.7186 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007423/2.281, allocations: 60.56 kB / 0.7186 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007724/2.288, allocations: 4.45 MB / 0.723 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001265/2.29, allocations: 1.467 MB / 0.7244 GB, free: 135.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/2.312, allocations: 8.775 MB / 0.733 GB, free: 134.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000956/2.313, allocations: 339.3 kB / 0.7333 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008346/2.314, allocations: 58.27 kB / 0.7334 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/2.317, allocations: 194.6 kB / 0.7335 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005591/2.318, allocations: 171.6 kB / 0.7337 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/2.318, allocations: 80.09 kB / 0.7338 GB, free: 134 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004967/2.323, allocations: 1.678 MB / 0.7354 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.393e-06/2.323, allocations: 0 / 0.7354 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009745/2.333, allocations: 1.071 MB / 0.7365 GB, free: 133.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02383/2.357, allocations: 11.93 MB / 0.7481 GB, free: 128.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01751/2.374, allocations: 6.224 MB / 0.7542 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/2.374, allocations: 3.938 kB / 0.7542 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.008584/2.383, allocations: 2.828 MB / 0.757 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/2.386, allocations: 353.5 kB / 0.7573 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/2.42, allocations: 10.56 MB / 0.7676 GB, free: 121.9 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008131/2.429, allocations: 3.401 MB / 0.7709 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009519/2.438, allocations: 2.117 MB / 0.773 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004804/2.443, allocations: 1.811 MB / 0.7748 GB, free: 117.5 MB / 0.4949 GB Notification: Performance of SimCode: time 2.274e-06/2.443, allocations: 4 kB / 0.7748 GB, free: 117.5 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1594/2.603, allocations: 72.2 MB / 0.8453 GB, free: 51.32 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/2.603, allocations: 186.7 kB / 0.8455 GB, free: 51.09 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.894/7.496, allocations: 0 / 0.8455 GB, free: 51.09 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat