Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.904/1.904, allocations: 209.4 MB / 216.5 MB, free: 6.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.066e-05, allocations: 8 kB / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 48.7 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.5933, allocations: 94.16 MB / 410.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5937, allocations: 73.08 kB / 410.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8317/1.425, allocations: 128.8 MB / 0.5267 GB, free: 83.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.425, allocations: 0 / 0.5267 GB, free: 83.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004343/1.426, allocations: 127.3 kB / 0.5268 GB, free: 83.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2384 * Number of variables: 2384 Notification: Performance of Generate backend data structure: time 0.02682/1.453, allocations: 6.657 MB / 0.5333 GB, free: 80.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.453, allocations: 14.31 kB / 0.5333 GB, free: 80.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05172/1.505, allocations: 7.137 MB / 0.5403 GB, free: 79.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02602/1.531, allocations: 7.423 MB / 0.5475 GB, free: 76.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/1.531, allocations: 222.2 kB / 0.5478 GB, free: 76.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003497/1.535, allocations: 397.4 kB / 0.5481 GB, free: 76.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02282/1.557, allocations: 9.246 MB / 0.5572 GB, free: 72.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/1.594, allocations: 14.32 MB / 0.5711 GB, free: 56.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003993/1.594, allocations: 87.12 kB / 0.5712 GB, free: 56.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/1.596, allocations: 51.98 kB / 0.5713 GB, free: 56.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00388/1.6, allocations: 1.545 MB / 0.5728 GB, free: 54.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4295/2.029, allocations: 69.65 MB / 0.6408 GB, free: 85.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/2.04, allocations: 5.188 MB / 0.6459 GB, free: 85.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006807/2.047, allocations: 3.514 MB / 0.6493 GB, free: 85.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00093/2.048, allocations: 390.7 kB / 0.6497 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/2.048, allocations: 70.17 kB / 0.6497 GB, free: 84.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 7.694e-06/2.048, allocations: 1.625 kB / 0.6497 GB, free: 84.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=312): time 0.08572/2.134, allocations: 27.53 MB / 0.6766 GB, free: 78.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/2.134, allocations: 242 kB / 0.6769 GB, free: 77.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009122/2.143, allocations: 4.772 MB / 0.6815 GB, free: 76.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008546/2.144, allocations: 29.45 kB / 0.6815 GB, free: 76.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00384/2.148, allocations: 4.922 MB / 0.6863 GB, free: 72.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/2.149, allocations: 1.152 MB / 0.6875 GB, free: 71.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/2.151, allocations: 0 / 0.6875 GB, free: 71.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009062/2.151, allocations: 0.7039 MB / 0.6882 GB, free: 71.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01192/2.163, allocations: 3.41 MB / 0.6915 GB, free: 69.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01655/2.18, allocations: 8.859 MB / 0.7001 GB, free: 61.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/2.196, allocations: 5.43 MB / 0.7054 GB, free: 59.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002014/2.196, allocations: 61.52 kB / 0.7055 GB, free: 59.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.04359/2.24, allocations: 12.54 MB / 0.7177 GB, free: 55.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000215/2.24, allocations: 87.69 kB / 0.7178 GB, free: 55.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003857/2.241, allocations: 194.2 kB / 0.718 GB, free: 55.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009953/2.25, allocations: 1.716 MB / 0.7197 GB, free: 55.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01958/2.27, allocations: 2.216 MB / 0.7219 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03036/2.301, allocations: 10.74 MB / 0.7323 GB, free: 44.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01733/2.318, allocations: 375 kB / 0.7327 GB, free: 44.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002786/2.321, allocations: 0.5526 MB / 0.7332 GB, free: 43.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 886 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1148): * Single equations (assignments): 1143 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00429/2.325, allocations: 0.5972 MB / 0.7338 GB, free: 43.25 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01866/2.344, allocations: 6.467 MB / 0.7401 GB, free: 37.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002396/2.346, allocations: 0.5161 MB / 0.7406 GB, free: 37.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02648/2.373, allocations: 6.494 MB / 0.747 GB, free: 32.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001242/2.373, allocations: 33.02 kB / 0.747 GB, free: 32.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.083e-05/2.373, allocations: 12 kB / 0.747 GB, free: 32.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.631e-05/2.373, allocations: 14.02 kB / 0.747 GB, free: 32.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06176/2.435, allocations: 13.72 MB / 0.7604 GB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001006/2.435, allocations: 4 kB / 0.7604 GB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007251/2.442, allocations: 0.5371 MB / 0.761 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008659/2.451, allocations: 1.401 MB / 0.7623 GB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/2.452, allocations: 22.97 kB / 0.7624 GB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/2.473, allocations: 9.897 MB / 0.772 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/2.473, allocations: 4 kB / 0.772 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02593/2.499, allocations: 10.94 MB / 0.7827 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004277/2.503, allocations: 1.037 MB / 0.7837 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002225/2.505, allocations: 4 kB / 0.7837 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005765/2.511, allocations: 163.7 kB / 0.7839 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/2.513, allocations: 190.1 kB / 0.7841 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004687/2.513, allocations: 83.92 kB / 0.7841 GB, free: 15.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009632/2.523, allocations: 3.215 MB / 0.7873 GB, free: 11.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.31e-07/2.523, allocations: 0 / 0.7873 GB, free: 11.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01284/2.536, allocations: 1.419 MB / 0.7887 GB, free: 10.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 248 * 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.03212/2.568, allocations: 12.06 MB / 0.8004 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3423/2.91, allocations: 8.587 MB / 0.8088 GB, free: 116.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/2.91, allocations: 1.719 kB / 0.8088 GB, free: 116.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009297/2.92, allocations: 3.315 MB / 0.8121 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005003/2.925, allocations: 0.5274 MB / 0.8126 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05037/2.975, allocations: 14.93 MB / 0.8272 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01211/2.987, allocations: 5.029 MB / 0.8321 GB, free: 112.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01488/3.002, allocations: 3.003 MB / 0.835 GB, free: 112.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00812/3.01, allocations: 3.173 MB / 0.8381 GB, free: 111.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/3.01, allocations: 0 / 0.8381 GB, free: 111.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2679/3.278, allocations: 116.8 MB / 0.9522 GB, free: 23.94 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/3.278, allocations: 125.1 kB / 0.9523 GB, free: 23.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.478/9.756, allocations: 0 / 0.9523 GB, free: 23.75 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat