Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.387e-05/4.402e-05, allocations: 4 kB / 299.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3955, allocations: 54.86 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.5836, allocations: 97.39 MB / 451.7 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.584, allocations: 79.95 kB / 451.8 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6961/1.28, allocations: 92.92 MB / 0.532 GB, free: 95.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.28, allocations: 7.875 kB / 0.532 GB, free: 95.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000222/1.28, allocations: 83.16 kB / 0.5321 GB, free: 95.43 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02318/1.304, allocations: 4.489 MB / 0.5364 GB, free: 91.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.304, allocations: 8.031 kB / 0.5364 GB, free: 91.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0268/1.33, allocations: 3.589 MB / 0.54 GB, free: 87.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0179/1.348, allocations: 4.816 MB / 0.5447 GB, free: 82.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/1.349, allocations: 152 kB / 0.5448 GB, free: 82.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002985/1.352, allocations: 275.9 kB / 0.5451 GB, free: 82.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02003/1.372, allocations: 8.05 MB / 0.5529 GB, free: 74.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/1.402, allocations: 10.57 MB / 0.5632 GB, free: 63.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/1.403, allocations: 35.7 kB / 0.5633 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002566/1.405, allocations: 16 kB / 0.5633 GB, free: 63.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002674/1.408, allocations: 1.239 MB / 0.5645 GB, free: 62.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07469/1.483, allocations: 35.71 MB / 0.5994 GB, free: 26.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006396/1.489, allocations: 3.813 MB / 0.6031 GB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004224/1.493, allocations: 2.072 MB / 0.6051 GB, free: 19.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/1.495, allocations: 1.322 MB / 0.6064 GB, free: 18.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.495, allocations: 56.56 kB / 0.6065 GB, free: 18.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 6.312e-06/1.495, allocations: 0 / 0.6065 GB, free: 18.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=273): time 0.04103/1.536, allocations: 11.25 MB / 0.6175 GB, free: 7.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.536, allocations: 73.41 kB / 0.6175 GB, free: 7.016 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/1.541, allocations: 2.521 MB / 0.62 GB, free: 4.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006101/1.542, allocations: 25.7 kB / 0.62 GB, free: 4.449 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002447/1.544, allocations: 3.197 MB / 0.6231 GB, free: 1.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.546, allocations: 0.9827 MB / 0.6241 GB, free: 212 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007311/1.547, allocations: 4 kB / 0.6241 GB, free: 208 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000594/1.547, allocations: 0.5827 MB / 0.6247 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006647/1.554, allocations: 2.348 MB / 0.627 GB, free: 13.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/1.565, allocations: 5.852 MB / 0.6327 GB, free: 5.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.575, allocations: 3.764 MB / 0.6363 GB, free: 1.898 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.575, allocations: 36 kB / 0.6364 GB, free: 1.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.02891/1.604, allocations: 8.371 MB / 0.6446 GB, free: 9.477 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.604, allocations: 56 kB / 0.6446 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002036/1.604, allocations: 124 kB / 0.6447 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007186/1.612, allocations: 1.075 MB / 0.6458 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/1.622, allocations: 1.482 MB / 0.6472 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/1.627, allocations: 2.411 MB / 0.6496 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/1.633, allocations: 215.7 kB / 0.6498 GB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001859/1.635, allocations: 388 kB / 0.6502 GB, free: 3.617 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (793): * Single equations (assignments): 784 * 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.001836/1.637, allocations: 412.8 kB / 0.6505 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01694/1.654, allocations: 4.516 MB / 0.655 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.655, allocations: 304.1 kB / 0.6552 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.675, allocations: 5.144 MB / 0.6603 GB, free: 9.129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001413/1.675, allocations: 40 kB / 0.6603 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.675, allocations: 0 / 0.6603 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/1.675, allocations: 15.95 kB / 0.6603 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3678/2.043, allocations: 10.84 MB / 0.6709 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.523e-05/2.043, allocations: 7.781 kB / 0.6709 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004531/2.048, allocations: 455 kB / 0.6714 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006397/2.054, allocations: 0.898 MB / 0.6722 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008036/2.055, allocations: 40.31 kB / 0.6723 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/2.059, allocations: 2.195 MB / 0.6744 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/2.059, allocations: 12.16 kB / 0.6744 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/2.081, allocations: 8.336 MB / 0.6826 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/2.082, allocations: 335.6 kB / 0.6829 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/2.083, allocations: 23.5 kB / 0.6829 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/2.087, allocations: 110.4 kB / 0.683 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/2.088, allocations: 178.6 kB / 0.6832 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005853/2.088, allocations: 87.73 kB / 0.6833 GB, free: 120.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004462/2.093, allocations: 1.648 MB / 0.6849 GB, free: 119.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.372e-06/2.093, allocations: 0 / 0.6849 GB, free: 119.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01245/2.105, allocations: 0.9183 MB / 0.6858 GB, free: 119.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 215 * 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.02227/2.128, allocations: 10.97 MB / 0.6965 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01563/2.143, allocations: 6.174 MB / 0.7025 GB, free: 115.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.144, allocations: 0 / 0.7025 GB, free: 115.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007535/2.151, allocations: 2.637 MB / 0.7051 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/2.154, allocations: 351.4 kB / 0.7054 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/2.191, allocations: 11.13 MB / 0.7163 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008509/2.199, allocations: 3.759 MB / 0.72 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009533/2.209, allocations: 2.274 MB / 0.7222 GB, free: 108.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005804/2.215, allocations: 2.11 MB / 0.7242 GB, free: 107 MB / 474.7 MB Notification: Performance of SimCode: time 1.964e-06/2.215, allocations: 0 / 0.7242 GB, free: 107 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1969/2.412, allocations: 73.71 MB / 0.7962 GB, free: 41.59 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/2.412, allocations: 147.2 kB / 0.7964 GB, free: 41.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.248/7.66, allocations: 0 / 0.7964 GB, free: 41.4 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat