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.011/2.011, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.168e-05/4.179e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1173, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4715/0.5889, allocations: 94.67 MB / 416.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.5893, allocations: 79.95 kB / 416.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051/1.64, allocations: 178.5 MB / 0.5812 GB, free: 74.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.64, allocations: 0 / 0.5812 GB, free: 74.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006252/1.641, allocations: 177.7 kB / 0.5813 GB, free: 74.86 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.03759/1.678, allocations: 8.795 MB / 0.5899 GB, free: 66.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.678, allocations: 16.03 kB / 0.5899 GB, free: 66.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008054/1.686, allocations: 1.607 MB / 0.5915 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07203/1.759, allocations: 9.875 MB / 0.6012 GB, free: 54.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03521/1.794, allocations: 9.832 MB / 0.6108 GB, free: 44.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009345/1.795, allocations: 0.6864 MB / 0.6114 GB, free: 44.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005365/1.8, allocations: 0.9214 MB / 0.6123 GB, free: 43.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07328/1.873, allocations: 22.03 MB / 0.6338 GB, free: 19.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007391/1.874, allocations: 103 kB / 0.6339 GB, free: 19.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005195/1.88, allocations: 439.7 kB / 0.6344 GB, free: 19.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004791/1.884, allocations: 2.081 MB / 0.6364 GB, free: 16.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4203/2.305, allocations: 18.07 MB / 0.654 GB, free: 61.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2357/2.54, allocations: 91.43 MB / 0.7433 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03979/2.58, allocations: 9.28 MB / 0.7524 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01113/2.592, allocations: 5.614 MB / 0.7579 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/2.592, allocations: 84.8 kB / 0.7579 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/2.592, allocations: 83.62 kB / 0.758 GB, free: 4.816 MB / 426.7 MB Notification: Performance of pre-optimization done (n=412): time 8.596e-06/2.592, allocations: 0 / 0.758 GB, free: 4.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=475): time 0.1791/2.771, allocations: 38.59 MB / 0.7957 GB, free: 3.109 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002028/2.772, allocations: 287.2 kB / 0.796 GB, free: 2.773 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03195/2.804, allocations: 7.962 MB / 0.8038 GB, free: 13.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001441/2.805, allocations: 97.7 kB / 0.8039 GB, free: 13.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007015/2.812, allocations: 5.765 MB / 0.8095 GB, free: 8.539 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003497/2.816, allocations: 1.751 MB / 0.8112 GB, free: 6.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/2.818, allocations: 224 kB / 0.8114 GB, free: 6.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001168/2.819, allocations: 0.7838 MB / 0.8122 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01464/2.834, allocations: 4.925 MB / 0.817 GB, free: 1.695 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02103/2.855, allocations: 10.93 MB / 0.8277 GB, free: 4.348 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3775/3.232, allocations: 7.278 MB / 0.8348 GB, free: 105.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000313/3.233, allocations: 62.36 kB / 0.8348 GB, free: 105.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05495/3.288, allocations: 17.14 MB / 0.8516 GB, free: 104.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/3.288, allocations: 94.41 kB / 0.8516 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003241/3.288, allocations: 215.5 kB / 0.8519 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/3.299, allocations: 2.469 MB / 0.8543 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01852/3.317, allocations: 2.677 MB / 0.8569 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03279/3.35, allocations: 16.91 MB / 0.8734 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0146/3.365, allocations: 0.6673 MB / 0.874 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003034/3.368, allocations: 0.6437 MB / 0.8747 GB, free: 100 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 (1362): * Single equations (assignments): 1356 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004924/3.373, allocations: 0.9477 MB / 0.8756 GB, free: 99.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002618/3.375, allocations: 0.7498 MB / 0.8763 GB, free: 99.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03361/3.409, allocations: 10.66 MB / 0.8867 GB, free: 96.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/3.409, allocations: 48.78 kB / 0.8868 GB, free: 96.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/3.409, allocations: 14.66 kB / 0.8868 GB, free: 96.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001523/3.41, allocations: 23.2 kB / 0.8868 GB, free: 96.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07034/3.48, allocations: 22.83 MB / 0.9091 GB, free: 88.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.612e-05/3.48, allocations: 3.625 kB / 0.9091 GB, free: 88.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009377/3.489, allocations: 0.8847 MB / 0.91 GB, free: 88.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009971/3.499, allocations: 2.134 MB / 0.9121 GB, free: 88.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001478/3.501, allocations: 90.22 kB / 0.9122 GB, free: 88.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03118/3.532, allocations: 15.69 MB / 0.9275 GB, free: 74.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/3.532, allocations: 7.375 kB / 0.9275 GB, free: 74.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0437/3.576, allocations: 17.58 MB / 0.9447 GB, free: 59.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006986/3.583, allocations: 1.609 MB / 0.9462 GB, free: 58.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00334/3.586, allocations: 81.17 kB / 0.9463 GB, free: 58.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008924/3.595, allocations: 361 kB / 0.9466 GB, free: 57.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001943/3.597, allocations: 289.1 kB / 0.9469 GB, free: 57.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001122/3.598, allocations: 129.3 kB / 0.947 GB, free: 57.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01381/3.612, allocations: 5.2 MB / 0.9521 GB, free: 53.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.002e-06/3.612, allocations: 0 / 0.9521 GB, free: 53.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01573/3.628, allocations: 2.266 MB / 0.9543 GB, free: 50.75 MB / 474.7 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 (406): * Single equations (assignments): 400 * 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.04482/3.673, allocations: 18.89 MB / 0.9728 GB, free: 34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02881/3.702, allocations: 12 MB / 0.9845 GB, free: 22.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/3.702, allocations: 0 / 0.9845 GB, free: 22.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01497/3.717, allocations: 5.208 MB / 0.9896 GB, free: 17.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008699/3.726, allocations: 0.9368 MB / 0.9905 GB, free: 16.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4117/4.137, allocations: 22.41 MB / 1.012 GB, free: 99.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01937/4.157, allocations: 6.583 MB / 1.019 GB, free: 98.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01328/4.17, allocations: 4.526 MB / 1.023 GB, free: 98.73 MB / 474.7 MB Notification: Performance of SimCode: time 2.154e-06/4.17, allocations: 0 / 1.023 GB, free: 98.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.975/11.15, allocations: 290.1 MB / 1.306 GB, free: 41.57 MB / 490.7 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