Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.642e-05, allocations: 4 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4678, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.6456, allocations: 95.27 MB / 449.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.6459, allocations: 79.95 kB / 449.7 MB, free: 2.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7727/1.419, allocations: 85.09 MB / 0.5222 GB, free: 100.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.419, allocations: 0 / 0.5222 GB, free: 100.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001808/1.419, allocations: 75.39 kB / 0.5223 GB, free: 100.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01465/1.434, allocations: 3.687 MB / 0.5259 GB, free: 98.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.434, allocations: 14.41 kB / 0.5259 GB, free: 98.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02938/1.463, allocations: 3.65 MB / 0.5295 GB, free: 96.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.481, allocations: 4.929 MB / 0.5343 GB, free: 93.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/1.481, allocations: 124 kB / 0.5344 GB, free: 93.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002761/1.484, allocations: 224.5 kB / 0.5346 GB, free: 93.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01693/1.501, allocations: 7.271 MB / 0.5417 GB, free: 85.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02923/1.53, allocations: 9.586 MB / 0.5511 GB, free: 75.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002939/1.531, allocations: 31.72 kB / 0.5511 GB, free: 75.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002697/1.534, allocations: 16 kB / 0.5511 GB, free: 75.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003222/1.537, allocations: 1.193 MB / 0.5523 GB, free: 74.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07006/1.607, allocations: 33.99 MB / 0.5855 GB, free: 40.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006834/1.614, allocations: 4.049 MB / 0.5895 GB, free: 35.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/1.618, allocations: 2.123 MB / 0.5915 GB, free: 33.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/1.62, allocations: 1.319 MB / 0.5928 GB, free: 32.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/1.62, allocations: 52.56 kB / 0.5929 GB, free: 32.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 5.951e-06/1.62, allocations: 0 / 0.5929 GB, free: 32.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.04514/1.665, allocations: 14.84 MB / 0.6074 GB, free: 17.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/1.665, allocations: 73.41 kB / 0.6074 GB, free: 17.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/1.669, allocations: 2.367 MB / 0.6097 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005935/1.67, allocations: 25.7 kB / 0.6098 GB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/1.672, allocations: 2.817 MB / 0.6125 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.673, allocations: 0.944 MB / 0.6134 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/1.674, allocations: 0 / 0.6134 GB, free: 10.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003984/1.674, allocations: 0.5662 MB / 0.614 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005089/1.679, allocations: 2.358 MB / 0.6163 GB, free: 7.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007687/1.687, allocations: 5.605 MB / 0.6218 GB, free: 0.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.701, allocations: 3.682 MB / 0.6254 GB, free: 13.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000254/1.702, allocations: 32 kB / 0.6254 GB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.03986/1.741, allocations: 9.009 MB / 0.6342 GB, free: 4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.742, allocations: 59.95 kB / 0.6342 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02353/1.765, allocations: 4.485 MB / 0.6386 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01992/1.785, allocations: 2.059 MB / 0.6406 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009274/1.794, allocations: 1.372 MB / 0.642 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/1.806, allocations: 4.797 MB / 0.6467 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006882/1.813, allocations: 295.6 kB / 0.6469 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001679/1.815, allocations: 348 kB / 0.6473 GB, free: 6.336 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 21 (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.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 (736): * Single equations (assignments): 724 * 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.001924/1.817, allocations: 400.2 kB / 0.6477 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01771/1.835, allocations: 4.721 MB / 0.6523 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/1.836, allocations: 280.3 kB / 0.6525 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/1.855, allocations: 5.235 MB / 0.6576 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01672/1.872, allocations: 4.52 MB / 0.6621 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/1.872, allocations: 4 kB / 0.6621 GB, free: 7.004 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.989e-05/1.872, allocations: 15.95 kB / 0.6621 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3797/2.252, allocations: 13.56 MB / 0.6753 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.653e-05/2.252, allocations: 10.28 kB / 0.6753 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006051/2.258, allocations: 427.1 kB / 0.6757 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01246/2.27, allocations: 1.18 MB / 0.6769 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009523/2.271, allocations: 33.55 kB / 0.6769 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/2.282, allocations: 4.333 MB / 0.6812 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002073/2.284, allocations: 1.414 MB / 0.6825 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02815/2.313, allocations: 8.748 MB / 0.6911 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/2.314, allocations: 334.9 kB / 0.6914 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/2.315, allocations: 24.17 kB / 0.6914 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/2.318, allocations: 161.2 kB / 0.6916 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/2.318, allocations: 177.8 kB / 0.6918 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/2.319, allocations: 80.58 kB / 0.6918 GB, free: 125.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003359/2.322, allocations: 1.554 MB / 0.6933 GB, free: 125.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.433e-06/2.322, allocations: 0 / 0.6933 GB, free: 125.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007664/2.33, allocations: 0.9601 MB / 0.6943 GB, free: 125.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (205): * Single equations (assignments): 195 * 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.0225/2.352, allocations: 12 MB / 0.706 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01673/2.369, allocations: 6.262 MB / 0.7121 GB, free: 116.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/2.369, allocations: 0 / 0.7121 GB, free: 116.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008154/2.377, allocations: 2.822 MB / 0.7149 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/2.38, allocations: 249.8 kB / 0.7151 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/2.411, allocations: 10.37 MB / 0.7252 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005842/2.417, allocations: 3.386 MB / 0.7285 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009649/2.427, allocations: 2.22 MB / 0.7307 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004635/2.431, allocations: 1.815 MB / 0.7325 GB, free: 104 MB / 474.7 MB Notification: Performance of SimCode: time 2.073e-06/2.431, allocations: 2.297 kB / 0.7325 GB, free: 104 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1684/2.6, allocations: 69.45 MB / 0.8003 GB, free: 39.09 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/2.6, allocations: 134 kB / 0.8004 GB, free: 38.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.58/7.18, allocations: 0 / 0.8004 GB, free: 38.89 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat