Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.817e-05, allocations: 8.938 kB / 305 MB, free: 5.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4101, allocations: 54.86 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.5952, allocations: 100.6 MB / 460.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.5955, allocations: 76.73 kB / 460.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8461/1.442, allocations: 110.8 MB / 0.5579 GB, free: 101.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.442, allocations: 0.7656 kB / 0.5579 GB, free: 101.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003822/1.442, allocations: 100.5 kB / 0.558 GB, free: 101.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02238/1.464, allocations: 5.347 MB / 0.5632 GB, free: 99.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.465, allocations: 10.31 kB / 0.5632 GB, free: 99.38 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004843/1.469, allocations: 0.9469 MB / 0.5642 GB, free: 99.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0505/1.52, allocations: 6.933 MB / 0.5709 GB, free: 98.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0249/1.545, allocations: 6.775 MB / 0.5775 GB, free: 97.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005065/1.545, allocations: 403 kB / 0.5779 GB, free: 97.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003052/1.549, allocations: 0.5297 MB / 0.5784 GB, free: 96.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03846/1.587, allocations: 12.9 MB / 0.591 GB, free: 90.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000381/1.587, allocations: 74.41 kB / 0.5911 GB, free: 90.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002398/1.59, allocations: 260.1 kB / 0.5914 GB, free: 89.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002666/1.593, allocations: 1.198 MB / 0.5925 GB, free: 89.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03063/1.623, allocations: 10.22 MB / 0.6025 GB, free: 83.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08043/1.704, allocations: 58.38 MB / 0.6595 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/1.722, allocations: 4.646 MB / 0.6641 GB, free: 18.74 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00434/1.726, allocations: 2.206 MB / 0.6662 GB, free: 16.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01803/1.744, allocations: 6.862 MB / 0.6729 GB, free: 9.613 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/1.744, allocations: 51.88 kB / 0.673 GB, free: 9.555 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 5.691e-06/1.744, allocations: 0 / 0.673 GB, free: 9.555 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.05822/1.803, allocations: 13.35 MB / 0.686 GB, free: 12.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.803, allocations: 205.2 kB / 0.6862 GB, free: 11.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0122/1.815, allocations: 5.081 MB / 0.6912 GB, free: 6.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004743/1.816, allocations: 49.7 kB / 0.6912 GB, free: 6.766 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00465/1.82, allocations: 4.021 MB / 0.6951 GB, free: 2.746 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001345/1.822, allocations: 0.765 MB / 0.6959 GB, free: 1.988 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006667/1.822, allocations: 140 kB / 0.696 GB, free: 1.852 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005457/1.823, allocations: 0.5997 MB / 0.6966 GB, free: 1.246 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3437/2.167, allocations: 2.211 MB / 0.6988 GB, free: 106.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/2.177, allocations: 6.608 MB / 0.7052 GB, free: 101.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/2.187, allocations: 3.801 MB / 0.7089 GB, free: 101.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002998/2.187, allocations: 44.53 kB / 0.709 GB, free: 101.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02836/2.216, allocations: 8.986 MB / 0.7177 GB, free: 100.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000204/2.216, allocations: 72.86 kB / 0.7178 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003596/2.216, allocations: 157.7 kB / 0.718 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/2.219, allocations: 0.5857 MB / 0.7185 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/2.23, allocations: 1.612 MB / 0.7201 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009032/2.239, allocations: 5.597 MB / 0.7256 GB, free: 97.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00865/2.248, allocations: 372.6 kB / 0.7259 GB, free: 97.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/2.25, allocations: 440.5 kB / 0.7264 GB, free: 97.54 MB / 474.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.002581/2.252, allocations: 0.6583 MB / 0.727 GB, free: 97.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/2.254, allocations: 483.1 kB / 0.7275 GB, free: 97.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008469/2.262, allocations: 2.97 MB / 0.7304 GB, free: 96.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-05/2.262, allocations: 27.16 kB / 0.7304 GB, free: 96.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/2.262, allocations: 7.375 kB / 0.7304 GB, free: 96.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.635e-05/2.262, allocations: 11.45 kB / 0.7304 GB, free: 96.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0249/2.287, allocations: 8.125 MB / 0.7383 GB, free: 93.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/2.287, allocations: 2.656 kB / 0.7383 GB, free: 93.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/2.29, allocations: 287.2 kB / 0.7386 GB, free: 93.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/2.292, allocations: 340.8 kB / 0.7389 GB, free: 93.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002993/2.292, allocations: 44.08 kB / 0.739 GB, free: 93.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007259/2.299, allocations: 4.938 MB / 0.7438 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/2.299, allocations: 4.984 kB / 0.7438 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/2.311, allocations: 5.923 MB / 0.7496 GB, free: 86.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003031/2.315, allocations: 0.7904 MB / 0.7504 GB, free: 86.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/2.316, allocations: 29.84 kB / 0.7504 GB, free: 86.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003375/2.319, allocations: 92.02 kB / 0.7505 GB, free: 86.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004979/2.32, allocations: 122 kB / 0.7506 GB, free: 86.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/2.32, allocations: 51.05 kB / 0.7506 GB, free: 86.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009098/2.329, allocations: 3.621 MB / 0.7542 GB, free: 85.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.329, allocations: 3.938 kB / 0.7542 GB, free: 85.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008516/2.338, allocations: 1.194 MB / 0.7553 GB, free: 84.98 MB / 474.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.01243/2.35, allocations: 7.078 MB / 0.7623 GB, free: 81.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01247/2.363, allocations: 5.536 MB / 0.7677 GB, free: 78.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/2.363, allocations: 0 / 0.7677 GB, free: 78.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/2.366, allocations: 1.666 MB / 0.7693 GB, free: 78.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/2.37, allocations: 0.5973 MB / 0.7699 GB, free: 77.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/2.404, allocations: 11.1 MB / 0.7807 GB, free: 71.96 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0086/2.413, allocations: 4.127 MB / 0.7847 GB, free: 68.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01024/2.423, allocations: 2.294 MB / 0.787 GB, free: 67.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005698/2.429, allocations: 2.517 MB / 0.7894 GB, free: 65.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.034e-06/2.429, allocations: 0 / 0.7894 GB, free: 65.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5914/3.02, allocations: 97.39 MB / 0.8846 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/3.021, allocations: 165.1 kB / 0.8847 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.198/9.219, allocations: 2.531 kB / 0.8847 GB, free: 106.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat