Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.645/2.645, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.216e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4078, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2201/0.628, allocations: 109 MB / 491.3 MB, free: 15.4 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/0.6284, allocations: 79.95 kB / 491.3 MB, free: 15.32 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8859/1.514, allocations: 119.1 MB / 0.5961 GB, free: 79.69 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.486e-06/1.514, allocations: 0 / 0.5961 GB, free: 79.69 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004264/1.515, allocations: 119.9 kB / 0.5962 GB, free: 79.57 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.02492/1.54, allocations: 5.953 MB / 0.602 GB, free: 73.55 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.54, allocations: 8.031 kB / 0.602 GB, free: 73.54 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004824/1.545, allocations: 1.022 MB / 0.603 GB, free: 72.51 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05069/1.595, allocations: 7.004 MB / 0.6099 GB, free: 65.48 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02889/1.624, allocations: 7.814 MB / 0.6175 GB, free: 57.59 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008227/1.625, allocations: 435.5 kB / 0.6179 GB, free: 57.16 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00415/1.629, allocations: 0.5817 MB / 0.6185 GB, free: 56.58 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05683/1.686, allocations: 13.78 MB / 0.6319 GB, free: 41.61 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005097/1.687, allocations: 87.16 kB / 0.632 GB, free: 41.53 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00343/1.69, allocations: 279.9 kB / 0.6323 GB, free: 41.25 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003758/1.694, allocations: 1.318 MB / 0.6336 GB, free: 39.94 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0483/1.743, allocations: 11.3 MB / 0.6446 GB, free: 28.62 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1355/1.878, allocations: 62.18 MB / 0.7053 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0253/1.903, allocations: 5.694 MB / 0.7109 GB, free: 6.629 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007482/1.911, allocations: 3.278 MB / 0.7141 GB, free: 3.34 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/1.912, allocations: 0.6877 MB / 0.7148 GB, free: 2.543 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.426e-05/1.912, allocations: 60.52 kB / 0.7148 GB, free: 2.473 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=254): time 7.033e-06/1.912, allocations: 4 kB / 0.7148 GB, free: 2.469 MB / 0.4949 GB Notification: Performance of matching and sorting (n=320): time 0.4999/2.412, allocations: 29.16 MB / 0.7433 GB, free: 121.7 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/2.412, allocations: 263.6 kB / 0.7436 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/2.424, allocations: 4.642 MB / 0.7481 GB, free: 121 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009445/2.425, allocations: 73.61 kB / 0.7482 GB, free: 121 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004153/2.429, allocations: 4.073 MB / 0.7522 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/2.431, allocations: 1.19 MB / 0.7533 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/2.432, allocations: 155.9 kB / 0.7535 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005023/2.433, allocations: 0.6301 MB / 0.7541 GB, free: 117.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008112/2.441, allocations: 3.262 MB / 0.7573 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/2.452, allocations: 7.458 MB / 0.7645 GB, free: 110.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/2.463, allocations: 4.914 MB / 0.7693 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/2.463, allocations: 45.44 kB / 0.7694 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.03671/2.5, allocations: 12.07 MB / 0.7812 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/2.5, allocations: 69.38 kB / 0.7812 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/2.501, allocations: 147.1 kB / 0.7814 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/2.511, allocations: 2.143 MB / 0.7835 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/2.526, allocations: 1.765 MB / 0.7852 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03764/2.564, allocations: 14.32 MB / 0.7992 GB, free: 89.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/2.577, allocations: 450.9 kB / 0.7996 GB, free: 89.58 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002503/2.58, allocations: 460.6 kB / 0.8001 GB, free: 89.15 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (931): * Single equations (assignments): 926 * 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.00432/2.584, allocations: 0.6776 MB / 0.8007 GB, free: 88.47 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002594/2.587, allocations: 0.4898 MB / 0.8012 GB, free: 87.97 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03267/2.619, allocations: 7.019 MB / 0.808 GB, free: 82.22 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.063e-05/2.62, allocations: 39.95 kB / 0.8081 GB, free: 82.18 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-05/2.62, allocations: 14.56 kB / 0.8081 GB, free: 82.17 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/2.62, allocations: 17.5 kB / 0.8081 GB, free: 82.17 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06592/2.686, allocations: 16 MB / 0.8237 GB, free: 69.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.758e-05/2.686, allocations: 4 kB / 0.8237 GB, free: 69.09 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006938/2.693, allocations: 0.5056 MB / 0.8242 GB, free: 68.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0119/2.705, allocations: 1.876 MB / 0.8261 GB, free: 67.3 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001071/2.706, allocations: 59.47 kB / 0.8261 GB, free: 67.25 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03514/2.741, allocations: 12.83 MB / 0.8387 GB, free: 55.91 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/2.741, allocations: 15.94 kB / 0.8387 GB, free: 55.89 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02821/2.769, allocations: 12.08 MB / 0.8505 GB, free: 44.09 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00406/2.773, allocations: 1.053 MB / 0.8515 GB, free: 43.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001872/2.775, allocations: 59.98 kB / 0.8516 GB, free: 42.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005612/2.781, allocations: 215.7 kB / 0.8518 GB, free: 42.75 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/2.782, allocations: 201.6 kB / 0.8519 GB, free: 42.55 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004702/2.783, allocations: 91.98 kB / 0.852 GB, free: 42.46 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008558/2.791, allocations: 3.281 MB / 0.8552 GB, free: 39.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.062e-06/2.791, allocations: 0 / 0.8552 GB, free: 39.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01151/2.803, allocations: 1.498 MB / 0.8567 GB, free: 37.71 MB / 0.4949 GB 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.02956/2.833, allocations: 14.08 MB / 0.8705 GB, free: 23.33 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0184/2.851, allocations: 7.925 MB / 0.8782 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.851, allocations: 4 kB / 0.8782 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01242/2.863, allocations: 3.83 MB / 0.8819 GB, free: 11.56 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005675/2.869, allocations: 0.6263 MB / 0.8825 GB, free: 10.96 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04465/2.914, allocations: 14.18 MB / 0.8964 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/2.925, allocations: 4.538 MB / 0.9008 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01246/2.938, allocations: 2.492 MB / 0.9033 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007828/2.946, allocations: 2.811 MB / 0.906 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of SimCode: time 1.382e-06/2.946, allocations: 3.469 kB / 0.906 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.631/3.577, allocations: 118.8 MB / 1.022 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/3.577, allocations: 168.8 kB / 1.022 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/10.52, allocations: 0 / 1.022 GB, free: 57.93 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat