Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.676e-05/4.694e-05, allocations: 7.234 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1572, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5772/0.7345, allocations: 108.1 MB / 0.5063 GB, free: 11.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/0.735, allocations: 76.67 kB / 0.5063 GB, free: 11.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8943/1.629, allocations: 108.1 MB / 0.6119 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.048e-06/1.629, allocations: 0 / 0.6119 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005339/1.63, allocations: 100.4 kB / 0.612 GB, free: 109.6 MB / 0.5105 GB 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.02524/1.655, allocations: 5.157 MB / 0.617 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.655, allocations: 9.625 kB / 0.617 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005475/1.661, allocations: 0.8976 MB / 0.6179 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05609/1.717, allocations: 6.876 MB / 0.6246 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03307/1.75, allocations: 6.379 MB / 0.6308 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009601/1.751, allocations: 383.4 kB / 0.6312 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003924/1.755, allocations: 0.5105 MB / 0.6317 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05289/1.808, allocations: 12.25 MB / 0.6437 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005506/1.809, allocations: 78.02 kB / 0.6437 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002677/1.811, allocations: 246.5 kB / 0.644 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/1.814, allocations: 1.135 MB / 0.6451 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03101/1.845, allocations: 9.444 MB / 0.6543 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08993/1.935, allocations: 56.32 MB / 0.7093 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02557/1.961, allocations: 4.305 MB / 0.7135 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/1.965, allocations: 1.947 MB / 0.7154 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01652/1.981, allocations: 6.219 MB / 0.7215 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/1.982, allocations: 51.22 kB / 0.7215 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 5.911e-06/1.982, allocations: 3.469 kB / 0.7215 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166): time 0.05873/2.04, allocations: 12.08 MB / 0.7333 GB, free: 51.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/2.04, allocations: 208.3 kB / 0.7335 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01258/2.053, allocations: 4.951 MB / 0.7384 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003903/2.053, allocations: 48.14 kB / 0.7384 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003824/2.057, allocations: 3.855 MB / 0.7422 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/2.058, allocations: 0.6748 MB / 0.7428 GB, free: 43.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008797/2.059, allocations: 128 kB / 0.743 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005987/2.06, allocations: 0.5883 MB / 0.7435 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005101/2.065, allocations: 1.956 MB / 0.7454 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00787/2.073, allocations: 6.196 MB / 0.7515 GB, free: 32.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007708/2.081, allocations: 3.479 MB / 0.7549 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/2.081, allocations: 44 kB / 0.7549 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02144/2.102, allocations: 7.874 MB / 0.7626 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/2.103, allocations: 75.95 kB / 0.7627 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002242/2.103, allocations: 152 kB / 0.7628 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/2.105, allocations: 0.5833 MB / 0.7634 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008919/2.114, allocations: 1.496 MB / 0.7649 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008844/2.123, allocations: 5.601 MB / 0.7703 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007786/2.131, allocations: 336.5 kB / 0.7707 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/2.132, allocations: 418.6 kB / 0.7711 GB, free: 14.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (815): * Single equations (assignments): 810 * 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.001991/2.134, allocations: 0.6232 MB / 0.7717 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/2.136, allocations: 466 kB / 0.7721 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007205/2.143, allocations: 2.45 MB / 0.7745 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.475e-05/2.143, allocations: 16 kB / 0.7745 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/2.143, allocations: 12 kB / 0.7745 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/2.143, allocations: 11.17 kB / 0.7745 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/2.163, allocations: 7.136 MB / 0.7815 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/2.163, allocations: 8.219 kB / 0.7815 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/2.165, allocations: 233.9 kB / 0.7817 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/2.167, allocations: 344.6 kB / 0.7821 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003434/2.167, allocations: 24 kB / 0.7821 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00754/2.175, allocations: 4.942 MB / 0.7869 GB, free: 424 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/2.175, allocations: 7.938 kB / 0.7869 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/2.187, allocations: 5.057 MB / 0.7919 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/2.189, allocations: 0.5262 MB / 0.7924 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/2.191, allocations: 28 kB / 0.7924 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003697/2.195, allocations: 71.67 kB / 0.7925 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005725/2.196, allocations: 100.8 kB / 0.7926 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/2.196, allocations: 55.81 kB / 0.7926 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01095/2.207, allocations: 3.524 MB / 0.7961 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.132e-06/2.207, allocations: 0 / 0.7961 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00935/2.216, allocations: 1.115 MB / 0.7972 GB, free: 6.176 MB / 0.5261 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 (126): * Single equations (assignments): 121 * 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.01437/2.231, allocations: 6.239 MB / 0.8032 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01416/2.245, allocations: 4.711 MB / 0.8078 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/2.245, allocations: 304 / 0.8078 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/2.248, allocations: 1.385 MB / 0.8092 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005503/2.254, allocations: 0.5832 MB / 0.8098 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4286/2.683, allocations: 10.37 MB / 0.8199 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01187/2.695, allocations: 3.959 MB / 0.8238 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01174/2.706, allocations: 2.159 MB / 0.8259 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006498/2.713, allocations: 2.4 MB / 0.8282 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.603e-06/2.713, allocations: 5.266 kB / 0.8282 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2378/2.951, allocations: 92.1 MB / 0.9182 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/2.951, allocations: 175 kB / 0.9183 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/9.64, allocations: 0 / 0.9183 GB, free: 96.91 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat