Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.722/2.722, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.135e-05, allocations: 10.59 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4029, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.6069, allocations: 104.5 MB / 486.8 MB, free: 3.887 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.6072, allocations: 75.95 kB / 486.9 MB, free: 3.812 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7839/1.391, allocations: 95.59 MB / 0.5688 GB, free: 107 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.815e-06/1.391, allocations: 0 / 0.5688 GB, free: 107 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000204/1.391, allocations: 91.12 kB / 0.5689 GB, free: 106.9 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02383/1.415, allocations: 4.511 MB / 0.5733 GB, free: 102.4 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.415, allocations: 12.03 kB / 0.5733 GB, free: 102.4 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004198/1.42, allocations: 0.9094 MB / 0.5742 GB, free: 101.5 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02668/1.446, allocations: 3.6 MB / 0.5777 GB, free: 97.88 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/1.465, allocations: 4.825 MB / 0.5824 GB, free: 93.06 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004544/1.465, allocations: 357 kB / 0.5828 GB, free: 92.74 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003063/1.468, allocations: 473.4 kB / 0.5832 GB, free: 92.32 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03397/1.502, allocations: 11.34 MB / 0.5943 GB, free: 80.61 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002806/1.503, allocations: 27.72 kB / 0.5943 GB, free: 80.59 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002716/1.505, allocations: 208.8 kB / 0.5945 GB, free: 80.41 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002859/1.508, allocations: 1.251 MB / 0.5957 GB, free: 79.17 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03008/1.538, allocations: 10.67 MB / 0.6062 GB, free: 68.48 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07797/1.617, allocations: 38.56 MB / 0.6438 GB, free: 29.13 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.631, allocations: 4.341 MB / 0.6481 GB, free: 24.55 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007605/1.639, allocations: 2.135 MB / 0.6501 GB, free: 22.41 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/1.641, allocations: 1.323 MB / 0.6514 GB, free: 20.87 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.746e-05/1.641, allocations: 57.58 kB / 0.6515 GB, free: 20.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=244): time 1.221e-05/1.641, allocations: 0 / 0.6515 GB, free: 20.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=265): time 0.07946/1.72, allocations: 10.78 MB / 0.662 GB, free: 10 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/1.721, allocations: 73.41 kB / 0.6621 GB, free: 9.918 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0062/1.727, allocations: 2.636 MB / 0.6647 GB, free: 7.266 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006037/1.727, allocations: 61.7 kB / 0.6647 GB, free: 7.199 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002622/1.73, allocations: 3.112 MB / 0.6678 GB, free: 4.043 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.731, allocations: 0.979 MB / 0.6687 GB, free: 3.051 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007559/1.732, allocations: 116 kB / 0.6688 GB, free: 2.938 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008688/1.733, allocations: 0.5623 MB / 0.6694 GB, free: 2.367 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00683/1.74, allocations: 2.32 MB / 0.6716 GB, free: 44 kB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/1.75, allocations: 5.574 MB / 0.6771 GB, free: 8.844 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009096/1.759, allocations: 3.648 MB / 0.6806 GB, free: 5.195 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.76, allocations: 36 kB / 0.6807 GB, free: 5.16 MB / 474.8 MB Notification: Performance of matching and sorting (n=796) (initialization): time 0.02842/1.788, allocations: 8.323 MB / 0.6888 GB, free: 12.81 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.788, allocations: 52.19 kB / 0.6889 GB, free: 12.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/1.788, allocations: 124 kB / 0.689 GB, free: 12.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007/1.795, allocations: 1.056 MB / 0.69 GB, free: 11.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009454/1.805, allocations: 1.38 MB / 0.6914 GB, free: 10.19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/1.81, allocations: 2.47 MB / 0.6938 GB, free: 7.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00622/1.816, allocations: 327.7 kB / 0.6941 GB, free: 7.27 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.817, allocations: 340 kB / 0.6944 GB, free: 6.938 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (743): * Single equations (assignments): 734 * 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.001424/1.819, allocations: 0.5402 MB / 0.6949 GB, free: 6.387 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007856/1.82, allocations: 300.1 kB / 0.6952 GB, free: 6.09 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.837, allocations: 5.033 MB / 0.7001 GB, free: 0.9883 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001276/1.837, allocations: 55.91 kB / 0.7002 GB, free: 0.9336 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/1.837, allocations: 7.953 kB / 0.7002 GB, free: 0.9258 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.294e-05/1.837, allocations: 11.95 kB / 0.7002 GB, free: 0.9141 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03787/1.875, allocations: 11.75 MB / 0.7117 GB, free: 4.988 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/1.875, allocations: 8 kB / 0.7117 GB, free: 4.98 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004129/1.879, allocations: 431.3 kB / 0.7121 GB, free: 4.559 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006435/1.886, allocations: 0.9 MB / 0.713 GB, free: 3.648 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005897/1.886, allocations: 63.95 kB / 0.713 GB, free: 3.586 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/1.891, allocations: 2.272 MB / 0.7153 GB, free: 1.18 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/1.891, allocations: 11.94 kB / 0.7153 GB, free: 1.168 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4005/2.291, allocations: 8.133 MB / 0.7232 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/2.292, allocations: 345.2 kB / 0.7235 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009635/2.293, allocations: 51.48 kB / 0.7236 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/2.296, allocations: 137.2 kB / 0.7237 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005565/2.297, allocations: 162.5 kB / 0.7239 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/2.297, allocations: 76.59 kB / 0.7239 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004083/2.301, allocations: 1.797 MB / 0.7257 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.142e-06/2.301, allocations: 3.875 kB / 0.7257 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00682/2.308, allocations: 1.044 MB / 0.7267 GB, free: 134.5 MB / 0.4949 GB 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.0205/2.328, allocations: 10.69 MB / 0.7372 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01558/2.344, allocations: 5.98 MB / 0.743 GB, free: 130.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/2.344, allocations: 0 / 0.743 GB, free: 130.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007771/2.352, allocations: 2.549 MB / 0.7455 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004155/2.356, allocations: 451.6 kB / 0.7459 GB, free: 129.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0357/2.392, allocations: 11.22 MB / 0.7569 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008601/2.401, allocations: 3.763 MB / 0.7606 GB, free: 124 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009163/2.41, allocations: 2.149 MB / 0.7627 GB, free: 123.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005069/2.415, allocations: 2.081 MB / 0.7647 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of SimCode: time 2.535e-06/2.415, allocations: 0 / 0.7647 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/2.604, allocations: 75.04 MB / 0.838 GB, free: 57.57 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/2.605, allocations: 179.5 kB / 0.8381 GB, free: 57.34 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.042/7.646, allocations: 4 kB / 0.8381 GB, free: 57.34 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat