Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.669/2.669, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.879e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3962, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.5852, allocations: 101.3 MB / 461.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5855, allocations: 67.97 kB / 461.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8564/1.442, allocations: 133 MB / 0.5803 GB, free: 98.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.442, allocations: 0 / 0.5803 GB, free: 98.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000394/1.442, allocations: 129.7 kB / 0.5804 GB, free: 98.57 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02728/1.47, allocations: 6.44 MB / 0.5867 GB, free: 95.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.47, allocations: 10.66 kB / 0.5867 GB, free: 95.44 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005836/1.476, allocations: 1.199 MB / 0.5879 GB, free: 94.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06833/1.544, allocations: 7.133 MB / 0.5948 GB, free: 91.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03924/1.583, allocations: 7.228 MB / 0.6019 GB, free: 87.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009269/1.584, allocations: 0.5088 MB / 0.6024 GB, free: 86.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005051/1.589, allocations: 0.6627 MB / 0.603 GB, free: 86.26 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05636/1.646, allocations: 16.53 MB / 0.6192 GB, free: 68.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003974/1.646, allocations: 83.19 kB / 0.6193 GB, free: 68.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002837/1.649, allocations: 323.8 kB / 0.6196 GB, free: 68.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003091/1.652, allocations: 1.562 MB / 0.6211 GB, free: 66.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04332/1.696, allocations: 13.52 MB / 0.6343 GB, free: 52.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4556/2.151, allocations: 70.14 MB / 0.7028 GB, free: 94.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03582/2.187, allocations: 7.807 MB / 0.7104 GB, free: 93.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008564/2.196, allocations: 3.882 MB / 0.7142 GB, free: 93.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/2.196, allocations: 61.69 kB / 0.7143 GB, free: 93.83 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/2.196, allocations: 59.34 kB / 0.7143 GB, free: 93.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 7.875e-06/2.196, allocations: 2.031 kB / 0.7143 GB, free: 93.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.125/2.321, allocations: 28.24 MB / 0.7419 GB, free: 90.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/2.321, allocations: 218.8 kB / 0.7421 GB, free: 89.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01407/2.335, allocations: 5.568 MB / 0.7475 GB, free: 88.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001099/2.337, allocations: 75.42 kB / 0.7476 GB, free: 88.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004695/2.341, allocations: 4.597 MB / 0.7521 GB, free: 85.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002155/2.344, allocations: 1.237 MB / 0.7533 GB, free: 84.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/2.345, allocations: 170.6 kB / 0.7535 GB, free: 83.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000736/2.346, allocations: 0.6693 MB / 0.7541 GB, free: 83.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00954/2.355, allocations: 3.706 MB / 0.7577 GB, free: 82.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/2.368, allocations: 8.471 MB / 0.766 GB, free: 74.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/2.381, allocations: 5.564 MB / 0.7715 GB, free: 72.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002285/2.381, allocations: 46.91 kB / 0.7715 GB, free: 72.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.0378/2.419, allocations: 13.1 MB / 0.7843 GB, free: 68.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/2.419, allocations: 82.34 kB / 0.7844 GB, free: 68.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002309/2.42, allocations: 168 kB / 0.7845 GB, free: 68.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006847/2.426, allocations: 1.686 MB / 0.7862 GB, free: 67.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01407/2.441, allocations: 2.088 MB / 0.7882 GB, free: 65.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/2.461, allocations: 11.36 MB / 0.7993 GB, free: 55.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.473, allocations: 0.5223 MB / 0.7998 GB, free: 54.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/2.475, allocations: 0.4997 MB / 0.8003 GB, free: 54.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1047): * Single equations (assignments): 1042 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003722/2.479, allocations: 0.7504 MB / 0.801 GB, free: 53.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001811/2.481, allocations: 0.5515 MB / 0.8016 GB, free: 53.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02319/2.504, allocations: 7.431 MB / 0.8088 GB, free: 47.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-05/2.504, allocations: 36 kB / 0.8089 GB, free: 46.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.844e-05/2.504, allocations: 15.25 kB / 0.8089 GB, free: 46.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-05/2.504, allocations: 21.42 kB / 0.8089 GB, free: 46.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05356/2.558, allocations: 16.25 MB / 0.8248 GB, free: 33.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.166e-05/2.558, allocations: 4.625 kB / 0.8248 GB, free: 33.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009469/2.568, allocations: 0.6517 MB / 0.8254 GB, free: 32.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008965/2.577, allocations: 1.419 MB / 0.8268 GB, free: 31.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001178/2.578, allocations: 63.98 kB / 0.8269 GB, free: 31.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02978/2.608, allocations: 10.59 MB / 0.8372 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/2.608, allocations: 7.938 kB / 0.8372 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03338/2.641, allocations: 12.7 MB / 0.8496 GB, free: 7.262 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004742/2.646, allocations: 1.204 MB / 0.8508 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002359/2.648, allocations: 56 kB / 0.8508 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006664/2.655, allocations: 275.6 kB / 0.8511 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001315/2.656, allocations: 197.8 kB / 0.8513 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004972/2.657, allocations: 91.89 kB / 0.8514 GB, free: 5.426 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01081/2.668, allocations: 3.944 MB / 0.8552 GB, free: 1.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.864e-06/2.668, allocations: 0 / 0.8552 GB, free: 1.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01229/2.68, allocations: 1.668 MB / 0.8569 GB, free: 15.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03757/2.718, allocations: 14.07 MB / 0.8706 GB, free: 1.551 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02529/2.743, allocations: 8.915 MB / 0.8793 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/2.743, allocations: 0 / 0.8793 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.3607/3.104, allocations: 3.744 MB / 0.883 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006692/3.111, allocations: 0.6712 MB / 0.8836 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06189/3.173, allocations: 15.58 MB / 0.8988 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01423/3.187, allocations: 4.992 MB / 0.9037 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01497/3.202, allocations: 2.924 MB / 0.9066 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009312/3.211, allocations: 3.16 MB / 0.9096 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of SimCode: time 2.866e-06/3.211, allocations: 1.641 kB / 0.9097 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2742/3.486, allocations: 128 MB / 1.035 GB, free: 34.01 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/3.486, allocations: 184.4 kB / 1.035 GB, free: 33.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/11.48, allocations: 0 / 1.035 GB, free: 33.78 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat