Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.28e-05/5.291e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4621/0.5985, allocations: 91.34 MB / 413.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.5989, allocations: 71.97 kB / 413.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7543/1.353, allocations: 94.63 MB / 0.496 GB, free: 95.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.677e-06/1.353, allocations: 1.219 kB / 0.496 GB, free: 95.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003302/1.354, allocations: 86.5 kB / 0.4961 GB, free: 95.37 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.03312/1.387, allocations: 4.491 MB / 0.5005 GB, free: 94.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/1.387, allocations: 11.06 kB / 0.5005 GB, free: 94.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006464/1.393, allocations: 0.9022 MB / 0.5014 GB, free: 94.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04426/1.438, allocations: 3.594 MB / 0.5049 GB, free: 94.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03071/1.468, allocations: 4.82 MB / 0.5096 GB, free: 93.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009989/1.469, allocations: 356.2 kB / 0.5099 GB, free: 93.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004403/1.474, allocations: 469.8 kB / 0.5104 GB, free: 93.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0529/1.527, allocations: 11.38 MB / 0.5215 GB, free: 92.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004158/1.527, allocations: 30.12 kB / 0.5215 GB, free: 92.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003607/1.531, allocations: 209.4 kB / 0.5217 GB, free: 92.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004075/1.535, allocations: 1.245 MB / 0.5229 GB, free: 92.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04572/1.581, allocations: 10.8 MB / 0.5335 GB, free: 92.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1189/1.7, allocations: 38.46 MB / 0.571 GB, free: 69.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/1.718, allocations: 4.352 MB / 0.5753 GB, free: 67.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006807/1.725, allocations: 2.127 MB / 0.5773 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002363/1.727, allocations: 1.324 MB / 0.5786 GB, free: 65.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.394e-05/1.728, allocations: 56.25 kB / 0.5787 GB, free: 65.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 1.189e-05/1.728, allocations: 0 / 0.5787 GB, free: 65.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.07729/1.805, allocations: 10.77 MB / 0.5892 GB, free: 57.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/1.805, allocations: 73.41 kB / 0.5893 GB, free: 57.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00859/1.814, allocations: 2.616 MB / 0.5918 GB, free: 54.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007113/1.814, allocations: 57.7 kB / 0.5919 GB, free: 54.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003435/1.818, allocations: 3.094 MB / 0.5949 GB, free: 52.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002099/1.82, allocations: 0.9843 MB / 0.5959 GB, free: 51.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/1.821, allocations: 116 kB / 0.596 GB, free: 51.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008407/1.822, allocations: 0.5638 MB / 0.5965 GB, free: 50.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008927/1.831, allocations: 2.317 MB / 0.5988 GB, free: 48.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/1.843, allocations: 5.587 MB / 0.6043 GB, free: 41.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/1.856, allocations: 3.651 MB / 0.6078 GB, free: 38.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/1.856, allocations: 32 kB / 0.6078 GB, free: 38.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.03811/1.894, allocations: 8.62 MB / 0.6163 GB, free: 31.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/1.894, allocations: 55.61 kB / 0.6163 GB, free: 31.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/1.894, allocations: 116.8 kB / 0.6164 GB, free: 31.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009842/1.904, allocations: 1.054 MB / 0.6175 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01293/1.917, allocations: 1.372 MB / 0.6188 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/1.923, allocations: 2.464 MB / 0.6212 GB, free: 26.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009643/1.933, allocations: 328.9 kB / 0.6215 GB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/1.935, allocations: 354.1 kB / 0.6219 GB, free: 26.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * 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 (740): * Single equations (assignments): 731 * 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.002829/1.938, allocations: 0.5315 MB / 0.6224 GB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.939, allocations: 296.2 kB / 0.6227 GB, free: 25.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02363/1.963, allocations: 5.044 MB / 0.6276 GB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001585/1.963, allocations: 47.98 kB / 0.6276 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/1.963, allocations: 0 / 0.6276 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/1.963, allocations: 11.95 kB / 0.6276 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05215/2.015, allocations: 11.76 MB / 0.6391 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.157e-05/2.015, allocations: 12.06 kB / 0.6391 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005952/2.021, allocations: 427.3 kB / 0.6395 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009346/2.031, allocations: 0.9074 MB / 0.6404 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000824/2.032, allocations: 51.98 kB / 0.6405 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005403/2.037, allocations: 2.279 MB / 0.6427 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/2.037, allocations: 8 kB / 0.6427 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03223/2.069, allocations: 8.13 MB / 0.6507 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/2.071, allocations: 341.2 kB / 0.651 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/2.072, allocations: 51.94 kB / 0.651 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003482/2.076, allocations: 139.8 kB / 0.6512 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008506/2.076, allocations: 153.6 kB / 0.6513 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003233/2.077, allocations: 87.8 kB / 0.6514 GB, free: 11.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005178/2.082, allocations: 1.777 MB / 0.6531 GB, free: 9.781 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.91e-07/2.082, allocations: 0 / 0.6531 GB, free: 9.781 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007797/2.09, allocations: 1.036 MB / 0.6541 GB, free: 8.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (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.3633/2.453, allocations: 10.7 MB / 0.6646 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01771/2.471, allocations: 6.144 MB / 0.6706 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/2.471, allocations: 2.188 kB / 0.6706 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008541/2.48, allocations: 2.569 MB / 0.6731 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00417/2.484, allocations: 460.3 kB / 0.6735 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/2.521, allocations: 11.2 MB / 0.6845 GB, free: 98.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008464/2.529, allocations: 3.751 MB / 0.6881 GB, free: 97.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00967/2.539, allocations: 2.142 MB / 0.6902 GB, free: 97.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005023/2.544, allocations: 2.073 MB / 0.6923 GB, free: 97.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/2.544, allocations: 0 / 0.6923 GB, free: 97.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/2.716, allocations: 75.2 MB / 0.7657 GB, free: 58.22 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/2.717, allocations: 177 kB / 0.7659 GB, free: 58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.417/8.134, allocations: 0 / 0.7659 GB, free: 58 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat