Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.798/2.798, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.344e-05/5.35e-05, allocations: 7.984 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4389, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.6569, allocations: 104.3 MB / 486.6 MB, free: 4.062 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.6572, allocations: 75.95 kB / 486.7 MB, free: 3.988 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7173/1.375, allocations: 91.56 MB / 0.5647 GB, free: 108.2 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.504e-06/1.375, allocations: 4 kB / 0.5647 GB, free: 108.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002017/1.375, allocations: 77.12 kB / 0.5648 GB, free: 108.2 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02484/1.4, allocations: 4.265 MB / 0.569 GB, free: 106 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/1.4, allocations: 10.94 kB / 0.569 GB, free: 106 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005025/1.405, allocations: 0.8613 MB / 0.5698 GB, free: 105.4 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0379/1.443, allocations: 3.567 MB / 0.5733 GB, free: 102 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/1.466, allocations: 4.69 MB / 0.5779 GB, free: 97.27 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005061/1.467, allocations: 334.5 kB / 0.5782 GB, free: 96.98 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00331/1.47, allocations: 433 kB / 0.5786 GB, free: 96.59 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03419/1.504, allocations: 10.92 MB / 0.5893 GB, free: 85.3 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001818/1.505, allocations: 31.72 kB / 0.5893 GB, free: 85.27 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001283/1.506, allocations: 197.3 kB / 0.5895 GB, free: 85.11 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002371/1.508, allocations: 1.235 MB / 0.5907 GB, free: 83.88 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02903/1.537, allocations: 10.4 MB / 0.6008 GB, free: 73.46 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07725/1.615, allocations: 37.43 MB / 0.6374 GB, free: 35.39 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/1.627, allocations: 4.345 MB / 0.6416 GB, free: 30.81 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004465/1.632, allocations: 2.127 MB / 0.6437 GB, free: 28.68 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/1.633, allocations: 1.323 MB / 0.645 GB, free: 27.15 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.633, allocations: 56.52 kB / 0.6451 GB, free: 27.08 MB / 458.8 MB Notification: Performance of pre-optimization done (n=244): time 6.843e-06/1.633, allocations: 0 / 0.6451 GB, free: 27.08 MB / 458.8 MB Notification: Performance of matching and sorting (n=265): time 0.0583/1.692, allocations: 11.16 MB / 0.656 GB, free: 15.92 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.692, allocations: 77.41 kB / 0.656 GB, free: 15.84 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00469/1.696, allocations: 2.503 MB / 0.6585 GB, free: 13.31 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005587/1.697, allocations: 61.53 kB / 0.6585 GB, free: 13.25 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/1.699, allocations: 2.939 MB / 0.6614 GB, free: 10.3 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001533/1.701, allocations: 0.9723 MB / 0.6624 GB, free: 9.34 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006667/1.701, allocations: 119.9 kB / 0.6625 GB, free: 9.223 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004221/1.702, allocations: 0.558 MB / 0.663 GB, free: 8.656 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005284/1.707, allocations: 2.284 MB / 0.6652 GB, free: 6.367 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007538/1.715, allocations: 5.41 MB / 0.6705 GB, free: 15.41 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008871/1.724, allocations: 3.585 MB / 0.674 GB, free: 11.82 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/1.724, allocations: 32 kB / 0.6741 GB, free: 11.79 MB / 474.8 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02725/1.751, allocations: 8.154 MB / 0.682 GB, free: 3.625 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.751, allocations: 55.94 kB / 0.6821 GB, free: 3.57 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004218/1.752, allocations: 116 kB / 0.6822 GB, free: 3.457 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007416/1.759, allocations: 1.052 MB / 0.6832 GB, free: 2.395 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00906/1.768, allocations: 1.33 MB / 0.6845 GB, free: 1.062 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/1.773, allocations: 2.463 MB / 0.6869 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006198/1.779, allocations: 321.8 kB / 0.6872 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/1.781, allocations: 336 kB / 0.6875 GB, free: 13.82 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (722): * Single equations (assignments): 713 * 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.001756/1.783, allocations: 0.5334 MB / 0.6881 GB, free: 13.28 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007859/1.783, allocations: 284.2 kB / 0.6883 GB, free: 13 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0179/1.801, allocations: 5.024 MB / 0.6932 GB, free: 7.902 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001303/1.802, allocations: 43.98 kB / 0.6933 GB, free: 7.859 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.802, allocations: 4 kB / 0.6933 GB, free: 7.855 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.745e-05/1.802, allocations: 7.969 kB / 0.6933 GB, free: 7.848 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03823/1.84, allocations: 11.55 MB / 0.7046 GB, free: 12.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-05/1.84, allocations: 8 kB / 0.7046 GB, free: 12.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004222/1.844, allocations: 431.4 kB / 0.705 GB, free: 11.74 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006752/1.851, allocations: 0.9034 MB / 0.7059 GB, free: 10.83 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006661/1.852, allocations: 59.97 kB / 0.7059 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/1.856, allocations: 2.287 MB / 0.7082 GB, free: 8.348 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/1.856, allocations: 11.94 kB / 0.7082 GB, free: 8.336 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.436/2.292, allocations: 8.085 MB / 0.7161 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/2.294, allocations: 334.8 kB / 0.7164 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/2.295, allocations: 49.59 kB / 0.7164 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/2.297, allocations: 139.3 kB / 0.7166 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006539/2.298, allocations: 161.8 kB / 0.7167 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003349/2.298, allocations: 78.89 kB / 0.7168 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004851/2.303, allocations: 1.707 MB / 0.7185 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.042e-06/2.303, allocations: 0 / 0.7185 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007439/2.311, allocations: 1.011 MB / 0.7195 GB, free: 136.1 MB / 0.4949 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 (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.02244/2.333, allocations: 10.68 MB / 0.7299 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01547/2.349, allocations: 5.902 MB / 0.7357 GB, free: 132 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/2.349, allocations: 3.812 kB / 0.7357 GB, free: 132 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007697/2.357, allocations: 2.544 MB / 0.7381 GB, free: 131.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/2.36, allocations: 388.6 kB / 0.7385 GB, free: 131.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03436/2.395, allocations: 10.81 MB / 0.7491 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00859/2.404, allocations: 3.604 MB / 0.7526 GB, free: 127.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009532/2.413, allocations: 2.095 MB / 0.7546 GB, free: 127 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005013/2.418, allocations: 1.986 MB / 0.7566 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of SimCode: time 2.395e-06/2.418, allocations: 0 / 0.7566 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2347/2.653, allocations: 71.4 MB / 0.8263 GB, free: 70.22 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/2.653, allocations: 178.4 kB / 0.8265 GB, free: 70 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.871/7.524, allocations: 0 / 0.8265 GB, free: 70 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat