Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.493e-05/4.504e-05, allocations: 7.984 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.5766, allocations: 95.96 MB / 417.8 MB, free: 9.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.5769, allocations: 75.95 kB / 417.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8597/1.437, allocations: 118.2 MB / 0.5235 GB, free: 90.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.437, allocations: 0 / 0.5235 GB, free: 90.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000439/1.437, allocations: 119.6 kB / 0.5236 GB, free: 90.5 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: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.0261/1.463, allocations: 5.941 MB / 0.5294 GB, free: 88.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.463, allocations: 10.28 kB / 0.5294 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005039/1.468, allocations: 1.019 MB / 0.5304 GB, free: 88.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05102/1.519, allocations: 6.997 MB / 0.5373 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02798/1.548, allocations: 7.783 MB / 0.5449 GB, free: 86.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005913/1.548, allocations: 442.6 kB / 0.5453 GB, free: 86.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003378/1.552, allocations: 0.5775 MB / 0.5459 GB, free: 86.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04347/1.595, allocations: 13.81 MB / 0.5593 GB, free: 80.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005641/1.596, allocations: 88.94 kB / 0.5594 GB, free: 80.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003172/1.599, allocations: 278.1 kB / 0.5597 GB, free: 80.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002871/1.602, allocations: 1.323 MB / 0.561 GB, free: 80.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04044/1.642, allocations: 11.51 MB / 0.5722 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0947/1.737, allocations: 62.03 MB / 0.6328 GB, free: 17.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02332/1.76, allocations: 5.713 MB / 0.6384 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006168/1.767, allocations: 3.28 MB / 0.6416 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/1.768, allocations: 0.6996 MB / 0.6423 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/1.768, allocations: 56.56 kB / 0.6423 GB, free: 7.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=254): time 6.913e-06/1.768, allocations: 0 / 0.6423 GB, free: 7.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.4547/2.223, allocations: 29.16 MB / 0.6708 GB, free: 95.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/2.223, allocations: 267.2 kB / 0.6711 GB, free: 94.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01442/2.237, allocations: 4.62 MB / 0.6756 GB, free: 94.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009159/2.238, allocations: 74.09 kB / 0.6756 GB, free: 94.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004707/2.243, allocations: 4.042 MB / 0.6796 GB, free: 92.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002391/2.245, allocations: 1.188 MB / 0.6807 GB, free: 92.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/2.247, allocations: 154.1 kB / 0.6809 GB, free: 92.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007589/2.247, allocations: 0.6266 MB / 0.6815 GB, free: 91.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009268/2.257, allocations: 3.26 MB / 0.6847 GB, free: 91.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/2.27, allocations: 7.485 MB / 0.692 GB, free: 86.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2.281, allocations: 4.911 MB / 0.6968 GB, free: 86.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002107/2.281, allocations: 41.28 kB / 0.6968 GB, free: 86.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03691/2.318, allocations: 12.47 MB / 0.709 GB, free: 82.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/2.318, allocations: 71.23 kB / 0.7091 GB, free: 82.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002817/2.319, allocations: 147.2 kB / 0.7092 GB, free: 82.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00929/2.328, allocations: 2.138 MB / 0.7113 GB, free: 82.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/2.34, allocations: 1.754 MB / 0.713 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02775/2.367, allocations: 14.31 MB / 0.727 GB, free: 74.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00993/2.377, allocations: 452.3 kB / 0.7274 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/2.379, allocations: 455.9 kB / 0.7279 GB, free: 74.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (928): * Single equations (assignments): 923 * 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 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00234/2.382, allocations: 0.6719 MB / 0.7285 GB, free: 73.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/2.383, allocations: 0.4893 MB / 0.729 GB, free: 73.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/2.404, allocations: 7.03 MB / 0.7359 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.499e-05/2.404, allocations: 35.77 kB / 0.7359 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-05/2.404, allocations: 10.41 kB / 0.7359 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-05/2.404, allocations: 13.55 kB / 0.7359 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04917/2.454, allocations: 15.99 MB / 0.7515 GB, free: 64.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.555e-05/2.454, allocations: 6.594 kB / 0.7515 GB, free: 64.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005088/2.459, allocations: 0.5152 MB / 0.752 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008525/2.467, allocations: 1.869 MB / 0.7539 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008569/2.468, allocations: 63.67 kB / 0.7539 GB, free: 64.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03108/2.499, allocations: 12.82 MB / 0.7664 GB, free: 54.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.435e-05/2.499, allocations: 11.94 kB / 0.7665 GB, free: 54.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03731/2.537, allocations: 12.06 MB / 0.7782 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005199/2.542, allocations: 1.06 MB / 0.7793 GB, free: 42.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001798/2.544, allocations: 63.5 kB / 0.7793 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006955/2.551, allocations: 212.9 kB / 0.7795 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001589/2.553, allocations: 210.7 kB / 0.7797 GB, free: 42.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005922/2.553, allocations: 89 kB / 0.7798 GB, free: 42.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01003/2.563, allocations: 3.267 MB / 0.783 GB, free: 39.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.253e-06/2.563, allocations: 0 / 0.783 GB, free: 39.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01238/2.576, allocations: 1.501 MB / 0.7845 GB, free: 38.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02934/2.605, allocations: 14.06 MB / 0.7982 GB, free: 25.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01895/2.624, allocations: 8.169 MB / 0.8062 GB, free: 17.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/2.624, allocations: 0 / 0.8062 GB, free: 17.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01259/2.637, allocations: 3.892 MB / 0.81 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005802/2.643, allocations: 0.6185 MB / 0.8106 GB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04451/2.687, allocations: 14.15 MB / 0.8244 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3392/3.026, allocations: 4.516 MB / 0.8288 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01455/3.041, allocations: 2.495 MB / 0.8312 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007982/3.049, allocations: 2.79 MB / 0.834 GB, free: 102.4 MB / 458.7 MB Notification: Performance of SimCode: time 3.857e-06/3.049, allocations: 0 / 0.834 GB, free: 102.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2647/3.314, allocations: 119.3 MB / 0.9504 GB, free: 38.57 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/3.314, allocations: 162.1 kB / 0.9506 GB, free: 38.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/10.47, allocations: 3.938 kB / 0.9506 GB, free: 38.34 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat