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.949/1.949, allocations: 209.4 MB / 216.5 MB, free: 6.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.847e-05, allocations: 7.984 kB / 267.6 MB, free: 4.969 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 48.69 MB / 316.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4717/0.5754, allocations: 93.34 MB / 409.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5757, allocations: 70.41 kB / 409.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.736/1.312, allocations: 108.4 MB / 0.506 GB, free: 84.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.312, allocations: 0 / 0.506 GB, free: 84.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003509/1.312, allocations: 104.3 kB / 0.5061 GB, free: 84.33 MB / 410.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.02086/1.333, allocations: 5.339 MB / 0.5113 GB, free: 82.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.333, allocations: 7.875 kB / 0.5113 GB, free: 82.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04933/1.382, allocations: 6.935 MB / 0.518 GB, free: 81.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02333/1.406, allocations: 6.779 MB / 0.5247 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/1.406, allocations: 169.6 kB / 0.5248 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00227/1.408, allocations: 314.5 kB / 0.5251 GB, free: 80.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01716/1.426, allocations: 7.225 MB / 0.5322 GB, free: 80.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02917/1.455, allocations: 11.39 MB / 0.5433 GB, free: 74.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003006/1.455, allocations: 81.38 kB / 0.5434 GB, free: 74.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/1.457, allocations: 36.31 kB / 0.5434 GB, free: 74.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002463/1.459, allocations: 1.207 MB / 0.5446 GB, free: 74.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07141/1.531, allocations: 56.15 MB / 0.5994 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00609/1.537, allocations: 3.452 MB / 0.6028 GB, free: 21.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003748/1.541, allocations: 2.096 MB / 0.6049 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/1.541, allocations: 29.11 kB / 0.6049 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/1.541, allocations: 59.75 kB / 0.6049 GB, free: 19.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 5.65e-06/1.541, allocations: 0 / 0.6049 GB, free: 19.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=197): time 0.04794/1.589, allocations: 17.32 MB / 0.6219 GB, free: 2.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/1.589, allocations: 201.2 kB / 0.622 GB, free: 1.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008038/1.597, allocations: 4.056 MB / 0.626 GB, free: 13.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004513/1.598, allocations: 25.7 kB / 0.626 GB, free: 13.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004178/1.602, allocations: 4.064 MB / 0.63 GB, free: 9.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.603, allocations: 0.756 MB / 0.6307 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004636/1.604, allocations: 0 / 0.6307 GB, free: 8.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005749/1.604, allocations: 0.6159 MB / 0.6313 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/1.609, allocations: 2.154 MB / 0.6334 GB, free: 6.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3066/1.916, allocations: 6.698 MB / 0.64 GB, free: 85.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009904/1.926, allocations: 3.787 MB / 0.6437 GB, free: 85.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002764/1.926, allocations: 47.09 kB / 0.6437 GB, free: 85.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.02584/1.952, allocations: 8.214 MB / 0.6517 GB, free: 85.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001862/1.952, allocations: 75.34 kB / 0.6518 GB, free: 85.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003489/1.953, allocations: 164.4 kB / 0.652 GB, free: 85.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/1.955, allocations: 0.5902 MB / 0.6526 GB, free: 85.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/1.966, allocations: 1.68 MB / 0.6542 GB, free: 85.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008905/1.975, allocations: 5.41 MB / 0.6595 GB, free: 82.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008149/1.983, allocations: 252 kB / 0.6597 GB, free: 82.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/1.985, allocations: 454.4 kB / 0.6601 GB, free: 82.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * 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 (906): * Single equations (assignments): 901 * 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.002697/1.988, allocations: 0.5024 MB / 0.6606 GB, free: 82.13 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008152/1.996, allocations: 3.114 MB / 0.6637 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.997, allocations: 423.2 kB / 0.6641 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007801/2.005, allocations: 2.931 MB / 0.6669 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.825e-05/2.005, allocations: 22.09 kB / 0.667 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/2.005, allocations: 7 kB / 0.667 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/2.005, allocations: 7.5 kB / 0.667 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/2.027, allocations: 7.333 MB / 0.6741 GB, free: 81.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/2.027, allocations: 3.844 kB / 0.6741 GB, free: 81.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/2.03, allocations: 290.3 kB / 0.6744 GB, free: 81.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/2.031, allocations: 345 kB / 0.6748 GB, free: 81.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/2.031, allocations: 5.625 kB / 0.6748 GB, free: 81.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006822/2.038, allocations: 4.732 MB / 0.6794 GB, free: 77.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/2.038, allocations: 0 / 0.6794 GB, free: 77.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/2.049, allocations: 5.533 MB / 0.6848 GB, free: 75.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/2.051, allocations: 0.7076 MB / 0.6855 GB, free: 74.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008647/2.052, allocations: 7.281 kB / 0.6855 GB, free: 74.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/2.055, allocations: 63.5 kB / 0.6855 GB, free: 74.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/2.055, allocations: 110.9 kB / 0.6856 GB, free: 74.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/2.055, allocations: 55.33 kB / 0.6857 GB, free: 74.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005447/2.061, allocations: 2.746 MB / 0.6884 GB, free: 73.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.223e-06/2.061, allocations: 0 / 0.6884 GB, free: 73.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008246/2.069, allocations: 1.026 MB / 0.6894 GB, free: 73.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (156): * Single equations (assignments): 151 * 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.01106/2.08, allocations: 6.464 MB / 0.6957 GB, free: 70.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/2.092, allocations: 5.322 MB / 0.7009 GB, free: 68.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.092, allocations: 0 / 0.7009 GB, free: 68.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003435/2.095, allocations: 1.656 MB / 0.7025 GB, free: 67.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/2.099, allocations: 479.7 kB / 0.703 GB, free: 67.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03322/2.132, allocations: 10.81 MB / 0.7135 GB, free: 63.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00795/2.141, allocations: 4.131 MB / 0.7176 GB, free: 61.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01061/2.151, allocations: 2.339 MB / 0.7198 GB, free: 59.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005591/2.157, allocations: 2.492 MB / 0.7223 GB, free: 57.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/2.157, allocations: 4 kB / 0.7223 GB, free: 57.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5242/2.681, allocations: 86.49 MB / 0.8067 GB, free: 76.11 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/2.681, allocations: 135.6 kB / 0.8069 GB, free: 75.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.467/8.148, allocations: 0 / 0.8069 GB, free: 75.92 MB / 442.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