Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.055/2.055, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.237e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.5738, allocations: 92.13 MB / 408.4 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5741, allocations: 82.25 kB / 408.5 MB, free: 332 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9252/1.499, allocations: 158.9 MB / 0.5541 GB, free: 72.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.499, allocations: 0 / 0.5541 GB, free: 72.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006346/1.5, allocations: 162.8 kB / 0.5543 GB, free: 72.61 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.0355/1.536, allocations: 7.998 MB / 0.5621 GB, free: 67.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.536, allocations: 8.781 kB / 0.5621 GB, free: 67.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08754/1.623, allocations: 12.03 MB / 0.5738 GB, free: 55.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03866/1.662, allocations: 10.79 MB / 0.5844 GB, free: 44.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005561/1.663, allocations: 264 kB / 0.5846 GB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004746/1.667, allocations: 487.8 kB / 0.5851 GB, free: 43.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02951/1.697, allocations: 10.98 MB / 0.5958 GB, free: 32.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04691/1.744, allocations: 16.51 MB / 0.6119 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007328/1.745, allocations: 103 kB / 0.612 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004162/1.749, allocations: 51.95 kB / 0.6121 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003987/1.753, allocations: 1.727 MB / 0.6138 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4583/2.211, allocations: 76.29 MB / 0.6883 GB, free: 37.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/2.224, allocations: 5.88 MB / 0.694 GB, free: 37.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008069/2.232, allocations: 4.002 MB / 0.6979 GB, free: 37.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/2.233, allocations: 0.6651 MB / 0.6986 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.789e-05/2.233, allocations: 73.8 kB / 0.6986 GB, free: 36.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 7.544e-06/2.233, allocations: 0 / 0.6986 GB, free: 36.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.11/2.343, allocations: 34.21 MB / 0.732 GB, free: 25.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/2.343, allocations: 293.8 kB / 0.7323 GB, free: 25.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01421/2.357, allocations: 5.36 MB / 0.7375 GB, free: 23.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008972/2.358, allocations: 27.36 kB / 0.7376 GB, free: 23.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004903/2.363, allocations: 5.489 MB / 0.7429 GB, free: 19.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002241/2.366, allocations: 1.222 MB / 0.7441 GB, free: 18.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/2.367, allocations: 0 / 0.7441 GB, free: 18.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007196/2.368, allocations: 0.7273 MB / 0.7448 GB, free: 17.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00802/2.376, allocations: 3.27 MB / 0.748 GB, free: 16.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/2.388, allocations: 8.913 MB / 0.7567 GB, free: 7.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/2.4, allocations: 5.333 MB / 0.7619 GB, free: 5.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002414/2.401, allocations: 56 kB / 0.762 GB, free: 5.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03444/2.435, allocations: 11.58 MB / 0.7733 GB, free: 11.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/2.435, allocations: 102.9 kB / 0.7734 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003989/2.436, allocations: 204 kB / 0.7736 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004509/2.44, allocations: 1.001 MB / 0.7746 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01543/2.456, allocations: 2.231 MB / 0.7768 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/2.476, allocations: 10.6 MB / 0.7871 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/2.487, allocations: 339.8 kB / 0.7874 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002803/2.49, allocations: 0.5706 MB / 0.788 GB, free: 13.13 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (1189): * Single equations (assignments): 1182 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004085/2.494, allocations: 0.6151 MB / 0.7886 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01762/2.512, allocations: 5.57 MB / 0.794 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002476/2.515, allocations: 0.5823 MB / 0.7946 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01883/2.533, allocations: 5.62 MB / 0.8001 GB, free: 2.453 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/2.534, allocations: 36 kB / 0.8001 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.577e-05/2.534, allocations: 8 kB / 0.8001 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.464e-05/2.534, allocations: 23.33 kB / 0.8001 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04734/2.581, allocations: 13.16 MB / 0.813 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-05/2.581, allocations: 2.688 kB / 0.813 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007947/2.589, allocations: 0.5349 MB / 0.8135 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/2.593, allocations: 0.6494 MB / 0.8142 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008853/2.594, allocations: 14.81 kB / 0.8142 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3667/2.96, allocations: 9.482 MB / 0.8234 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/2.961, allocations: 5.844 kB / 0.8234 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/2.986, allocations: 9.657 MB / 0.8329 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005312/2.992, allocations: 1.058 MB / 0.8339 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002758/2.994, allocations: 11.27 kB / 0.8339 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006095/3.001, allocations: 144.4 kB / 0.8341 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/3.002, allocations: 197.3 kB / 0.8342 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003877/3.002, allocations: 88.81 kB / 0.8343 GB, free: 113.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0112/3.014, allocations: 3.653 MB / 0.8379 GB, free: 113 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.21e-07/3.014, allocations: 2.516 kB / 0.8379 GB, free: 113 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01343/3.027, allocations: 1.578 MB / 0.8394 GB, free: 113 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (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 (280): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02101/3.048, allocations: 10.6 MB / 0.8498 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01769/3.066, allocations: 8.278 MB / 0.8579 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/3.066, allocations: 3.188 kB / 0.8579 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006597/3.072, allocations: 3.06 MB / 0.8609 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006907/3.079, allocations: 0.7424 MB / 0.8616 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05308/3.133, allocations: 17.65 MB / 0.8788 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01371/3.146, allocations: 5.902 MB / 0.8846 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009241/3.156, allocations: 3.974 MB / 0.8885 GB, free: 98.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.542e-06/3.156, allocations: 0 / 0.8885 GB, free: 98.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.495/9.651, allocations: 279.1 MB / 1.161 GB, free: 96.33 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat