Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.874/1.874, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.642e-05, allocations: 3.984 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 48.7 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5241, allocations: 93.52 MB / 409.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5244, allocations: 73.69 kB / 409.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7248/1.249, allocations: 112 MB / 0.5097 GB, free: 84.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.249, allocations: 6.344 kB / 0.5097 GB, free: 84.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003737/1.25, allocations: 111.3 kB / 0.5098 GB, free: 84.46 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.02143/1.271, allocations: 5.454 MB / 0.5151 GB, free: 82.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.271, allocations: 10.47 kB / 0.5151 GB, free: 82.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04984/1.321, allocations: 6.957 MB / 0.5219 GB, free: 81.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02941/1.35, allocations: 6.851 MB / 0.5286 GB, free: 81.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004507/1.351, allocations: 180.3 kB / 0.5288 GB, free: 81.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003227/1.354, allocations: 327.1 kB / 0.5291 GB, free: 81.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02438/1.379, allocations: 7.452 MB / 0.5364 GB, free: 79.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03505/1.414, allocations: 11.72 MB / 0.5478 GB, free: 73.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003339/1.414, allocations: 78.64 kB / 0.5479 GB, free: 73.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002094/1.416, allocations: 38.22 kB / 0.5479 GB, free: 73.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00273/1.419, allocations: 1.255 MB / 0.5492 GB, free: 72.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07538/1.494, allocations: 57.38 MB / 0.6052 GB, free: 19.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005869/1.5, allocations: 3.44 MB / 0.6086 GB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/1.504, allocations: 2.097 MB / 0.6106 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/1.504, allocations: 28.94 kB / 0.6106 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.504, allocations: 55.69 kB / 0.6107 GB, free: 14.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.889e-06/1.504, allocations: 0 / 0.6107 GB, free: 14.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.04971/1.554, allocations: 17.54 MB / 0.6278 GB, free: 12.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.554, allocations: 223 kB / 0.628 GB, free: 12.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008964/1.563, allocations: 4.129 MB / 0.6321 GB, free: 8.051 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004645/1.564, allocations: 29.7 kB / 0.6321 GB, free: 8.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00447/1.568, allocations: 4.211 MB / 0.6362 GB, free: 3.746 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.57, allocations: 0.7637 MB / 0.6369 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005254/1.57, allocations: 0 / 0.6369 GB, free: 2.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005829/1.571, allocations: 0.6202 MB / 0.6375 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005199/1.576, allocations: 2.194 MB / 0.6397 GB, free: 156 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2934/1.869, allocations: 6.857 MB / 0.6464 GB, free: 85.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009941/1.879, allocations: 3.855 MB / 0.6502 GB, free: 85.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002989/1.88, allocations: 51.14 kB / 0.6502 GB, free: 85.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02573/1.905, allocations: 8.384 MB / 0.6584 GB, free: 85.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/1.906, allocations: 77.44 kB / 0.6585 GB, free: 85.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003118/1.906, allocations: 171.8 kB / 0.6586 GB, free: 85.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/1.908, allocations: 0.609 MB / 0.6592 GB, free: 85.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/1.919, allocations: 1.719 MB / 0.6609 GB, free: 85.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008221/1.927, allocations: 5.528 MB / 0.6663 GB, free: 82.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008358/1.936, allocations: 248.8 kB / 0.6665 GB, free: 82.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/1.938, allocations: 463.2 kB / 0.667 GB, free: 82.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (925): * Single equations (assignments): 920 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001687/1.939, allocations: 0.5102 MB / 0.6675 GB, free: 82.31 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007922/1.947, allocations: 3.159 MB / 0.6706 GB, free: 82.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.949, allocations: 427.2 kB / 0.671 GB, free: 82.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007631/1.956, allocations: 2.915 MB / 0.6738 GB, free: 82.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.339e-05/1.956, allocations: 22.47 kB / 0.6738 GB, free: 82.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.956, allocations: 11.42 kB / 0.6738 GB, free: 82.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/1.956, allocations: 9.234 kB / 0.6739 GB, free: 82.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/1.976, allocations: 7.54 MB / 0.6812 GB, free: 79.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.976, allocations: 2.906 kB / 0.6812 GB, free: 79.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/1.979, allocations: 296.6 kB / 0.6815 GB, free: 79.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/1.981, allocations: 357.4 kB / 0.6818 GB, free: 79.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/1.981, allocations: 7.609 kB / 0.6819 GB, free: 79.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0069/1.988, allocations: 4.847 MB / 0.6866 GB, free: 76.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.988, allocations: 5.578 kB / 0.6866 GB, free: 76.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.999, allocations: 5.687 MB / 0.6921 GB, free: 73.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/2.002, allocations: 0.709 MB / 0.6928 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/2.003, allocations: 6.906 kB / 0.6928 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003177/2.006, allocations: 75.91 kB / 0.6929 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005085/2.007, allocations: 109.7 kB / 0.693 GB, free: 73.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/2.007, allocations: 52.8 kB / 0.6931 GB, free: 73.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006736/2.014, allocations: 2.79 MB / 0.6958 GB, free: 72.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.014, allocations: 0 / 0.6958 GB, free: 72.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008943/2.023, allocations: 1.054 MB / 0.6968 GB, free: 72.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 150 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.012/2.035, allocations: 6.669 MB / 0.7033 GB, free: 68.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01198/2.047, allocations: 5.413 MB / 0.7086 GB, free: 66.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/2.047, allocations: 4.844 kB / 0.7086 GB, free: 66.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003377/2.05, allocations: 1.663 MB / 0.7103 GB, free: 65.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/2.054, allocations: 481.7 kB / 0.7107 GB, free: 65.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/2.089, allocations: 11.13 MB / 0.7216 GB, free: 59.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009224/2.098, allocations: 4.237 MB / 0.7257 GB, free: 56.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01088/2.109, allocations: 2.373 MB / 0.728 GB, free: 55.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005763/2.115, allocations: 2.525 MB / 0.7305 GB, free: 52.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/2.115, allocations: 4 kB / 0.7305 GB, free: 52.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5142/2.629, allocations: 88.21 MB / 0.8166 GB, free: 84.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/2.629, allocations: 128.5 kB / 0.8168 GB, free: 83.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.619/8.249, allocations: 0 / 0.8168 GB, free: 83.83 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat