Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.001/2.001, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.415e-05/4.432e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.5691, allocations: 92.54 MB / 414.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004169/0.5696, allocations: 79.94 kB / 414.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9852/1.555, allocations: 162.5 MB / 0.5634 GB, free: 85.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.555, allocations: 0 / 0.5634 GB, free: 85.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006134/1.555, allocations: 161.1 kB / 0.5636 GB, free: 85.13 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03445/1.59, allocations: 8.016 MB / 0.5714 GB, free: 80.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.59, allocations: 9.812 kB / 0.5714 GB, free: 80.19 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006787/1.597, allocations: 1.4 MB / 0.5728 GB, free: 79.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.137/1.734, allocations: 12.03 MB / 0.5846 GB, free: 71.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05457/1.788, allocations: 10.79 MB / 0.5951 GB, free: 60.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007608/1.789, allocations: 0.6044 MB / 0.5957 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004581/1.794, allocations: 0.811 MB / 0.5965 GB, free: 59.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06669/1.861, allocations: 19 MB / 0.615 GB, free: 38.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006745/1.861, allocations: 107 kB / 0.6151 GB, free: 38.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004245/1.866, allocations: 383.4 kB / 0.6155 GB, free: 38.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003919/1.87, allocations: 1.74 MB / 0.6172 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06808/1.938, allocations: 15.17 MB / 0.632 GB, free: 21.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4564/2.394, allocations: 79.59 MB / 0.7097 GB, free: 23.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03527/2.429, allocations: 8.148 MB / 0.7177 GB, free: 22.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008494/2.438, allocations: 4.089 MB / 0.7217 GB, free: 22.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/2.439, allocations: 0.6639 MB / 0.7223 GB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.726e-05/2.439, allocations: 74.14 kB / 0.7224 GB, free: 22.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 7.774e-06/2.439, allocations: 0 / 0.7224 GB, free: 22.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=331): time 0.1241/2.563, allocations: 25.9 MB / 0.7477 GB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/2.564, allocations: 296.7 kB / 0.748 GB, free: 14.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01769/2.581, allocations: 6.649 MB / 0.7545 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009054/2.582, allocations: 79.23 kB / 0.7546 GB, free: 11.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005399/2.588, allocations: 5.605 MB / 0.76 GB, free: 7.598 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002098/2.59, allocations: 1.254 MB / 0.7613 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/2.591, allocations: 185.2 kB / 0.7614 GB, free: 6.535 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000785/2.592, allocations: 0.7061 MB / 0.7621 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008684/2.601, allocations: 3.366 MB / 0.7654 GB, free: 4.914 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/2.615, allocations: 8.802 MB / 0.774 GB, free: 12.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/2.63, allocations: 5.41 MB / 0.7793 GB, free: 10.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003029/2.63, allocations: 56.22 kB / 0.7793 GB, free: 10.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03771/2.668, allocations: 12.31 MB / 0.7914 GB, free: 3.746 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/2.668, allocations: 88 kB / 0.7914 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003841/2.668, allocations: 192 kB / 0.7916 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004606/2.673, allocations: 1.011 MB / 0.7926 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01527/2.688, allocations: 2.155 MB / 0.7947 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/2.71, allocations: 10.99 MB / 0.8054 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/2.723, allocations: 0.5162 MB / 0.806 GB, free: 5.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002543/2.725, allocations: 0.5452 MB / 0.8065 GB, free: 5.266 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * 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 (1149): * Single equations (assignments): 1142 * 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.003855/2.729, allocations: 0.8287 MB / 0.8073 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/2.731, allocations: 0.6633 MB / 0.8079 GB, free: 3.766 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0193/2.751, allocations: 5.856 MB / 0.8137 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.651e-05/2.751, allocations: 39.47 kB / 0.8137 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-05/2.751, allocations: 8 kB / 0.8137 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-05/2.751, allocations: 14.77 kB / 0.8137 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05192/2.803, allocations: 14.63 MB / 0.828 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.629e-05/2.803, allocations: 0 / 0.828 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005918/2.809, allocations: 0.5314 MB / 0.8285 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003646/2.813, allocations: 0.6607 MB / 0.8292 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009393/2.814, allocations: 58.53 kB / 0.8292 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3686/3.182, allocations: 9.857 MB / 0.8389 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/3.182, allocations: 4.656 kB / 0.8389 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02908/3.212, allocations: 9.916 MB / 0.8485 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005319/3.217, allocations: 1.17 MB / 0.8497 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003164/3.22, allocations: 64.16 kB / 0.8497 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0073/3.227, allocations: 191.6 kB / 0.8499 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/3.229, allocations: 193 kB / 0.8501 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007109/3.23, allocations: 84.25 kB / 0.8502 GB, free: 106.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01537/3.245, allocations: 4.748 MB / 0.8548 GB, free: 106.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.163e-06/3.245, allocations: 2.734 kB / 0.8548 GB, free: 106.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0139/3.259, allocations: 1.812 MB / 0.8566 GB, free: 106.6 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 (276): * Single equations (assignments): 269 * 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.02681/3.286, allocations: 10.88 MB / 0.8672 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02108/3.307, allocations: 8.334 MB / 0.8754 GB, free: 102.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/3.307, allocations: 1.094 kB / 0.8754 GB, free: 102.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007685/3.315, allocations: 3.084 MB / 0.8784 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008844/3.324, allocations: 0.9152 MB / 0.8793 GB, free: 100.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0584/3.382, allocations: 17.12 MB / 0.896 GB, free: 94.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01559/3.398, allocations: 5.892 MB / 0.9017 GB, free: 93.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01575/3.413, allocations: 3.044 MB / 0.9047 GB, free: 92.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009526/3.423, allocations: 3.906 MB / 0.9085 GB, free: 89.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.884e-06/3.423, allocations: 0 / 0.9085 GB, free: 89.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.699/4.122, allocations: 145.3 MB / 1.05 GB, free: 106.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/4.122, allocations: 169.3 kB / 1.051 GB, free: 106.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.977/13.1, allocations: 0 / 1.051 GB, free: 106.4 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat