Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Worldtorque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Worldtorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 235 MB / 247.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.702e-05/4.718e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3989, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.5853, allocations: 99.66 MB / 459.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5857, allocations: 72.75 kB / 459.6 MB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8722/1.458, allocations: 142.9 MB / 0.5883 GB, free: 95.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/1.458, allocations: 3.938 kB / 0.5883 GB, free: 95.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004956/1.458, allocations: 143.3 kB / 0.5885 GB, free: 95 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: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.02788/1.486, allocations: 6.838 MB / 0.5952 GB, free: 90.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.486, allocations: 7.219 kB / 0.5952 GB, free: 90.55 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005808/1.492, allocations: 1.237 MB / 0.5964 GB, free: 89.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07596/1.568, allocations: 9.536 MB / 0.6057 GB, free: 82.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04261/1.611, allocations: 8.833 MB / 0.6143 GB, free: 74.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008189/1.612, allocations: 0.5289 MB / 0.6148 GB, free: 73.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00447/1.616, allocations: 0.7088 MB / 0.6155 GB, free: 72.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04795/1.664, allocations: 16.53 MB / 0.6317 GB, free: 54.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000404/1.665, allocations: 95.12 kB / 0.6317 GB, free: 54.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002003/1.667, allocations: 343.8 kB / 0.6321 GB, free: 54.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/1.67, allocations: 1.526 MB / 0.6336 GB, free: 52.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03836/1.708, allocations: 13.1 MB / 0.6464 GB, free: 39.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4883/2.196, allocations: 72.57 MB / 0.7172 GB, free: 52.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02503/2.221, allocations: 5.866 MB / 0.723 GB, free: 51.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006962/2.228, allocations: 3.06 MB / 0.726 GB, free: 51.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/2.229, allocations: 52.86 kB / 0.726 GB, free: 51.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/2.229, allocations: 64.47 kB / 0.7261 GB, free: 51.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 6.723e-06/2.229, allocations: 0 / 0.7261 GB, free: 51.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.08456/2.313, allocations: 19.5 MB / 0.7451 GB, free: 45.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/2.314, allocations: 257.8 kB / 0.7454 GB, free: 45.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01524/2.329, allocations: 6.131 MB / 0.7513 GB, free: 45.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007419/2.33, allocations: 63.73 kB / 0.7514 GB, free: 45.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004914/2.335, allocations: 5.055 MB / 0.7563 GB, free: 42.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001684/2.336, allocations: 1.027 MB / 0.7573 GB, free: 41.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/2.337, allocations: 169.1 kB / 0.7575 GB, free: 41.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006154/2.338, allocations: 0.6681 MB / 0.7582 GB, free: 41.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007752/2.346, allocations: 2.876 MB / 0.761 GB, free: 41.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/2.357, allocations: 8.134 MB / 0.7689 GB, free: 34.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/2.368, allocations: 4.805 MB / 0.7736 GB, free: 32.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002005/2.368, allocations: 53.47 kB / 0.7737 GB, free: 32.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03019/2.398, allocations: 11.39 MB / 0.7848 GB, free: 29.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/2.398, allocations: 85 kB / 0.7849 GB, free: 29.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002408/2.399, allocations: 188.1 kB / 0.785 GB, free: 29.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/2.402, allocations: 0.8361 MB / 0.7859 GB, free: 29.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01239/2.414, allocations: 1.983 MB / 0.7878 GB, free: 28.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/2.427, allocations: 8.481 MB / 0.7961 GB, free: 23.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/2.438, allocations: 477.7 kB / 0.7965 GB, free: 22.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/2.44, allocations: 0.514 MB / 0.797 GB, free: 22.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1056): * Single equations (assignments): 1050 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002071/2.442, allocations: 0.7797 MB / 0.7978 GB, free: 22.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/2.444, allocations: 0.5905 MB / 0.7984 GB, free: 21.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/2.457, allocations: 4.458 MB / 0.8027 GB, free: 18.85 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.618e-05/2.457, allocations: 29.88 kB / 0.8027 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/2.457, allocations: 8 kB / 0.8028 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-05/2.457, allocations: 12.75 kB / 0.8028 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06365/2.521, allocations: 11.59 MB / 0.8141 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/2.521, allocations: 4 kB / 0.8141 GB, free: 9.371 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01398/2.535, allocations: 438 kB / 0.8145 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/2.538, allocations: 0.5264 MB / 0.815 GB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006694/2.539, allocations: 54.44 kB / 0.8151 GB, free: 8.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/2.56, allocations: 7.569 MB / 0.8225 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.56, allocations: 2.312 kB / 0.8225 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03382/2.594, allocations: 8.165 MB / 0.8304 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004989/2.599, allocations: 1.018 MB / 0.8314 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002438/2.602, allocations: 40 kB / 0.8315 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005713/2.607, allocations: 158.3 kB / 0.8316 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/2.608, allocations: 155.2 kB / 0.8318 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006457/2.609, allocations: 66.53 kB / 0.8318 GB, free: 9.672 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01428/2.623, allocations: 4.36 MB / 0.8361 GB, free: 5.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.769e-06/2.624, allocations: 0 / 0.8361 GB, free: 5.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01249/2.636, allocations: 1.57 MB / 0.8376 GB, free: 4.281 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.02609/2.662, allocations: 8.841 MB / 0.8463 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02024/2.682, allocations: 7.335 MB / 0.8534 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/2.683, allocations: 0 / 0.8534 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006982/2.69, allocations: 2.492 MB / 0.8559 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007399/2.697, allocations: 0.7596 MB / 0.8566 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0568/2.754, allocations: 14.68 MB / 0.8709 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0157/2.77, allocations: 5.207 MB / 0.876 GB, free: 48 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01663/2.786, allocations: 2.803 MB / 0.8788 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009093/2.795, allocations: 3.366 MB / 0.882 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of SimCode: time 1.273e-06/2.796, allocations: 0 / 0.882 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.642/3.437, allocations: 125.2 MB / 1.004 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/3.438, allocations: 170.1 kB / 1.005 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/11.49, allocations: 4 kB / 1.005 GB, free: 121.7 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque_res.mat does not exist to compare? outputFormat=mat