Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.663/2.663, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.325e-05/4.334e-05, allocations: 8 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5694/0.7629, allocations: 105.3 MB / 0.5036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.7633, allocations: 79.95 kB / 0.5036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3845/1.148, allocations: 90.34 MB / 0.5919 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.264e-06/1.148, allocations: 0 / 0.5919 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002388/1.148, allocations: 80 kB / 0.5919 GB, free: 3.57 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.02396/1.172, allocations: 4.179 MB / 0.596 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/1.172, allocations: 8.031 kB / 0.596 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004595/1.177, allocations: 0.8362 MB / 0.5969 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0279/1.205, allocations: 3.539 MB / 0.6003 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/1.225, allocations: 4.495 MB / 0.6047 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004899/1.225, allocations: 324.4 kB / 0.605 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00289/1.228, allocations: 427.8 kB / 0.6054 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4057/1.634, allocations: 10.62 MB / 0.6158 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003251/1.634, allocations: 27.27 kB / 0.6158 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002624/1.637, allocations: 193.5 kB / 0.616 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003084/1.64, allocations: 1.19 MB / 0.6172 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03386/1.674, allocations: 10.13 MB / 0.627 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0785/1.752, allocations: 36.46 MB / 0.6627 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/1.764, allocations: 4.227 MB / 0.6668 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00449/1.769, allocations: 2.095 MB / 0.6688 GB, free: 100 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.771, allocations: 1.316 MB / 0.6701 GB, free: 98.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.771, allocations: 51.38 kB / 0.6702 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 7.173e-06/1.771, allocations: 3.469 kB / 0.6702 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.05701/1.828, allocations: 10.95 MB / 0.6809 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.828, allocations: 78.47 kB / 0.6809 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/1.833, allocations: 2.437 MB / 0.6833 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005839/1.833, allocations: 65.27 kB / 0.6834 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002228/1.836, allocations: 2.863 MB / 0.6862 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.837, allocations: 0.94 MB / 0.6871 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006673/1.838, allocations: 112.2 kB / 0.6872 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004642/1.838, allocations: 0.5493 MB / 0.6877 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00562/1.844, allocations: 2.233 MB / 0.6899 GB, free: 91.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007584/1.852, allocations: 5.272 MB / 0.6951 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007721/1.859, allocations: 3.495 MB / 0.6985 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/1.86, allocations: 36.34 kB / 0.6985 GB, free: 85.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02431/1.884, allocations: 7.971 MB / 0.7063 GB, free: 82.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/1.884, allocations: 58.61 kB / 0.7064 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/1.884, allocations: 108 kB / 0.7065 GB, free: 82.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006487/1.891, allocations: 1.049 MB / 0.7075 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008223/1.899, allocations: 1.289 MB / 0.7087 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/1.903, allocations: 2.466 MB / 0.7111 GB, free: 78.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006056/1.909, allocations: 302.6 kB / 0.7114 GB, free: 77.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.91, allocations: 327.8 kB / 0.7118 GB, free: 77.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (700): * Single equations (assignments): 691 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.001825/1.912, allocations: 0.5126 MB / 0.7123 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/1.913, allocations: 276.4 kB / 0.7125 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/1.929, allocations: 4.919 MB / 0.7173 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/1.929, allocations: 43.8 kB / 0.7174 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.929, allocations: 0 / 0.7174 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.744e-05/1.929, allocations: 10.08 kB / 0.7174 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03262/1.962, allocations: 11.31 MB / 0.7284 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/1.962, allocations: 11.09 kB / 0.7284 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/1.966, allocations: 409.9 kB / 0.7288 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006082/1.972, allocations: 0.9086 MB / 0.7297 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006199/1.973, allocations: 58.66 kB / 0.7298 GB, free: 62.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/1.976, allocations: 2.27 MB / 0.732 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/1.976, allocations: 11.94 kB / 0.732 GB, free: 60.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01917/1.995, allocations: 7.933 MB / 0.7397 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008844/1.996, allocations: 321.3 kB / 0.74 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.997, allocations: 55.69 kB / 0.7401 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/2, allocations: 133.5 kB / 0.7402 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006883/2.001, allocations: 156.2 kB / 0.7404 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/2.001, allocations: 72.25 kB / 0.7404 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00384/2.005, allocations: 1.651 MB / 0.7421 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.005, allocations: 0 / 0.7421 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006817/2.012, allocations: 0.9827 MB / 0.743 GB, free: 49.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.02022/2.032, allocations: 10.56 MB / 0.7533 GB, free: 40 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01456/2.047, allocations: 5.776 MB / 0.759 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/2.047, allocations: 0 / 0.759 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007272/2.054, allocations: 2.498 MB / 0.7614 GB, free: 32.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/2.058, allocations: 400.4 kB / 0.7618 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/2.088, allocations: 10.52 MB / 0.7721 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007306/2.095, allocations: 3.522 MB / 0.7755 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008486/2.104, allocations: 2.045 MB / 0.7775 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004847/2.109, allocations: 1.886 MB / 0.7793 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of SimCode: time 1.934e-06/2.109, allocations: 0 / 0.7793 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5976/2.706, allocations: 69.59 MB / 0.8473 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/2.707, allocations: 174.8 kB / 0.8475 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.957/7.664, allocations: 0 / 0.8475 GB, free: 124.1 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat