Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.317e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.5897, allocations: 93.34 MB / 409.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.59, allocations: 73.88 kB / 409.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7835/1.374, allocations: 108.4 MB / 0.5059 GB, free: 84.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.374, allocations: 0 / 0.5059 GB, free: 84.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003554/1.374, allocations: 100 kB / 0.506 GB, free: 84.39 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02128/1.395, allocations: 5.334 MB / 0.5112 GB, free: 82.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.395, allocations: 15.55 kB / 0.5113 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06068/1.456, allocations: 6.929 MB / 0.518 GB, free: 81.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03263/1.489, allocations: 6.783 MB / 0.5246 GB, free: 81.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000457/1.489, allocations: 170.4 kB / 0.5248 GB, free: 81.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003267/1.493, allocations: 316.9 kB / 0.5251 GB, free: 81.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01983/1.512, allocations: 7.222 MB / 0.5322 GB, free: 80.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02806/1.541, allocations: 11.4 MB / 0.5433 GB, free: 74.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003165/1.541, allocations: 73.25 kB / 0.5434 GB, free: 74.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/1.543, allocations: 37.75 kB / 0.5434 GB, free: 74.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002508/1.545, allocations: 1.211 MB / 0.5446 GB, free: 74.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07992/1.625, allocations: 56.15 MB / 0.5994 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006337/1.631, allocations: 3.45 MB / 0.6028 GB, free: 22.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004012/1.636, allocations: 2.1 MB / 0.6048 GB, free: 19.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/1.636, allocations: 32.8 kB / 0.6049 GB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/1.636, allocations: 47.81 kB / 0.6049 GB, free: 19.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 5.911e-06/1.636, allocations: 0 / 0.6049 GB, free: 19.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=197): time 0.05306/1.689, allocations: 17.33 MB / 0.6218 GB, free: 2.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/1.689, allocations: 205.2 kB / 0.622 GB, free: 2.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009974/1.699, allocations: 4.05 MB / 0.626 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005026/1.7, allocations: 25.7 kB / 0.626 GB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004808/1.704, allocations: 3.964 MB / 0.6299 GB, free: 10.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.706, allocations: 0.7599 MB / 0.6306 GB, free: 9.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008878/1.707, allocations: 0 / 0.6306 GB, free: 9.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006977/1.708, allocations: 0.6168 MB / 0.6312 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006062/1.714, allocations: 2.162 MB / 0.6333 GB, free: 6.547 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3219/2.036, allocations: 6.693 MB / 0.6399 GB, free: 85.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009833/2.046, allocations: 3.785 MB / 0.6436 GB, free: 85.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002348/2.046, allocations: 46.72 kB / 0.6436 GB, free: 85.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.02576/2.072, allocations: 8.075 MB / 0.6515 GB, free: 85.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/2.072, allocations: 76.16 kB / 0.6516 GB, free: 85.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003792/2.072, allocations: 164.2 kB / 0.6517 GB, free: 85.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/2.075, allocations: 0.5884 MB / 0.6523 GB, free: 85.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/2.086, allocations: 1.682 MB / 0.6539 GB, free: 85.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008951/2.095, allocations: 5.409 MB / 0.6592 GB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008521/2.104, allocations: 243.5 kB / 0.6595 GB, free: 82.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/2.106, allocations: 454.3 kB / 0.6599 GB, free: 82.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (906): * Single equations (assignments): 901 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003399/2.109, allocations: 0.5059 MB / 0.6604 GB, free: 82.35 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009478/2.119, allocations: 3.129 MB / 0.6634 GB, free: 82.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/2.12, allocations: 416.3 kB / 0.6638 GB, free: 82.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007947/2.128, allocations: 2.928 MB / 0.6667 GB, free: 82.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.06e-05/2.128, allocations: 22.31 kB / 0.6667 GB, free: 82.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/2.128, allocations: 6.5 kB / 0.6667 GB, free: 82.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-05/2.128, allocations: 10.22 kB / 0.6667 GB, free: 82.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/2.15, allocations: 7.326 MB / 0.6739 GB, free: 81.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/2.15, allocations: 3.344 kB / 0.6739 GB, free: 81.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/2.153, allocations: 297.5 kB / 0.6742 GB, free: 81.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/2.155, allocations: 340.3 kB / 0.6745 GB, free: 81.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004535/2.156, allocations: 9.938 kB / 0.6745 GB, free: 81.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007537/2.163, allocations: 4.734 MB / 0.6791 GB, free: 77.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/2.163, allocations: 0 / 0.6791 GB, free: 77.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/2.175, allocations: 5.534 MB / 0.6845 GB, free: 75.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/2.178, allocations: 0.7076 MB / 0.6852 GB, free: 74.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/2.18, allocations: 7.125 kB / 0.6852 GB, free: 74.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003481/2.183, allocations: 63.8 kB / 0.6853 GB, free: 74.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006616/2.184, allocations: 116.9 kB / 0.6854 GB, free: 74.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/2.184, allocations: 49.2 kB / 0.6855 GB, free: 74.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007415/2.191, allocations: 2.745 MB / 0.6881 GB, free: 73.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.192, allocations: 0 / 0.6881 GB, free: 73.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009568/2.201, allocations: 1.028 MB / 0.6891 GB, free: 73.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (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 (156): * Single equations (assignments): 151 * 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 {(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.01245/2.214, allocations: 6.463 MB / 0.6954 GB, free: 70.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01221/2.226, allocations: 5.321 MB / 0.7006 GB, free: 68.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/2.226, allocations: 0 / 0.7006 GB, free: 68.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003512/2.229, allocations: 1.654 MB / 0.7023 GB, free: 67.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004408/2.234, allocations: 489.7 kB / 0.7027 GB, free: 67.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/2.271, allocations: 11.42 MB / 0.7139 GB, free: 63.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009189/2.28, allocations: 4.137 MB / 0.7179 GB, free: 60.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00607/2.286, allocations: 2.551 MB / 0.7204 GB, free: 58.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.452e-06/2.286, allocations: 0 / 0.7204 GB, free: 58.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.993/7.279, allocations: 143.9 MB / 0.8609 GB, free: 83.93 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat