Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.653e-05/4.687e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3956, allocations: 54.85 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.5797, allocations: 100.8 MB / 460.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.58, allocations: 76.73 kB / 460.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7846/1.365, allocations: 114.5 MB / 0.5617 GB, free: 102.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.365, allocations: 0 / 0.5617 GB, free: 102.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000377/1.365, allocations: 112.6 kB / 0.5618 GB, free: 102.1 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02161/1.387, allocations: 5.461 MB / 0.5671 GB, free: 99.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.387, allocations: 9.406 kB / 0.5672 GB, free: 99.85 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004605/1.391, allocations: 0.9785 MB / 0.5681 GB, free: 99.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05103/1.443, allocations: 6.958 MB / 0.5749 GB, free: 99.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02564/1.468, allocations: 6.855 MB / 0.5816 GB, free: 96.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/1.469, allocations: 416.6 kB / 0.582 GB, free: 96.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003242/1.472, allocations: 0.5482 MB / 0.5825 GB, free: 96.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0402/1.512, allocations: 13.25 MB / 0.5955 GB, free: 89.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004375/1.513, allocations: 84.8 kB / 0.5956 GB, free: 89.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002745/1.516, allocations: 264.8 kB / 0.5958 GB, free: 89.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002818/1.518, allocations: 1.253 MB / 0.597 GB, free: 88.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03177/1.55, allocations: 10.51 MB / 0.6073 GB, free: 79.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08669/1.637, allocations: 59.65 MB / 0.6655 GB, free: 18.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01841/1.656, allocations: 4.616 MB / 0.6701 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004542/1.66, allocations: 2.219 MB / 0.6722 GB, free: 11.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01751/1.678, allocations: 6.497 MB / 0.6786 GB, free: 4.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/1.678, allocations: 59.7 kB / 0.6786 GB, free: 4.844 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 6.793e-06/1.678, allocations: 0 / 0.6786 GB, free: 4.844 MB / 458.7 MB Notification: Performance of matching and sorting (n=195): time 0.06065/1.738, allocations: 14.54 MB / 0.6928 GB, free: 6.133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.739, allocations: 231 kB / 0.693 GB, free: 5.859 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01382/1.752, allocations: 5.151 MB / 0.6981 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005142/1.753, allocations: 57.64 kB / 0.6981 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3406/2.094, allocations: 4.129 MB / 0.7022 GB, free: 108.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001356/2.095, allocations: 0.7745 MB / 0.7029 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009389/2.096, allocations: 144.7 kB / 0.703 GB, free: 107.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006615/2.097, allocations: 0.6063 MB / 0.7036 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006923/2.104, allocations: 2.242 MB / 0.7058 GB, free: 107.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/2.114, allocations: 6.727 MB / 0.7124 GB, free: 101.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/2.125, allocations: 3.864 MB / 0.7162 GB, free: 101.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003491/2.125, allocations: 48.81 kB / 0.7162 GB, free: 101.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02759/2.153, allocations: 9.139 MB / 0.7251 GB, free: 100.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/2.153, allocations: 78.19 kB / 0.7252 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/2.153, allocations: 157.7 kB / 0.7254 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/2.156, allocations: 0.6069 MB / 0.726 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/2.166, allocations: 1.647 MB / 0.7276 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008984/2.175, allocations: 5.718 MB / 0.7332 GB, free: 96.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008708/2.184, allocations: 387 kB / 0.7335 GB, free: 96.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/2.185, allocations: 447.1 kB / 0.734 GB, free: 96.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (882): * Single equations (assignments): 877 * 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.002533/2.188, allocations: 0.6617 MB / 0.7346 GB, free: 95.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/2.189, allocations: 490.1 kB / 0.7351 GB, free: 95.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008865/2.198, allocations: 3.024 MB / 0.738 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-05/2.198, allocations: 23.5 kB / 0.738 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/2.198, allocations: 4.781 kB / 0.738 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.411e-05/2.198, allocations: 15.31 kB / 0.7381 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03201/2.23, allocations: 8.441 MB / 0.7463 GB, free: 91.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.125e-05/2.23, allocations: 4.469 kB / 0.7463 GB, free: 91.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005/2.235, allocations: 328.5 kB / 0.7466 GB, free: 91.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/2.238, allocations: 364.3 kB / 0.747 GB, free: 91.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005637/2.239, allocations: 35.19 kB / 0.747 GB, free: 91.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/2.25, allocations: 5.063 MB / 0.7519 GB, free: 87.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/2.25, allocations: 2.938 kB / 0.7519 GB, free: 87.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/2.269, allocations: 6.091 MB / 0.7579 GB, free: 84.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0039/2.273, allocations: 0.8076 MB / 0.7587 GB, free: 83.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/2.274, allocations: 29.81 kB / 0.7587 GB, free: 83.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003715/2.278, allocations: 97.91 kB / 0.7588 GB, free: 83.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005388/2.279, allocations: 116.2 kB / 0.7589 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/2.279, allocations: 53.94 kB / 0.759 GB, free: 83.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009684/2.289, allocations: 3.674 MB / 0.7626 GB, free: 82.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.31e-07/2.289, allocations: 0 / 0.7626 GB, free: 82.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009037/2.298, allocations: 1.225 MB / 0.7638 GB, free: 82.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/2.311, allocations: 7.281 MB / 0.7709 GB, free: 78.31 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01292/2.324, allocations: 5.624 MB / 0.7764 GB, free: 76.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/2.324, allocations: 3.391 kB / 0.7764 GB, free: 76.19 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003533/2.328, allocations: 1.679 MB / 0.778 GB, free: 75.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005028/2.333, allocations: 0.6091 MB / 0.7786 GB, free: 75.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/2.369, allocations: 11.41 MB / 0.7897 GB, free: 65.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008948/2.378, allocations: 4.244 MB / 0.7939 GB, free: 62.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01086/2.389, allocations: 2.314 MB / 0.7961 GB, free: 61.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00596/2.395, allocations: 2.569 MB / 0.7987 GB, free: 58.65 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/2.395, allocations: 0 / 0.7987 GB, free: 58.65 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5865/2.981, allocations: 99.54 MB / 0.8959 GB, free: 98.22 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/2.982, allocations: 172.8 kB / 0.896 GB, free: 97.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/9.668, allocations: 0 / 0.896 GB, free: 97.99 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat