Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.725e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 48.69 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5784, allocations: 94.25 MB / 410.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5787, allocations: 86.44 kB / 410.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9673/1.546, allocations: 174.3 MB / 0.5713 GB, free: 58.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.965e-06/1.546, allocations: 0 / 0.5713 GB, free: 58.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005583/1.547, allocations: 183.2 kB / 0.5714 GB, free: 58.4 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.03663/1.583, allocations: 8.781 MB / 0.58 GB, free: 49.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.583, allocations: 12.03 kB / 0.58 GB, free: 49.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0956/1.679, allocations: 9.871 MB / 0.5897 GB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03564/1.715, allocations: 9.826 MB / 0.5993 GB, free: 29.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006253/1.715, allocations: 300.3 kB / 0.5996 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005216/1.721, allocations: 0.5389 MB / 0.6001 GB, free: 28.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03294/1.754, allocations: 12.91 MB / 0.6127 GB, free: 16.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0528/1.806, allocations: 19.17 MB / 0.6314 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007153/1.807, allocations: 111 kB / 0.6315 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004575/1.812, allocations: 48 kB / 0.6316 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005437/1.817, allocations: 2.082 MB / 0.6336 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7854/2.603, allocations: 87.15 MB / 0.7187 GB, free: 24.43 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/2.617, allocations: 7.8 MB / 0.7263 GB, free: 21.4 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01025/2.628, allocations: 5.487 MB / 0.7317 GB, free: 19.12 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006598/2.628, allocations: 90.02 kB / 0.7318 GB, free: 19.11 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.276e-05/2.629, allocations: 83.58 kB / 0.7318 GB, free: 19.04 MB / 426.8 MB Notification: Performance of pre-optimization done (n=412): time 8.546e-06/2.629, allocations: 0 / 0.7318 GB, free: 19.04 MB / 426.8 MB Notification: Performance of matching and sorting (n=477): time 0.154/2.783, allocations: 41.79 MB / 0.7727 GB, free: 13.75 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/2.783, allocations: 282.3 kB / 0.7729 GB, free: 13.42 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01598/2.799, allocations: 5.511 MB / 0.7783 GB, free: 8.73 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001402/2.8, allocations: 29.52 kB / 0.7783 GB, free: 8.699 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006875/2.807, allocations: 6.031 MB / 0.7842 GB, free: 3.285 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003503/2.811, allocations: 1.7 MB / 0.7859 GB, free: 1.746 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002283/2.813, allocations: 0 / 0.7859 GB, free: 1.746 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001344/2.814, allocations: 0.7995 MB / 0.7867 GB, free: 1.078 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03253/2.847, allocations: 5.968 MB / 0.7925 GB, free: 15.75 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02014/2.867, allocations: 11.09 MB / 0.8033 GB, free: 2.547 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01848/2.886, allocations: 7.206 MB / 0.8104 GB, free: 12.52 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003111/2.886, allocations: 64 kB / 0.8104 GB, free: 12.45 MB / 474.8 MB Notification: Performance of matching and sorting (n=1511) (initialization): time 0.3958/3.282, allocations: 16.63 MB / 0.8267 GB, free: 103.2 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002399/3.282, allocations: 104 kB / 0.8268 GB, free: 103.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005663/3.283, allocations: 222 kB / 0.827 GB, free: 103.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/3.295, allocations: 2.496 MB / 0.8294 GB, free: 103.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02066/3.315, allocations: 2.773 MB / 0.8321 GB, free: 103.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03449/3.35, allocations: 15.91 MB / 0.8477 GB, free: 99.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01437/3.364, allocations: 474.1 kB / 0.8481 GB, free: 99.4 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003581/3.368, allocations: 0.6686 MB / 0.8488 GB, free: 99.4 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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 (1415): * Single equations (assignments): 1409 * 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 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005617/3.374, allocations: 0.6783 MB / 0.8494 GB, free: 99.24 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02949/3.403, allocations: 9.934 MB / 0.8591 GB, free: 99.05 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002834/3.406, allocations: 0.6352 MB / 0.8597 GB, free: 99.05 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0317/3.438, allocations: 10.21 MB / 0.8697 GB, free: 98.76 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001349/3.438, allocations: 48.59 kB / 0.8698 GB, free: 98.76 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.535e-05/3.438, allocations: 15.22 kB / 0.8698 GB, free: 98.76 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00015/3.438, allocations: 23.58 kB / 0.8698 GB, free: 98.76 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06521/3.504, allocations: 21 MB / 0.8903 GB, free: 92.79 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.716e-05/3.504, allocations: 6.969 kB / 0.8903 GB, free: 92.79 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009411/3.513, allocations: 0.8809 MB / 0.8912 GB, free: 92.77 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009796/3.523, allocations: 2.107 MB / 0.8932 GB, free: 92.36 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001414/3.524, allocations: 25.02 kB / 0.8933 GB, free: 92.35 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02921/3.554, allocations: 14.67 MB / 0.9076 GB, free: 84.49 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/3.554, allocations: 10 kB / 0.9076 GB, free: 84.49 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04199/3.596, allocations: 17.03 MB / 0.9242 GB, free: 71.47 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006193/3.602, allocations: 1.438 MB / 0.9256 GB, free: 70.14 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003275/3.605, allocations: 12.17 kB / 0.9256 GB, free: 70.14 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008313/3.614, allocations: 289.8 kB / 0.9259 GB, free: 69.98 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002175/3.616, allocations: 287.4 kB / 0.9262 GB, free: 69.8 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001099/3.617, allocations: 124.1 kB / 0.9263 GB, free: 69.69 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.009918/3.627, allocations: 3.705 MB / 0.9299 GB, free: 66.48 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.353e-06/3.627, allocations: 4 kB / 0.9299 GB, free: 66.48 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01595/3.643, allocations: 1.958 MB / 0.9318 GB, free: 64.52 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (408): * Single equations (assignments): 402 * 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 {(4,75.0%) 18,(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.04194/3.685, allocations: 18.37 MB / 0.9498 GB, free: 48.39 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02902/3.714, allocations: 12.21 MB / 0.9617 GB, free: 37.98 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/3.714, allocations: 5.969 kB / 0.9617 GB, free: 37.98 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01316/3.727, allocations: 5.082 MB / 0.9667 GB, free: 33.41 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007059/3.734, allocations: 0.666 MB / 0.9673 GB, free: 32.85 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07243/3.807, allocations: 21.78 MB / 0.9886 GB, free: 12 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01717/3.824, allocations: 6.602 MB / 0.995 GB, free: 5.406 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3529/4.177, allocations: 4.485 MB / 0.9994 GB, free: 102 MB / 474.8 MB Notification: Performance of SimCode: time 1.903e-06/4.177, allocations: 0 / 0.9994 GB, free: 102 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.897/11.07, allocations: 283.6 MB / 1.276 GB, free: 65.15 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat