Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.02e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5468, allocations: 91.35 MB / 413.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5472, allocations: 75.95 kB / 413.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6725/1.22, allocations: 94.61 MB / 0.496 GB, free: 95.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/1.22, allocations: 3.656 kB / 0.496 GB, free: 95.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002534/1.22, allocations: 88.39 kB / 0.4961 GB, free: 95.07 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.02579/1.246, allocations: 4.492 MB / 0.5005 GB, free: 94.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/1.246, allocations: 9.625 kB / 0.5005 GB, free: 94.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005775/1.252, allocations: 0.9017 MB / 0.5013 GB, free: 94.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02968/1.281, allocations: 3.6 MB / 0.5049 GB, free: 93.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02088/1.302, allocations: 4.813 MB / 0.5096 GB, free: 93.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007614/1.303, allocations: 360.1 kB / 0.5099 GB, free: 93.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003535/1.307, allocations: 468.4 kB / 0.5104 GB, free: 93.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03872/1.345, allocations: 11.32 MB / 0.5214 GB, free: 92.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003413/1.346, allocations: 39.44 kB / 0.5214 GB, free: 92.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00306/1.349, allocations: 213.4 kB / 0.5216 GB, free: 92.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/1.352, allocations: 1.232 MB / 0.5229 GB, free: 92.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/1.382, allocations: 10.67 MB / 0.5333 GB, free: 92.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08065/1.463, allocations: 38.47 MB / 0.5708 GB, free: 69.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/1.475, allocations: 4.341 MB / 0.5751 GB, free: 67.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004509/1.48, allocations: 2.128 MB / 0.5772 GB, free: 66.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/1.481, allocations: 1.327 MB / 0.5785 GB, free: 65.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/1.481, allocations: 52.16 kB / 0.5785 GB, free: 65.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.081e-06/1.481, allocations: 0 / 0.5785 GB, free: 65.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.05705/1.538, allocations: 10.77 MB / 0.589 GB, free: 57.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/1.538, allocations: 76.78 kB / 0.5891 GB, free: 57.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005203/1.544, allocations: 2.614 MB / 0.5916 GB, free: 55.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005537/1.544, allocations: 61.7 kB / 0.5917 GB, free: 55.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002289/1.547, allocations: 3.08 MB / 0.5947 GB, free: 52.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.548, allocations: 0.9784 MB / 0.5957 GB, free: 51.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006999/1.549, allocations: 120 kB / 0.5958 GB, free: 51.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004635/1.549, allocations: 0.5737 MB / 0.5963 GB, free: 50.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005591/1.555, allocations: 2.321 MB / 0.5986 GB, free: 48.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007717/1.563, allocations: 5.544 MB / 0.604 GB, free: 41.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007773/1.571, allocations: 3.647 MB / 0.6076 GB, free: 38.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/1.571, allocations: 32 kB / 0.6076 GB, free: 38.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.02435/1.595, allocations: 8.231 MB / 0.6156 GB, free: 31.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/1.595, allocations: 56 kB / 0.6157 GB, free: 31.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/1.595, allocations: 112.9 kB / 0.6158 GB, free: 31.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006523/1.602, allocations: 1.057 MB / 0.6168 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008598/1.611, allocations: 1.371 MB / 0.6182 GB, free: 29.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/1.614, allocations: 2.471 MB / 0.6206 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006/1.62, allocations: 316.5 kB / 0.6209 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.622, allocations: 350.7 kB / 0.6212 GB, free: 26.83 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.001509/1.623, allocations: 0.5318 MB / 0.6217 GB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007036/1.624, allocations: 300.1 kB / 0.622 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.639, allocations: 5.046 MB / 0.627 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/1.64, allocations: 43.94 kB / 0.627 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.64, allocations: 0 / 0.627 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.088e-05/1.64, allocations: 11.95 kB / 0.627 GB, free: 21.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03448/1.674, allocations: 11.75 MB / 0.6385 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/1.674, allocations: 8 kB / 0.6385 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003824/1.678, allocations: 427.4 kB / 0.6389 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006167/1.684, allocations: 0.9073 MB / 0.6398 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000611/1.685, allocations: 66.66 kB / 0.6399 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00337/1.688, allocations: 2.264 MB / 0.6421 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.688, allocations: 13.89 kB / 0.6421 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/1.708, allocations: 8.125 MB / 0.65 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.709, allocations: 349.1 kB / 0.6503 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.71, allocations: 51.34 kB / 0.6504 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.713, allocations: 143.8 kB / 0.6505 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005807/1.714, allocations: 157.3 kB / 0.6507 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000284/1.714, allocations: 83.92 kB / 0.6508 GB, free: 12.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004643/1.719, allocations: 1.773 MB / 0.6525 GB, free: 10.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.719, allocations: 3.938 kB / 0.6525 GB, free: 10.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007447/1.726, allocations: 1.04 MB / 0.6535 GB, free: 9.434 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.3111/2.038, allocations: 10.7 MB / 0.664 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01733/2.055, allocations: 5.961 MB / 0.6698 GB, free: 100.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/2.055, allocations: 1.125 kB / 0.6698 GB, free: 100.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008301/2.063, allocations: 2.552 MB / 0.6723 GB, free: 99.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/2.068, allocations: 455.9 kB / 0.6727 GB, free: 99.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/2.107, allocations: 11.72 MB / 0.6842 GB, free: 97.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008464/2.115, allocations: 3.761 MB / 0.6878 GB, free: 97.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005319/2.121, allocations: 2.128 MB / 0.6899 GB, free: 97.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.235e-06/2.121, allocations: 0 / 0.6899 GB, free: 97.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.99/7.111, allocations: 146.2 MB / 0.8327 GB, free: 89.12 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat