Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.554/2.554, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.507e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3749, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5752, allocations: 99.91 MB / 454.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5755, allocations: 71.97 kB / 454.4 MB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8246/1.4, allocations: 108.5 MB / 0.5497 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.4, allocations: 4 kB / 0.5497 GB, free: 14.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004106/1.401, allocations: 108 kB / 0.5498 GB, free: 14.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02221/1.423, allocations: 5.33 MB / 0.555 GB, free: 9.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/1.423, allocations: 8.031 kB / 0.555 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05596/1.479, allocations: 6.931 MB / 0.5618 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02889/1.508, allocations: 6.781 MB / 0.5684 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004409/1.508, allocations: 168 kB / 0.5686 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003241/1.512, allocations: 328.3 kB / 0.5689 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02309/1.535, allocations: 7.229 MB / 0.5759 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03619/1.571, allocations: 11.39 MB / 0.5871 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004583/1.572, allocations: 83.27 kB / 0.5871 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002739/1.574, allocations: 40 kB / 0.5872 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/1.578, allocations: 1.207 MB / 0.5884 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4832/2.061, allocations: 56.16 MB / 0.6432 GB, free: 57.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006877/2.068, allocations: 3.466 MB / 0.6466 GB, free: 57.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00441/2.073, allocations: 2.082 MB / 0.6486 GB, free: 57.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/2.073, allocations: 33.33 kB / 0.6486 GB, free: 57.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/2.073, allocations: 55.28 kB / 0.6487 GB, free: 57.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 7.054e-06/2.073, allocations: 3.844 kB / 0.6487 GB, free: 57.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=197): time 0.05775/2.131, allocations: 17.31 MB / 0.6656 GB, free: 53.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/2.131, allocations: 199.1 kB / 0.6658 GB, free: 53.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009621/2.141, allocations: 4.059 MB / 0.6698 GB, free: 53.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004787/2.141, allocations: 25.7 kB / 0.6698 GB, free: 53.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003799/2.145, allocations: 4.066 MB / 0.6738 GB, free: 51.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/2.146, allocations: 0.7528 MB / 0.6745 GB, free: 50.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008956/2.147, allocations: 0 / 0.6745 GB, free: 50.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005406/2.148, allocations: 0.6156 MB / 0.6751 GB, free: 50.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005639/2.153, allocations: 2.155 MB / 0.6772 GB, free: 50.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008616/2.162, allocations: 6.704 MB / 0.6837 GB, free: 44.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008918/2.171, allocations: 3.782 MB / 0.6874 GB, free: 43.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/2.171, allocations: 45.28 kB / 0.6875 GB, free: 43.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.02426/2.196, allocations: 8.22 MB / 0.6955 GB, free: 41.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/2.196, allocations: 78.84 kB / 0.6956 GB, free: 41.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000227/2.196, allocations: 163.2 kB / 0.6957 GB, free: 41.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/2.198, allocations: 0.5862 MB / 0.6963 GB, free: 40.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/2.209, allocations: 1.679 MB / 0.6979 GB, free: 40.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008893/2.218, allocations: 5.423 MB / 0.7032 GB, free: 37.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008227/2.226, allocations: 241.6 kB / 0.7035 GB, free: 37.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/2.228, allocations: 459.7 kB / 0.7039 GB, free: 36.96 MB / 458.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.001765/2.23, allocations: 0.5046 MB / 0.7044 GB, free: 36.55 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008286/2.238, allocations: 3.114 MB / 0.7074 GB, free: 35.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/2.239, allocations: 422.7 kB / 0.7079 GB, free: 35.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008223/2.248, allocations: 2.935 MB / 0.7107 GB, free: 33.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-05/2.248, allocations: 20 kB / 0.7107 GB, free: 33.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/2.248, allocations: 4 kB / 0.7107 GB, free: 33.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/2.248, allocations: 19.28 kB / 0.7108 GB, free: 33.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/2.269, allocations: 7.316 MB / 0.7179 GB, free: 27.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/2.269, allocations: 2.375 kB / 0.7179 GB, free: 27.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003236/2.272, allocations: 300.9 kB / 0.7182 GB, free: 27.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/2.274, allocations: 335.5 kB / 0.7185 GB, free: 26.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/2.274, allocations: 14.2 kB / 0.7185 GB, free: 26.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007793/2.282, allocations: 4.731 MB / 0.7231 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/2.282, allocations: 3.625 kB / 0.7232 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/2.294, allocations: 5.531 MB / 0.7286 GB, free: 17.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/2.297, allocations: 0.711 MB / 0.7292 GB, free: 16.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009703/2.298, allocations: 4 kB / 0.7293 GB, free: 16.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/2.301, allocations: 70.33 kB / 0.7293 GB, free: 16.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/2.301, allocations: 108.3 kB / 0.7294 GB, free: 16.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/2.302, allocations: 48 kB / 0.7295 GB, free: 16.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006925/2.308, allocations: 2.744 MB / 0.7321 GB, free: 14.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.01e-07/2.309, allocations: 0 / 0.7321 GB, free: 14.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009512/2.318, allocations: 1.022 MB / 0.7331 GB, free: 13.06 MB / 458.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.01246/2.331, allocations: 6.469 MB / 0.7395 GB, free: 7.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/2.343, allocations: 5.331 MB / 0.7447 GB, free: 2.383 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/2.343, allocations: 0 / 0.7447 GB, free: 2.383 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003647/2.346, allocations: 1.659 MB / 0.7463 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/2.351, allocations: 472.4 kB / 0.7467 GB, free: 484 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04187/2.392, allocations: 10.92 MB / 0.7574 GB, free: 7.422 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/2.403, allocations: 4.134 MB / 0.7614 GB, free: 4.352 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01252/2.416, allocations: 2.334 MB / 0.7637 GB, free: 2.883 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006954/2.423, allocations: 2.503 MB / 0.7662 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/2.423, allocations: 0 / 0.7662 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6225/3.045, allocations: 86.76 MB / 0.8509 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002615/3.046, allocations: 136.2 kB / 0.851 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.905/8.951, allocations: 3.938 kB / 0.851 GB, free: 144.2 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat