Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.68e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3974, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.6095, allocations: 102.8 MB / 462.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.6098, allocations: 75.95 kB / 462.8 MB, free: 9.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8199/1.43, allocations: 118.4 MB / 0.5676 GB, free: 102.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.43, allocations: 4 kB / 0.5676 GB, free: 102.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003949/1.43, allocations: 115.7 kB / 0.5677 GB, free: 102.6 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: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.02466/1.455, allocations: 5.945 MB / 0.5735 GB, free: 99.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.455, allocations: 7.406 kB / 0.5735 GB, free: 99.88 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004256/1.459, allocations: 1.014 MB / 0.5745 GB, free: 99.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05033/1.51, allocations: 7.006 MB / 0.5813 GB, free: 98.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02693/1.537, allocations: 7.79 MB / 0.5889 GB, free: 95.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005625/1.537, allocations: 443 kB / 0.5894 GB, free: 95.01 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003223/1.54, allocations: 0.5804 MB / 0.5899 GB, free: 94.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/1.582, allocations: 13.76 MB / 0.6034 GB, free: 83.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004854/1.582, allocations: 79.25 kB / 0.6035 GB, free: 83.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003203/1.585, allocations: 279.2 kB / 0.6037 GB, free: 83.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002973/1.588, allocations: 1.32 MB / 0.605 GB, free: 82.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03493/1.623, allocations: 11.3 MB / 0.616 GB, free: 70.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1161/1.74, allocations: 62.08 MB / 0.6767 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02433/1.764, allocations: 5.683 MB / 0.6822 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00697/1.771, allocations: 3.287 MB / 0.6854 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.772, allocations: 0.7024 MB / 0.6861 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.985e-05/1.772, allocations: 60.5 kB / 0.6862 GB, free: 13.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=254): time 8.335e-06/1.772, allocations: 8 kB / 0.6862 GB, free: 13.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.4869/2.259, allocations: 29.13 MB / 0.7146 GB, free: 105.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/2.259, allocations: 268 kB / 0.7149 GB, free: 105.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/2.275, allocations: 4.62 MB / 0.7194 GB, free: 105.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009977/2.276, allocations: 74.7 kB / 0.7195 GB, free: 105.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004506/2.28, allocations: 4.055 MB / 0.7234 GB, free: 103 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002146/2.283, allocations: 1.189 MB / 0.7246 GB, free: 102.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/2.284, allocations: 153.2 kB / 0.7247 GB, free: 102.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005803/2.284, allocations: 0.6317 MB / 0.7254 GB, free: 101.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008696/2.293, allocations: 3.254 MB / 0.7285 GB, free: 100.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01231/2.306, allocations: 7.439 MB / 0.7358 GB, free: 93.72 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/2.317, allocations: 4.908 MB / 0.7406 GB, free: 92.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/2.317, allocations: 41.12 kB / 0.7406 GB, free: 92.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03684/2.354, allocations: 12.06 MB / 0.7524 GB, free: 88.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/2.354, allocations: 68.31 kB / 0.7525 GB, free: 88.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002658/2.355, allocations: 145.9 kB / 0.7526 GB, free: 88.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009389/2.364, allocations: 2.136 MB / 0.7547 GB, free: 87.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/2.376, allocations: 1.756 MB / 0.7564 GB, free: 87.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02815/2.404, allocations: 14.32 MB / 0.7704 GB, free: 80.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/2.415, allocations: 451.5 kB / 0.7708 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/2.417, allocations: 459.3 kB / 0.7713 GB, free: 79.86 MB / 474.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.003195/2.42, allocations: 0.6719 MB / 0.7719 GB, free: 79.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/2.422, allocations: 0.4949 MB / 0.7724 GB, free: 79.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02274/2.445, allocations: 7.022 MB / 0.7793 GB, free: 76.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.351e-05/2.445, allocations: 38.81 kB / 0.7793 GB, free: 76.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.451e-05/2.445, allocations: 7.781 kB / 0.7793 GB, free: 76.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/2.445, allocations: 18.28 kB / 0.7793 GB, free: 76.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0625/2.508, allocations: 15.98 MB / 0.7949 GB, free: 64.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.896e-05/2.508, allocations: 8.75 kB / 0.7949 GB, free: 64.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006889/2.515, allocations: 0.5111 MB / 0.7954 GB, free: 64.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01187/2.527, allocations: 1.871 MB / 0.7973 GB, free: 62.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/2.528, allocations: 69.2 kB / 0.7973 GB, free: 62.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03032/2.558, allocations: 12.81 MB / 0.8098 GB, free: 51.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/2.558, allocations: 11.94 kB / 0.8099 GB, free: 51.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02851/2.587, allocations: 12.07 MB / 0.8216 GB, free: 40.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004552/2.591, allocations: 1.066 MB / 0.8227 GB, free: 39.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00238/2.594, allocations: 57.17 kB / 0.8227 GB, free: 39.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006179/2.6, allocations: 218.5 kB / 0.8229 GB, free: 39.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/2.601, allocations: 202.6 kB / 0.8231 GB, free: 39.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000918/2.602, allocations: 88.31 kB / 0.8232 GB, free: 39.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0106/2.613, allocations: 3.268 MB / 0.8264 GB, free: 36.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.143e-06/2.613, allocations: 0 / 0.8264 GB, free: 36.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01158/2.625, allocations: 1.485 MB / 0.8279 GB, free: 34.88 MB / 474.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.03169/2.656, allocations: 14.07 MB / 0.8416 GB, free: 21.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01926/2.676, allocations: 7.927 MB / 0.8493 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/2.676, allocations: 0 / 0.8493 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01272/2.688, allocations: 3.838 MB / 0.8531 GB, free: 9.574 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006258/2.695, allocations: 0.6217 MB / 0.8537 GB, free: 8.977 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0495/2.744, allocations: 14.15 MB / 0.8675 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/2.756, allocations: 4.53 MB / 0.8719 GB, free: 6.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01312/2.769, allocations: 2.488 MB / 0.8744 GB, free: 3.723 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008295/2.778, allocations: 2.796 MB / 0.8771 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of SimCode: time 2.435e-06/2.778, allocations: 0 / 0.8771 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6489/3.427, allocations: 118.4 MB / 0.9928 GB, free: 63.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/3.427, allocations: 172.7 kB / 0.9929 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/10.47, allocations: 4.75 kB / 0.9929 GB, free: 63.57 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat