Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 235 MB / 247.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.066e-05, allocations: 0.9375 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4202, allocations: 54.85 MB / 359.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.6207, allocations: 101.4 MB / 461.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.6211, allocations: 80.73 kB / 461.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8755/1.497, allocations: 132 MB / 0.5794 GB, free: 99.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.497, allocations: 0 / 0.5794 GB, free: 99.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004714/1.497, allocations: 132 kB / 0.5795 GB, free: 99.07 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.02893/1.526, allocations: 6.668 MB / 0.586 GB, free: 95.87 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.526, allocations: 10.06 kB / 0.5861 GB, free: 95.87 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005994/1.532, allocations: 1.191 MB / 0.5872 GB, free: 95.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05392/1.586, allocations: 7.135 MB / 0.5942 GB, free: 92.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02886/1.615, allocations: 7.435 MB / 0.6014 GB, free: 87.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007536/1.616, allocations: 0.4985 MB / 0.6019 GB, free: 87.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/1.62, allocations: 0.6673 MB / 0.6026 GB, free: 86.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0579/1.678, allocations: 16.08 MB / 0.6183 GB, free: 69.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000629/1.679, allocations: 87.22 kB / 0.6184 GB, free: 69.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004011/1.683, allocations: 331 kB / 0.6187 GB, free: 68.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00362/1.687, allocations: 1.544 MB / 0.6202 GB, free: 67.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04231/1.729, allocations: 12.95 MB / 0.6328 GB, free: 54.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5066/2.236, allocations: 72.97 MB / 0.7041 GB, free: 92.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02956/2.265, allocations: 6.453 MB / 0.7104 GB, free: 91.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008754/2.274, allocations: 3.678 MB / 0.714 GB, free: 91.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03498/2.309, allocations: 9.289 MB / 0.7231 GB, free: 90.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.837e-05/2.309, allocations: 65.19 kB / 0.7231 GB, free: 90.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=269): time 9.989e-06/2.309, allocations: 1.969 kB / 0.7231 GB, free: 90.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=311): time 0.1331/2.442, allocations: 25.86 MB / 0.7484 GB, free: 84.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/2.443, allocations: 250.7 kB / 0.7486 GB, free: 84.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01717/2.46, allocations: 6.088 MB / 0.7546 GB, free: 82.42 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001013/2.461, allocations: 73.58 kB / 0.7546 GB, free: 82.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005002/2.466, allocations: 4.835 MB / 0.7594 GB, free: 78.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002193/2.468, allocations: 1.179 MB / 0.7605 GB, free: 77.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/2.47, allocations: 179.6 kB / 0.7607 GB, free: 77.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008579/2.471, allocations: 0.6873 MB / 0.7614 GB, free: 77.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009587/2.48, allocations: 3.494 MB / 0.7648 GB, free: 75.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01369/2.494, allocations: 8.775 MB / 0.7733 GB, free: 67.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/2.507, allocations: 5.476 MB / 0.7787 GB, free: 66.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002176/2.508, allocations: 55.78 kB / 0.7787 GB, free: 66.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03918/2.547, allocations: 13.53 MB / 0.792 GB, free: 59.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.547, allocations: 84.75 kB / 0.792 GB, free: 59.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002954/2.547, allocations: 190.3 kB / 0.7922 GB, free: 59.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007133/2.555, allocations: 1.712 MB / 0.7939 GB, free: 57.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/2.569, allocations: 2.131 MB / 0.796 GB, free: 56.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/2.59, allocations: 11.34 MB / 0.807 GB, free: 45.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/2.602, allocations: 0.5313 MB / 0.8076 GB, free: 45.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002222/2.604, allocations: 0.5359 MB / 0.8081 GB, free: 44.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 850 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1104): * Single equations (assignments): 1099 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002088/2.606, allocations: 0.7975 MB / 0.8089 GB, free: 44.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/2.608, allocations: 0.5869 MB / 0.8094 GB, free: 43.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01873/2.626, allocations: 6.693 MB / 0.816 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.421e-05/2.627, allocations: 36.75 kB / 0.816 GB, free: 38.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-05/2.627, allocations: 11.95 kB / 0.816 GB, free: 38.03 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-05/2.627, allocations: 14.34 kB / 0.816 GB, free: 38.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04459/2.671, allocations: 15.13 MB / 0.8308 GB, free: 25.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.891e-05/2.671, allocations: 4.625 kB / 0.8308 GB, free: 25.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005666/2.677, allocations: 0.5698 MB / 0.8314 GB, free: 24.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006485/2.684, allocations: 1.415 MB / 0.8327 GB, free: 23.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008765/2.685, allocations: 52 kB / 0.8328 GB, free: 23.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/2.705, allocations: 10.49 MB / 0.843 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/2.705, allocations: 7.938 kB / 0.843 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02683/2.732, allocations: 11.74 MB / 0.8545 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00516/2.737, allocations: 1.153 MB / 0.8556 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/2.739, allocations: 56 kB / 0.8557 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005566/2.744, allocations: 213.3 kB / 0.8559 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/2.746, allocations: 197.7 kB / 0.8561 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003865/2.746, allocations: 84.78 kB / 0.8562 GB, free: 14.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0133/2.759, allocations: 4.348 MB / 0.8604 GB, free: 10.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.759, allocations: 4 kB / 0.8604 GB, free: 10.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01219/2.772, allocations: 1.656 MB / 0.862 GB, free: 8.617 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 249 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03352/2.805, allocations: 13.11 MB / 0.8748 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3868/3.192, allocations: 8.676 MB / 0.8833 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/3.192, allocations: 2.75 kB / 0.8833 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01071/3.203, allocations: 3.343 MB / 0.8866 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008528/3.211, allocations: 0.7027 MB / 0.8873 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07565/3.287, allocations: 15.4 MB / 0.9023 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01244/3.3, allocations: 5.033 MB / 0.9072 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01386/3.314, allocations: 2.965 MB / 0.9101 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008604/3.322, allocations: 3.228 MB / 0.9133 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/3.322, allocations: 0 / 0.9133 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2812/3.603, allocations: 132.2 MB / 1.042 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/3.604, allocations: 164.8 kB / 1.042 GB, free: 26.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/11.55, allocations: 3.938 kB / 1.042 GB, free: 26.68 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat