Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.517/2.517, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.958e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.467, allocations: 54.86 MB / 359.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.6738, allocations: 97.89 MB / 457.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.6742, allocations: 75.97 kB / 457.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7552/1.429, allocations: 90.61 MB / 0.5356 GB, free: 105 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.429, allocations: 3.812 kB / 0.5356 GB, free: 105 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002315/1.43, allocations: 85.73 kB / 0.5357 GB, free: 105 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.0238/1.454, allocations: 4.26 MB / 0.5399 GB, free: 103.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/1.454, allocations: 9.031 kB / 0.5399 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004631/1.458, allocations: 0.86 MB / 0.5407 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02855/1.487, allocations: 3.558 MB / 0.5442 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/1.507, allocations: 4.666 MB / 0.5487 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005017/1.508, allocations: 334.3 kB / 0.5491 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003389/1.511, allocations: 445.7 kB / 0.5495 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03618/1.547, allocations: 10.9 MB / 0.5601 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/1.548, allocations: 32.59 kB / 0.5601 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002748/1.55, allocations: 196.8 kB / 0.5603 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002813/1.553, allocations: 1.226 MB / 0.5615 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02992/1.583, allocations: 10.39 MB / 0.5717 GB, free: 98.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07756/1.661, allocations: 37.33 MB / 0.6081 GB, free: 74.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.673, allocations: 4.338 MB / 0.6124 GB, free: 70.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004256/1.677, allocations: 2.137 MB / 0.6145 GB, free: 68.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/1.679, allocations: 1.318 MB / 0.6157 GB, free: 66.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/1.679, allocations: 52.56 kB / 0.6158 GB, free: 66.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=244): time 6.853e-06/1.679, allocations: 0 / 0.6158 GB, free: 66.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.05883/1.738, allocations: 11.16 MB / 0.6267 GB, free: 57.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.738, allocations: 77.41 kB / 0.6268 GB, free: 57.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005589/1.743, allocations: 2.477 MB / 0.6292 GB, free: 55.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005817/1.744, allocations: 61.7 kB / 0.6293 GB, free: 55.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002393/1.746, allocations: 2.935 MB / 0.6321 GB, free: 52.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001413/1.748, allocations: 0.9684 MB / 0.6331 GB, free: 51.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006813/1.748, allocations: 119.8 kB / 0.6332 GB, free: 51.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004406/1.749, allocations: 0.5497 MB / 0.6337 GB, free: 51.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005591/1.755, allocations: 2.285 MB / 0.6359 GB, free: 48.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007717/1.762, allocations: 5.387 MB / 0.6412 GB, free: 41.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007834/1.77, allocations: 3.566 MB / 0.6447 GB, free: 38.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.77, allocations: 32 kB / 0.6447 GB, free: 38.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02474/1.795, allocations: 8.135 MB / 0.6527 GB, free: 30.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/1.795, allocations: 52.97 kB / 0.6527 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/1.795, allocations: 108 kB / 0.6528 GB, free: 29.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006584/1.802, allocations: 1.06 MB / 0.6539 GB, free: 28.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008584/1.811, allocations: 1.33 MB / 0.6552 GB, free: 27.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/1.815, allocations: 2.462 MB / 0.6576 GB, free: 24.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006089/1.821, allocations: 315.7 kB / 0.6579 GB, free: 24.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.822, allocations: 332 kB / 0.6582 GB, free: 24.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (719): * Single equations (assignments): 710 * 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.001999/1.824, allocations: 0.5347 MB / 0.6587 GB, free: 23.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007487/1.825, allocations: 288.2 kB / 0.659 GB, free: 23.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/1.841, allocations: 5.023 MB / 0.6639 GB, free: 18.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/1.841, allocations: 44 kB / 0.6639 GB, free: 18.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.841, allocations: 0 / 0.6639 GB, free: 18.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/1.841, allocations: 11.95 kB / 0.6639 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03545/1.877, allocations: 11.56 MB / 0.6752 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/1.877, allocations: 8 kB / 0.6752 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003916/1.881, allocations: 423.4 kB / 0.6756 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006111/1.887, allocations: 0.9075 MB / 0.6765 GB, free: 5.332 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006652/1.887, allocations: 59.72 kB / 0.6766 GB, free: 5.277 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003478/1.891, allocations: 2.276 MB / 0.6788 GB, free: 2.875 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/1.891, allocations: 11.94 kB / 0.6788 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/1.913, allocations: 8.091 MB / 0.6867 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.914, allocations: 333.3 kB / 0.687 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/1.916, allocations: 52 kB / 0.6871 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003314/1.919, allocations: 143.9 kB / 0.6872 GB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008737/1.92, allocations: 153.6 kB / 0.6874 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003307/1.92, allocations: 79.98 kB / 0.6874 GB, free: 9.664 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005097/1.926, allocations: 1.686 MB / 0.6891 GB, free: 7.969 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.312e-06/1.926, allocations: 3.938 kB / 0.6891 GB, free: 7.965 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007814/1.933, allocations: 1.008 MB / 0.6901 GB, free: 6.961 MB / 474.7 MB 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 (216): * Single equations (assignments): 207 * 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.3679/2.301, allocations: 10.67 MB / 0.7005 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.018/2.319, allocations: 5.891 MB / 0.7062 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/2.32, allocations: 2.125 kB / 0.7062 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008932/2.328, allocations: 2.548 MB / 0.7087 GB, free: 106.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/2.332, allocations: 382.6 kB / 0.7091 GB, free: 106.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03745/2.37, allocations: 10.78 MB / 0.7196 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008251/2.378, allocations: 3.594 MB / 0.7231 GB, free: 104 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01009/2.388, allocations: 2.09 MB / 0.7252 GB, free: 104 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004929/2.393, allocations: 1.98 MB / 0.7271 GB, free: 104 MB / 474.7 MB Notification: Performance of SimCode: time 1.823e-06/2.393, allocations: 0 / 0.7271 GB, free: 104 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1579/2.551, allocations: 71.04 MB / 0.7965 GB, free: 66.42 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/2.552, allocations: 180.2 kB / 0.7967 GB, free: 66.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.013/7.565, allocations: 4 kB / 0.7967 GB, free: 66.19 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat