Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.598/2.598, allocations: 270 MB / 283.6 MB, free: 1.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.133e-05, allocations: 8 kB / 348.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.479, allocations: 61.87 MB / 410.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2602/0.7393, allocations: 106.8 MB / 0.505 GB, free: 15.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.7396, allocations: 71.95 kB / 0.5051 GB, free: 15.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077/1.817, allocations: 155.9 MB / 0.6574 GB, free: 14.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.817, allocations: 4 kB / 0.6574 GB, free: 14.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006922/1.818, allocations: 152 kB / 0.6575 GB, free: 14.81 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.03494/1.853, allocations: 7.62 MB / 0.665 GB, free: 7.109 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.853, allocations: 12.03 kB / 0.665 GB, free: 7.098 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006611/1.859, allocations: 1.309 MB / 0.6663 GB, free: 5.777 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0936/1.953, allocations: 11.92 MB / 0.6779 GB, free: 9.824 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04/1.993, allocations: 9.972 MB / 0.6877 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009388/1.994, allocations: 0.5658 MB / 0.6882 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004295/1.998, allocations: 0.7691 MB / 0.689 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06475/2.063, allocations: 17.86 MB / 0.7064 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007051/2.064, allocations: 107 kB / 0.7065 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003867/2.068, allocations: 367.8 kB / 0.7069 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004211/2.072, allocations: 1.571 MB / 0.7084 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5067/2.579, allocations: 14.07 MB / 0.7221 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1139/2.693, allocations: 75.43 MB / 0.7958 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03387/2.727, allocations: 7.418 MB / 0.803 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007059/2.734, allocations: 3.538 MB / 0.8065 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009464/2.735, allocations: 0.6508 MB / 0.8071 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/2.735, allocations: 62.59 kB / 0.8072 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=239): time 7.094e-06/2.735, allocations: 0 / 0.8072 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263): time 0.1172/2.852, allocations: 23.01 MB / 0.8297 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/2.852, allocations: 297.8 kB / 0.8299 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01615/2.868, allocations: 6.417 MB / 0.8362 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006566/2.869, allocations: 68.89 kB / 0.8363 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005262/2.874, allocations: 5.334 MB / 0.8415 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/2.876, allocations: 1.024 MB / 0.8425 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/2.877, allocations: 169.1 kB / 0.8426 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007075/2.878, allocations: 0.667 MB / 0.8433 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007213/2.885, allocations: 2.841 MB / 0.8461 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/2.896, allocations: 8.019 MB / 0.8539 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/2.906, allocations: 4.755 MB / 0.8585 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001885/2.907, allocations: 52 kB / 0.8586 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.03005/2.937, allocations: 10.94 MB / 0.8693 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/2.937, allocations: 84 kB / 0.8694 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002595/2.937, allocations: 188.8 kB / 0.8695 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003992/2.941, allocations: 0.9908 MB / 0.8705 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01205/2.953, allocations: 1.928 MB / 0.8724 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/2.974, allocations: 10.99 MB / 0.8831 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/2.985, allocations: 450.7 kB / 0.8835 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002218/2.987, allocations: 0.5154 MB / 0.884 GB, free: 4.207 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1040): * Single equations (assignments): 1033 * 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.003087/2.99, allocations: 0.7908 MB / 0.8848 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/2.992, allocations: 0.6208 MB / 0.8854 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/3.006, allocations: 4.561 MB / 0.8899 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.847e-05/3.006, allocations: 28 kB / 0.8899 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/3.006, allocations: 12 kB / 0.8899 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.409e-05/3.006, allocations: 20.8 kB / 0.8899 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04453/3.051, allocations: 12.39 MB / 0.902 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.2e-05/3.051, allocations: 8 kB / 0.9021 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006362/3.058, allocations: 385.1 kB / 0.9024 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005722/3.063, allocations: 0.6701 MB / 0.9031 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008978/3.064, allocations: 46.81 kB / 0.9031 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02855/3.093, allocations: 9.85 MB / 0.9127 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/3.093, allocations: 7.969 kB / 0.9127 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03354/3.127, allocations: 7.902 MB / 0.9205 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004077/3.131, allocations: 0.675 MB / 0.9211 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004316/3.135, allocations: 44 kB / 0.9212 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007544/3.143, allocations: 149.8 kB / 0.9213 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001637/3.144, allocations: 153.1 kB / 0.9215 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001273/3.146, allocations: 64 kB / 0.9215 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.4664/3.612, allocations: 4.811 MB / 0.9262 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.42e-07/3.612, allocations: 2.469 kB / 0.9262 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01401/3.626, allocations: 1.642 MB / 0.9278 GB, free: 123.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (207): * Single equations (assignments): 200 * 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.02591/3.652, allocations: 8.751 MB / 0.9364 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01652/3.669, allocations: 7.108 MB / 0.9433 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/3.669, allocations: 0 / 0.9433 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005509/3.674, allocations: 2.522 MB / 0.9458 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008397/3.683, allocations: 0.9109 MB / 0.9467 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05218/3.735, allocations: 15.55 MB / 0.9618 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01391/3.749, allocations: 5.556 MB / 0.9673 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01382/3.763, allocations: 2.756 MB / 0.97 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008778/3.772, allocations: 3.631 MB / 0.9735 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.525e-06/3.772, allocations: 0 / 0.9735 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3182/4.09, allocations: 134.6 MB / 1.105 GB, free: 24.22 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/4.09, allocations: 170.3 kB / 1.105 GB, free: 23.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/13.02, allocations: 0 / 1.105 GB, free: 23.99 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat