Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.996e-05/5.015e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5494, allocations: 93.77 MB / 415.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.5497, allocations: 75.95 kB / 415.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8098/1.36, allocations: 110.7 MB / 0.5141 GB, free: 90.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.36, allocations: 0 / 0.5141 GB, free: 90.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004866/1.36, allocations: 105.5 kB / 0.5142 GB, free: 90.45 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02415/1.384, allocations: 5.339 MB / 0.5194 GB, free: 88.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/1.384, allocations: 9.688 kB / 0.5194 GB, free: 88.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004809/1.389, allocations: 0.952 MB / 0.5203 GB, free: 88.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06759/1.457, allocations: 6.929 MB / 0.5271 GB, free: 87.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03826/1.495, allocations: 6.778 MB / 0.5337 GB, free: 87.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007546/1.496, allocations: 400.9 kB / 0.5341 GB, free: 87.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003758/1.5, allocations: 0.524 MB / 0.5346 GB, free: 87.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04598/1.546, allocations: 12.83 MB / 0.5471 GB, free: 83.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004265/1.546, allocations: 76.44 kB / 0.5472 GB, free: 83.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002794/1.549, allocations: 258.9 kB / 0.5475 GB, free: 83.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003607/1.553, allocations: 1.21 MB / 0.5486 GB, free: 83.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04206/1.595, allocations: 9.99 MB / 0.5584 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09228/1.687, allocations: 58.35 MB / 0.6154 GB, free: 32.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01863/1.706, allocations: 4.619 MB / 0.6199 GB, free: 28.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004505/1.71, allocations: 2.218 MB / 0.6221 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01826/1.729, allocations: 6.868 MB / 0.6288 GB, free: 20.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.729, allocations: 51.88 kB / 0.6288 GB, free: 20.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.172e-06/1.729, allocations: 0 / 0.6288 GB, free: 20.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.05761/1.787, allocations: 13.34 MB / 0.6418 GB, free: 6.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/1.787, allocations: 201.2 kB / 0.642 GB, free: 6.719 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/1.798, allocations: 5.085 MB / 0.647 GB, free: 1.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004538/1.799, allocations: 53.7 kB / 0.647 GB, free: 1.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004632/1.803, allocations: 4.014 MB / 0.651 GB, free: 13.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.805, allocations: 0.7634 MB / 0.6517 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/1.806, allocations: 140 kB / 0.6518 GB, free: 12.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008112/1.807, allocations: 0.6033 MB / 0.6524 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006773/1.814, allocations: 2.212 MB / 0.6546 GB, free: 9.867 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/1.825, allocations: 6.568 MB / 0.661 GB, free: 1.098 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3174/2.143, allocations: 3.797 MB / 0.6647 GB, free: 93.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/2.143, allocations: 45.75 kB / 0.6648 GB, free: 93.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02697/2.17, allocations: 8.536 MB / 0.6731 GB, free: 93.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/2.17, allocations: 74.05 kB / 0.6732 GB, free: 93.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003454/2.17, allocations: 159 kB / 0.6733 GB, free: 93.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/2.173, allocations: 0.589 MB / 0.6739 GB, free: 93.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/2.184, allocations: 1.612 MB / 0.6755 GB, free: 93.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009438/2.194, allocations: 5.598 MB / 0.6809 GB, free: 90.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008368/2.202, allocations: 379.4 kB / 0.6813 GB, free: 90.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/2.204, allocations: 437.7 kB / 0.6817 GB, free: 90.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 863 * 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.001852/2.206, allocations: 0.6504 MB / 0.6824 GB, free: 90.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/2.207, allocations: 489.7 kB / 0.6828 GB, free: 90.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007866/2.215, allocations: 2.97 MB / 0.6857 GB, free: 89.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.234e-05/2.215, allocations: 23.05 kB / 0.6857 GB, free: 89.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/2.215, allocations: 6.844 kB / 0.6857 GB, free: 89.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/2.215, allocations: 13.42 kB / 0.6858 GB, free: 89.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02343/2.239, allocations: 8.12 MB / 0.6937 GB, free: 89.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/2.239, allocations: 3.906 kB / 0.6937 GB, free: 89.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/2.241, allocations: 287.4 kB / 0.694 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/2.243, allocations: 341.5 kB / 0.6943 GB, free: 89.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/2.243, allocations: 33.91 kB / 0.6943 GB, free: 89.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007216/2.251, allocations: 4.945 MB / 0.6992 GB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/2.251, allocations: 7.469 kB / 0.6992 GB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/2.263, allocations: 5.92 MB / 0.7049 GB, free: 83.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002994/2.266, allocations: 0.7877 MB / 0.7057 GB, free: 83.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/2.268, allocations: 33.72 kB / 0.7057 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004223/2.272, allocations: 87.77 kB / 0.7058 GB, free: 83.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006318/2.273, allocations: 122 kB / 0.7059 GB, free: 83.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/2.273, allocations: 55.05 kB / 0.706 GB, free: 83.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00933/2.282, allocations: 3.63 MB / 0.7095 GB, free: 82.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.112e-06/2.282, allocations: 0 / 0.7095 GB, free: 82.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009095/2.291, allocations: 1.189 MB / 0.7107 GB, free: 82.05 MB / 442.7 MB 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.01338/2.305, allocations: 7.077 MB / 0.7176 GB, free: 78.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01262/2.318, allocations: 5.312 MB / 0.7228 GB, free: 76.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.318, allocations: 3.375 kB / 0.7228 GB, free: 76.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003656/2.321, allocations: 1.629 MB / 0.7244 GB, free: 75.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/2.327, allocations: 0.5894 MB / 0.725 GB, free: 75.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/2.363, allocations: 11.09 MB / 0.7358 GB, free: 71.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00932/2.372, allocations: 4.125 MB / 0.7398 GB, free: 69.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0114/2.384, allocations: 2.295 MB / 0.7421 GB, free: 68.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005856/2.39, allocations: 2.514 MB / 0.7445 GB, free: 66.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/2.39, allocations: 0 / 0.7445 GB, free: 66.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5846/2.974, allocations: 96.65 MB / 0.8389 GB, free: 87.81 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/2.975, allocations: 182 kB / 0.8391 GB, free: 87.58 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.455/9.429, allocations: 0 / 0.8391 GB, free: 87.58 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat