Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.796e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.543, allocations: 92.74 MB / 414.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5433, allocations: 71.97 kB / 414.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099/1.643, allocations: 169.9 MB / 0.5709 GB, free: 81.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.643, allocations: 0 / 0.5709 GB, free: 81.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006627/1.644, allocations: 168.5 kB / 0.5711 GB, free: 81.22 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03422/1.678, allocations: 8.262 MB / 0.5791 GB, free: 75.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.678, allocations: 7.594 kB / 0.5791 GB, free: 75.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007018/1.685, allocations: 1.468 MB / 0.5806 GB, free: 74.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1115/1.796, allocations: 12.09 MB / 0.5924 GB, free: 63.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03738/1.834, allocations: 10.93 MB / 0.603 GB, free: 52.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007768/1.835, allocations: 0.6377 MB / 0.6037 GB, free: 52.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004576/1.839, allocations: 0.8511 MB / 0.6045 GB, free: 51.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06024/1.9, allocations: 19.72 MB / 0.6238 GB, free: 29.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005842/1.9, allocations: 111 kB / 0.6239 GB, free: 29.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003685/1.904, allocations: 403.8 kB / 0.6243 GB, free: 29.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003971/1.908, allocations: 1.818 MB / 0.626 GB, free: 27.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04925/1.957, allocations: 15.73 MB / 0.6414 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4594/2.417, allocations: 82.06 MB / 0.7215 GB, free: 21.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03431/2.451, allocations: 8.038 MB / 0.7294 GB, free: 21.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008251/2.459, allocations: 4.079 MB / 0.7334 GB, free: 20.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/2.461, allocations: 0.6659 MB / 0.734 GB, free: 19.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.518e-05/2.461, allocations: 71.11 kB / 0.7341 GB, free: 19.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=311): time 7.414e-06/2.461, allocations: 1.781 kB / 0.7341 GB, free: 19.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.136/2.597, allocations: 26.25 MB / 0.7597 GB, free: 9.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/2.597, allocations: 299.4 kB / 0.76 GB, free: 9.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01836/2.615, allocations: 6.808 MB / 0.7666 GB, free: 7.238 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009449/2.616, allocations: 73.39 kB / 0.7667 GB, free: 7.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006061/2.622, allocations: 5.854 MB / 0.7724 GB, free: 2.695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002147/2.625, allocations: 1.269 MB / 0.7737 GB, free: 1.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/2.626, allocations: 196 kB / 0.7739 GB, free: 1.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001143/2.627, allocations: 0.7142 MB / 0.7746 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009303/2.637, allocations: 3.44 MB / 0.7779 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01624/2.653, allocations: 9.059 MB / 0.7868 GB, free: 7.254 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/2.667, allocations: 5.542 MB / 0.7922 GB, free: 2.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002785/2.668, allocations: 56 kB / 0.7922 GB, free: 2.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.04004/2.708, allocations: 12.65 MB / 0.8046 GB, free: 7.938 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000196/2.708, allocations: 92 kB / 0.8047 GB, free: 7.848 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00043/2.708, allocations: 200 kB / 0.8049 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004599/2.713, allocations: 1.048 MB / 0.8059 GB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/2.728, allocations: 2.249 MB / 0.8081 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/2.749, allocations: 11.26 MB / 0.8191 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/2.762, allocations: 0.5301 MB / 0.8196 GB, free: 9.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002772/2.765, allocations: 0.5613 MB / 0.8201 GB, free: 9.051 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003051/2.768, allocations: 0.8575 MB / 0.821 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002213/2.77, allocations: 0.6749 MB / 0.8216 GB, free: 7.512 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/2.789, allocations: 5.956 MB / 0.8274 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-05/2.789, allocations: 36 kB / 0.8275 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.88e-05/2.789, allocations: 11.75 kB / 0.8275 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-05/2.789, allocations: 20.45 kB / 0.8275 GB, free: 2.504 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4016/3.191, allocations: 15.05 MB / 0.8422 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.251e-05/3.191, allocations: 2.312 kB / 0.8422 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008006/3.199, allocations: 0.5506 MB / 0.8427 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005057/3.204, allocations: 0.7051 MB / 0.8434 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001129/3.205, allocations: 59.72 kB / 0.8435 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/3.228, allocations: 10.11 MB / 0.8534 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/3.228, allocations: 5.734 kB / 0.8534 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0261/3.254, allocations: 10.07 MB / 0.8632 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005235/3.259, allocations: 1.194 MB / 0.8644 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002704/3.262, allocations: 54.75 kB / 0.8644 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007656/3.27, allocations: 196.4 kB / 0.8646 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001528/3.271, allocations: 201.5 kB / 0.8648 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003849/3.272, allocations: 87.56 kB / 0.8649 GB, free: 104.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01296/3.285, allocations: 4.854 MB / 0.8696 GB, free: 104.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.342e-06/3.285, allocations: 0 / 0.8696 GB, free: 104.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01323/3.298, allocations: 1.862 MB / 0.8714 GB, free: 104.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(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.02343/3.321, allocations: 11.03 MB / 0.8822 GB, free: 99.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02017/3.342, allocations: 8.534 MB / 0.8905 GB, free: 96.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/3.342, allocations: 0 / 0.8905 GB, free: 96.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006877/3.349, allocations: 3.141 MB / 0.8936 GB, free: 95.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00865/3.357, allocations: 0.9377 MB / 0.8945 GB, free: 95.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07124/3.429, allocations: 17.72 MB / 0.9118 GB, free: 87.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01993/3.449, allocations: 6.124 MB / 0.9178 GB, free: 83.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01732/3.466, allocations: 3.086 MB / 0.9208 GB, free: 81.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01044/3.476, allocations: 4.081 MB / 0.9248 GB, free: 77.41 MB / 474.7 MB Notification: Performance of SimCode: time 2.274e-06/3.476, allocations: 0 / 0.9248 GB, free: 77.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6988/4.175, allocations: 148.9 MB / 1.07 GB, free: 89.03 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/4.176, allocations: 174.8 kB / 1.07 GB, free: 88.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.309/13.48, allocations: 0 / 1.07 GB, free: 88.8 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat