Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.048/2.048, allocations: 209.3 MB / 221.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.056e-05, allocations: 4 kB / 273.1 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.72 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5356, allocations: 93.94 MB / 415.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5359, allocations: 79.94 kB / 415.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7774/1.313, allocations: 114.4 MB / 0.5178 GB, free: 90.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/1.313, allocations: 0 / 0.5178 GB, free: 90.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004394/1.314, allocations: 109.1 kB / 0.5179 GB, free: 90.6 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.02391/1.338, allocations: 5.461 MB / 0.5233 GB, free: 88.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.338, allocations: 11.66 kB / 0.5233 GB, free: 88.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004632/1.342, allocations: 0.9754 MB / 0.5242 GB, free: 88.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05075/1.393, allocations: 6.955 MB / 0.531 GB, free: 87.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02477/1.418, allocations: 6.861 MB / 0.5377 GB, free: 87.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005411/1.419, allocations: 416.7 kB / 0.5381 GB, free: 87.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003218/1.422, allocations: 0.549 MB / 0.5387 GB, free: 87.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03945/1.461, allocations: 13.25 MB / 0.5516 GB, free: 82.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004174/1.462, allocations: 72.06 kB / 0.5517 GB, free: 82.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002579/1.464, allocations: 268.7 kB / 0.5519 GB, free: 82.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002757/1.467, allocations: 1.256 MB / 0.5532 GB, free: 82.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03197/1.499, allocations: 10.5 MB / 0.5634 GB, free: 78.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08723/1.587, allocations: 59.63 MB / 0.6216 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/1.605, allocations: 4.62 MB / 0.6262 GB, free: 23.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004578/1.609, allocations: 2.22 MB / 0.6283 GB, free: 21.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01684/1.626, allocations: 6.484 MB / 0.6347 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/1.626, allocations: 51.78 kB / 0.6347 GB, free: 15.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 6.613e-06/1.626, allocations: 3.938 kB / 0.6347 GB, free: 15.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.05814/1.684, allocations: 14.55 MB / 0.6489 GB, free: 360 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/1.685, allocations: 227 kB / 0.6491 GB, free: 80 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/1.699, allocations: 5.152 MB / 0.6542 GB, free: 10.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004981/1.7, allocations: 49.7 kB / 0.6542 GB, free: 10.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00524/1.705, allocations: 4.129 MB / 0.6582 GB, free: 6.773 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.706, allocations: 0.7756 MB / 0.659 GB, free: 6.004 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009552/1.707, allocations: 140 kB / 0.6591 GB, free: 5.867 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006754/1.708, allocations: 0.6077 MB / 0.6597 GB, free: 5.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006743/1.715, allocations: 2.251 MB / 0.6619 GB, free: 2.996 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3197/2.035, allocations: 6.718 MB / 0.6685 GB, free: 92.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/2.045, allocations: 3.87 MB / 0.6723 GB, free: 92.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003073/2.046, allocations: 46.81 kB / 0.6723 GB, free: 92.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.0285/2.074, allocations: 9.136 MB / 0.6812 GB, free: 91.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002174/2.074, allocations: 72.44 kB / 0.6813 GB, free: 91.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004258/2.075, allocations: 164.2 kB / 0.6815 GB, free: 91.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/2.078, allocations: 0.6055 MB / 0.6821 GB, free: 91.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/2.089, allocations: 1.642 MB / 0.6837 GB, free: 91.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009341/2.098, allocations: 5.725 MB / 0.6892 GB, free: 88.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008937/2.107, allocations: 388.3 kB / 0.6896 GB, free: 88.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/2.109, allocations: 442.2 kB / 0.69 GB, free: 88.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (882): * Single equations (assignments): 877 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00268/2.112, allocations: 0.6606 MB / 0.6907 GB, free: 88.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/2.113, allocations: 496.8 kB / 0.6912 GB, free: 88.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008462/2.121, allocations: 3.014 MB / 0.6941 GB, free: 88.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/2.121, allocations: 26.94 kB / 0.6941 GB, free: 88.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/2.121, allocations: 6.531 kB / 0.6941 GB, free: 88.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/2.122, allocations: 10.06 kB / 0.6941 GB, free: 88.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/2.146, allocations: 8.439 MB / 0.7024 GB, free: 87.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/2.146, allocations: 8.453 kB / 0.7024 GB, free: 87.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003204/2.149, allocations: 325 kB / 0.7027 GB, free: 87.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/2.151, allocations: 359.9 kB / 0.703 GB, free: 87.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003972/2.151, allocations: 40.44 kB / 0.7031 GB, free: 87.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007782/2.159, allocations: 5.072 MB / 0.708 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/2.159, allocations: 9.75 kB / 0.708 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/2.172, allocations: 6.087 MB / 0.714 GB, free: 80.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/2.175, allocations: 0.8085 MB / 0.7148 GB, free: 80.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/2.176, allocations: 31.89 kB / 0.7148 GB, free: 80.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003714/2.18, allocations: 99.7 kB / 0.7149 GB, free: 80.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/2.181, allocations: 112.2 kB / 0.715 GB, free: 80.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/2.181, allocations: 52.08 kB / 0.7151 GB, free: 80 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009009/2.19, allocations: 3.677 MB / 0.7187 GB, free: 78.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.41e-07/2.19, allocations: 0 / 0.7187 GB, free: 78.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009213/2.199, allocations: 1.225 MB / 0.7199 GB, free: 78.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (154): * Single equations (assignments): 149 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01342/2.213, allocations: 7.289 MB / 0.727 GB, free: 74.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01299/2.226, allocations: 5.62 MB / 0.7325 GB, free: 72.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/2.226, allocations: 7.906 kB / 0.7325 GB, free: 72.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/2.229, allocations: 1.683 MB / 0.7341 GB, free: 71.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/2.235, allocations: 0.6095 MB / 0.7347 GB, free: 71.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/2.273, allocations: 11.4 MB / 0.7458 GB, free: 67.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009497/2.282, allocations: 4.244 MB / 0.75 GB, free: 65.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01124/2.294, allocations: 2.312 MB / 0.7522 GB, free: 64.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006628/2.3, allocations: 2.567 MB / 0.7548 GB, free: 62.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.873e-06/2.3, allocations: 3.719 kB / 0.7548 GB, free: 62.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5428/2.843, allocations: 99.53 MB / 0.852 GB, free: 97.23 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/2.844, allocations: 174.7 kB / 0.8521 GB, free: 97.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/9.652, allocations: 0 / 0.8521 GB, free: 97.01 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat