Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.685/2.685, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.809e-05, allocations: 3.938 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4425, allocations: 58.83 MB / 382.3 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2436/0.6862, allocations: 106.8 MB / 489.1 MB, free: 1.715 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.6866, allocations: 71.97 kB / 489.1 MB, free: 1.645 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8203/1.507, allocations: 111.3 MB / 0.5864 GB, free: 89.23 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.564e-06/1.507, allocations: 0 / 0.5864 GB, free: 89.23 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004008/1.507, allocations: 111.9 kB / 0.5865 GB, free: 89.12 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02262/1.53, allocations: 5.343 MB / 0.5917 GB, free: 83.71 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/1.53, allocations: 12.03 kB / 0.5917 GB, free: 83.7 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004641/1.535, allocations: 0.9438 MB / 0.5926 GB, free: 82.74 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05258/1.587, allocations: 6.938 MB / 0.5994 GB, free: 75.78 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02638/1.614, allocations: 6.805 MB / 0.6061 GB, free: 68.92 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005779/1.614, allocations: 402.5 kB / 0.6064 GB, free: 68.52 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003356/1.618, allocations: 0.5231 MB / 0.607 GB, free: 68 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04064/1.658, allocations: 12.84 MB / 0.6195 GB, free: 53.91 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005253/1.659, allocations: 79.33 kB / 0.6196 GB, free: 53.83 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003393/1.662, allocations: 255.9 kB / 0.6198 GB, free: 53.58 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004153/1.667, allocations: 1.215 MB / 0.621 GB, free: 52.36 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03529/1.702, allocations: 10.01 MB / 0.6308 GB, free: 42.35 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1095/1.812, allocations: 58.47 MB / 0.6879 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02688/1.839, allocations: 4.623 MB / 0.6924 GB, free: 9.309 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005705/1.844, allocations: 2.221 MB / 0.6946 GB, free: 7.078 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02193/1.866, allocations: 6.869 MB / 0.7013 GB, free: 112 kB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.089e-05/1.867, allocations: 63.8 kB / 0.7013 GB, free: 40 kB / 490.8 MB Notification: Performance of pre-optimization done (n=181): time 7.173e-06/1.867, allocations: 0 / 0.7013 GB, free: 40 kB / 490.8 MB Notification: Performance of matching and sorting (n=193): time 0.06882/1.935, allocations: 13.35 MB / 0.7144 GB, free: 2.598 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/1.936, allocations: 205.2 kB / 0.7146 GB, free: 2.352 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3973/2.333, allocations: 5.102 MB / 0.7195 GB, free: 130.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000517/2.334, allocations: 53.81 kB / 0.7196 GB, free: 130.4 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004958/2.339, allocations: 4.028 MB / 0.7235 GB, free: 129.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001491/2.34, allocations: 0.7643 MB / 0.7243 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/2.341, allocations: 143.3 kB / 0.7244 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009638/2.342, allocations: 0.6008 MB / 0.725 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006751/2.349, allocations: 2.217 MB / 0.7272 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009761/2.359, allocations: 6.587 MB / 0.7336 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009059/2.368, allocations: 3.814 MB / 0.7373 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002766/2.368, allocations: 45.53 kB / 0.7374 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02557/2.394, allocations: 8.568 MB / 0.7457 GB, free: 122 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/2.394, allocations: 72.22 kB / 0.7458 GB, free: 122 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002692/2.394, allocations: 161.2 kB / 0.746 GB, free: 122 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/2.397, allocations: 0.5876 MB / 0.7465 GB, free: 122 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/2.408, allocations: 1.616 MB / 0.7481 GB, free: 121.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009608/2.417, allocations: 5.593 MB / 0.7536 GB, free: 118.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01217/2.429, allocations: 376.8 kB / 0.7539 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002302/2.432, allocations: 444 kB / 0.7544 GB, free: 118.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (871): * Single equations (assignments): 866 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003469/2.435, allocations: 0.6514 MB / 0.755 GB, free: 117.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/2.437, allocations: 496.4 kB / 0.7555 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/2.449, allocations: 2.968 MB / 0.7584 GB, free: 116.2 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-05/2.45, allocations: 24.28 kB / 0.7584 GB, free: 116.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/2.45, allocations: 10.92 kB / 0.7584 GB, free: 116.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-05/2.45, allocations: 5.953 kB / 0.7584 GB, free: 116.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03405/2.484, allocations: 8.124 MB / 0.7663 GB, free: 113.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/2.484, allocations: 0 / 0.7663 GB, free: 113.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003857/2.488, allocations: 295.6 kB / 0.7666 GB, free: 113.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/2.49, allocations: 344.2 kB / 0.7669 GB, free: 113 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005283/2.491, allocations: 36.59 kB / 0.767 GB, free: 113 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/2.503, allocations: 4.951 MB / 0.7718 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/2.503, allocations: 3.312 kB / 0.7718 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/2.519, allocations: 5.916 MB / 0.7776 GB, free: 106.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003447/2.523, allocations: 0.7944 MB / 0.7784 GB, free: 105.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/2.525, allocations: 28.59 kB / 0.7784 GB, free: 105.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004278/2.529, allocations: 96.55 kB / 0.7785 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006526/2.53, allocations: 116.3 kB / 0.7786 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/2.53, allocations: 51.59 kB / 0.7787 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01586/2.546, allocations: 3.645 MB / 0.7822 GB, free: 104.6 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.093e-06/2.546, allocations: 0 / 0.7822 GB, free: 104.6 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009522/2.555, allocations: 1.207 MB / 0.7834 GB, free: 103.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01399/2.569, allocations: 7.083 MB / 0.7903 GB, free: 97.14 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01309/2.583, allocations: 5.313 MB / 0.7955 GB, free: 92.32 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/2.583, allocations: 1.125 kB / 0.7955 GB, free: 92.32 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003782/2.586, allocations: 1.618 MB / 0.7971 GB, free: 90.82 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00567/2.592, allocations: 0.5901 MB / 0.7977 GB, free: 90.32 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03868/2.631, allocations: 11.13 MB / 0.8085 GB, free: 80.64 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00995/2.641, allocations: 4.129 MB / 0.8126 GB, free: 77.57 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01136/2.652, allocations: 2.302 MB / 0.8148 GB, free: 76.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006299/2.659, allocations: 2.528 MB / 0.8173 GB, free: 73.76 MB / 0.4949 GB Notification: Performance of SimCode: time 2.585e-06/2.659, allocations: 0 / 0.8173 GB, free: 73.76 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6132/3.272, allocations: 97.02 MB / 0.912 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/3.272, allocations: 167.6 kB / 0.9122 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/10.03, allocations: 5.25 kB / 0.9122 GB, free: 111.4 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat