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.685/2.685, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.768e-05/4.781e-05, allocations: 7.938 kB / 299.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4006, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.6007, allocations: 97.23 MB / 451.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.6011, allocations: 75.97 kB / 451.6 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7667/1.368, allocations: 89.03 MB / 0.528 GB, free: 97.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.368, allocations: 0 / 0.528 GB, free: 97.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002247/1.368, allocations: 75.09 kB / 0.5281 GB, free: 97.02 MB / 426.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.0231/1.391, allocations: 4.263 MB / 0.5322 GB, free: 94.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.391, allocations: 7.656 kB / 0.5322 GB, free: 94.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02708/1.418, allocations: 3.554 MB / 0.5357 GB, free: 91.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/1.436, allocations: 4.667 MB / 0.5403 GB, free: 87.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/1.437, allocations: 140 kB / 0.5404 GB, free: 87.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002942/1.44, allocations: 255.9 kB / 0.5406 GB, free: 86.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01893/1.459, allocations: 7.78 MB / 0.5482 GB, free: 79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/1.486, allocations: 10.19 MB / 0.5582 GB, free: 68.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/1.487, allocations: 39.59 kB / 0.5582 GB, free: 68.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/1.488, allocations: 12 kB / 0.5582 GB, free: 68.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002386/1.49, allocations: 1.235 MB / 0.5594 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07506/1.566, allocations: 34.68 MB / 0.5933 GB, free: 31.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007159/1.573, allocations: 4.012 MB / 0.5972 GB, free: 27.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00423/1.577, allocations: 2.072 MB / 0.5993 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/1.579, allocations: 1.323 MB / 0.6005 GB, free: 24.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.315e-05/1.579, allocations: 56.56 kB / 0.6006 GB, free: 24.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 7.304e-06/1.579, allocations: 0 / 0.6006 GB, free: 24.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=266): time 0.04255/1.621, allocations: 12.01 MB / 0.6123 GB, free: 12.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/1.621, allocations: 73.41 kB / 0.6124 GB, free: 11.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/1.627, allocations: 2.404 MB / 0.6148 GB, free: 9.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006233/1.627, allocations: 29.7 kB / 0.6148 GB, free: 9.543 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002473/1.63, allocations: 3.014 MB / 0.6177 GB, free: 6.484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.631, allocations: 0.9595 MB / 0.6187 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006762/1.632, allocations: 0 / 0.6187 GB, free: 5.512 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004706/1.632, allocations: 0.5705 MB / 0.6192 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005275/1.638, allocations: 2.257 MB / 0.6214 GB, free: 2.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009117/1.647, allocations: 5.625 MB / 0.6269 GB, free: 11.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.657, allocations: 3.619 MB / 0.6304 GB, free: 7.742 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/1.658, allocations: 40 kB / 0.6305 GB, free: 7.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.02891/1.686, allocations: 8.052 MB / 0.6384 GB, free: 15.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.687, allocations: 60.77 kB / 0.6384 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/1.687, allocations: 120 kB / 0.6385 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/1.694, allocations: 1.07 MB / 0.6396 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009627/1.704, allocations: 1.415 MB / 0.6409 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/1.708, allocations: 2.399 MB / 0.6433 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/1.715, allocations: 219.6 kB / 0.6435 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/1.717, allocations: 360 kB / 0.6438 GB, free: 9.871 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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 (765): * Single equations (assignments): 756 * 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.00191/1.718, allocations: 408.1 kB / 0.6442 GB, free: 9.461 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0158/1.734, allocations: 4.349 MB / 0.6485 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.736, allocations: 284.2 kB / 0.6488 GB, free: 4.781 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/1.754, allocations: 4.934 MB / 0.6536 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001527/1.754, allocations: 50.53 kB / 0.6536 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.754, allocations: 4 kB / 0.6536 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.241e-05/1.754, allocations: 11.95 kB / 0.6536 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03445/1.789, allocations: 10.46 MB / 0.6638 GB, free: 5.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/1.789, allocations: 8 kB / 0.6639 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004062/1.793, allocations: 431.3 kB / 0.6643 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006465/1.799, allocations: 0.9036 MB / 0.6651 GB, free: 3.805 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006655/1.8, allocations: 27.97 kB / 0.6652 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003998/1.804, allocations: 2.189 MB / 0.6673 GB, free: 1.473 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.383e-05/1.804, allocations: 16.08 kB / 0.6673 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3681/2.172, allocations: 8.05 MB / 0.6752 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/2.173, allocations: 326.3 kB / 0.6755 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/2.175, allocations: 16.78 kB / 0.6755 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/2.178, allocations: 105.8 kB / 0.6756 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008618/2.179, allocations: 165.3 kB / 0.6758 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003788/2.179, allocations: 79.48 kB / 0.6759 GB, free: 126.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004613/2.184, allocations: 1.573 MB / 0.6774 GB, free: 126.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.184, allocations: 3.812 kB / 0.6774 GB, free: 126.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007518/2.191, allocations: 0.8702 MB / 0.6782 GB, free: 126.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (217): * Single equations (assignments): 208 * 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.02127/2.213, allocations: 10.74 MB / 0.6887 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0153/2.228, allocations: 5.94 MB / 0.6945 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/2.228, allocations: 3.5 kB / 0.6945 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00774/2.236, allocations: 2.553 MB / 0.697 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/2.239, allocations: 280.3 kB / 0.6973 GB, free: 120.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03521/2.274, allocations: 10.61 MB / 0.7077 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008693/2.283, allocations: 3.587 MB / 0.7112 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01305/2.296, allocations: 2.232 MB / 0.7133 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007955/2.304, allocations: 1.97 MB / 0.7153 GB, free: 114.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.975e-06/2.304, allocations: 0 / 0.7153 GB, free: 114.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2058/2.51, allocations: 68.66 MB / 0.7823 GB, free: 56.23 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/2.511, allocations: 146.1 kB / 0.7825 GB, free: 56.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.722/7.233, allocations: 0 / 0.7825 GB, free: 56.03 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