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.399/2.399, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.002e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3928, allocations: 54.85 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.5965, allocations: 100.6 MB / 460.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5969, allocations: 71.97 kB / 460.5 MB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7751/1.372, allocations: 110.8 MB / 0.5579 GB, free: 101.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.372, allocations: 0.7656 kB / 0.5579 GB, free: 101.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003785/1.372, allocations: 106.6 kB / 0.558 GB, free: 101.7 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.02117/1.394, allocations: 5.345 MB / 0.5633 GB, free: 99.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.394, allocations: 14.81 kB / 0.5633 GB, free: 99.51 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004201/1.398, allocations: 0.9449 MB / 0.5642 GB, free: 99.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05003/1.448, allocations: 6.924 MB / 0.571 GB, free: 99.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02421/1.472, allocations: 6.781 MB / 0.5776 GB, free: 97.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005126/1.473, allocations: 401.8 kB / 0.578 GB, free: 97.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002925/1.476, allocations: 0.5275 MB / 0.5785 GB, free: 97.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03851/1.514, allocations: 12.84 MB / 0.591 GB, free: 90.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005104/1.515, allocations: 73.28 kB / 0.5911 GB, free: 90.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/1.518, allocations: 257.2 kB / 0.5913 GB, free: 90.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002767/1.521, allocations: 1.201 MB / 0.5925 GB, free: 89.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03148/1.552, allocations: 10 MB / 0.6023 GB, free: 83.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08186/1.634, allocations: 58.37 MB / 0.6593 GB, free: 23.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/1.653, allocations: 4.644 MB / 0.6638 GB, free: 19.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004474/1.657, allocations: 2.206 MB / 0.666 GB, free: 16.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/1.675, allocations: 6.855 MB / 0.6727 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/1.675, allocations: 55.75 kB / 0.6727 GB, free: 9.891 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 7.173e-06/1.675, allocations: 0 / 0.6727 GB, free: 9.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.06273/1.738, allocations: 13.34 MB / 0.6857 GB, free: 12.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.738, allocations: 205.3 kB / 0.6859 GB, free: 12.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01419/1.753, allocations: 5.089 MB / 0.6909 GB, free: 7.156 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004761/1.753, allocations: 49.7 kB / 0.6909 GB, free: 7.102 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005218/1.758, allocations: 4.021 MB / 0.6949 GB, free: 3.082 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.76, allocations: 0.7579 MB / 0.6956 GB, free: 2.332 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009505/1.761, allocations: 140 kB / 0.6957 GB, free: 2.195 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006612/1.761, allocations: 0.6035 MB / 0.6963 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3418/2.103, allocations: 2.205 MB / 0.6985 GB, free: 106.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/2.113, allocations: 6.57 MB / 0.7049 GB, free: 101.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009899/2.123, allocations: 3.801 MB / 0.7086 GB, free: 101.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002802/2.124, allocations: 45 kB / 0.7087 GB, free: 101.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02717/2.151, allocations: 8.55 MB / 0.717 GB, free: 100.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/2.151, allocations: 73.34 kB / 0.7171 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003781/2.152, allocations: 155.6 kB / 0.7172 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/2.154, allocations: 0.5824 MB / 0.7178 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/2.165, allocations: 1.617 MB / 0.7194 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009254/2.174, allocations: 5.603 MB / 0.7248 GB, free: 97.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009008/2.183, allocations: 374.6 kB / 0.7252 GB, free: 97.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002009/2.186, allocations: 436.8 kB / 0.7256 GB, free: 97.66 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.003161/2.189, allocations: 0.6516 MB / 0.7263 GB, free: 97.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/2.19, allocations: 484 kB / 0.7267 GB, free: 97.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/2.198, allocations: 2.971 MB / 0.7296 GB, free: 96.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.724e-05/2.198, allocations: 25.06 kB / 0.7296 GB, free: 96.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/2.198, allocations: 7.406 kB / 0.7297 GB, free: 96.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-05/2.199, allocations: 11.83 kB / 0.7297 GB, free: 96.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/2.223, allocations: 8.111 MB / 0.7376 GB, free: 93.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/2.223, allocations: 2.781 kB / 0.7376 GB, free: 93.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/2.225, allocations: 290 kB / 0.7379 GB, free: 93.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/2.227, allocations: 345.8 kB / 0.7382 GB, free: 93.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003646/2.228, allocations: 41.52 kB / 0.7382 GB, free: 93.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007367/2.235, allocations: 4.935 MB / 0.7431 GB, free: 90.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/2.235, allocations: 10.47 kB / 0.7431 GB, free: 90.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/2.247, allocations: 5.91 MB / 0.7488 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/2.25, allocations: 0.7909 MB / 0.7496 GB, free: 86.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/2.252, allocations: 38.91 kB / 0.7496 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004081/2.256, allocations: 90.42 kB / 0.7497 GB, free: 86.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006653/2.257, allocations: 120.7 kB / 0.7498 GB, free: 86.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/2.257, allocations: 48.38 kB / 0.7499 GB, free: 86.72 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009926/2.267, allocations: 3.625 MB / 0.7534 GB, free: 85.49 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.267, allocations: 0 / 0.7534 GB, free: 85.49 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00973/2.277, allocations: 1.199 MB / 0.7546 GB, free: 85.36 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.01349/2.29, allocations: 7.08 MB / 0.7615 GB, free: 81.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/2.303, allocations: 5.301 MB / 0.7667 GB, free: 79.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/2.303, allocations: 8.125 kB / 0.7667 GB, free: 79.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003759/2.307, allocations: 1.624 MB / 0.7683 GB, free: 78.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/2.313, allocations: 0.5974 MB / 0.7689 GB, free: 78.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/2.352, allocations: 11.09 MB / 0.7797 GB, free: 73.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009652/2.361, allocations: 4.122 MB / 0.7837 GB, free: 70.13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01102/2.372, allocations: 2.3 MB / 0.786 GB, free: 68.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005997/2.379, allocations: 2.517 MB / 0.7884 GB, free: 66.33 MB / 474.7 MB Notification: Performance of SimCode: time 1.282e-06/2.379, allocations: 0 / 0.7884 GB, free: 66.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6183/2.997, allocations: 96.66 MB / 0.8828 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/2.997, allocations: 165.7 kB / 0.883 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.554/9.551, allocations: 5.031 kB / 0.883 GB, free: 105.2 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