Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.629e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4187, allocations: 54.86 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.6218, allocations: 105.3 MB / 465.2 MB, free: 7.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.6222, allocations: 76.56 kB / 465.2 MB, free: 7.504 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363/1.985, allocations: 240.3 MB / 0.689 GB, free: 14.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.985, allocations: 0 / 0.689 GB, free: 14.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001347/1.986, allocations: 256 kB / 0.6892 GB, free: 13.84 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 0.06233/2.049, allocations: 12.35 MB / 0.7013 GB, free: 1.387 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/2.049, allocations: 8.031 kB / 0.7013 GB, free: 1.379 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.7844/2.833, allocations: 2.195 MB / 0.7034 GB, free: 40.86 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0987/2.932, allocations: 12.82 MB / 0.7159 GB, free: 40 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05217/2.984, allocations: 13.28 MB / 0.7289 GB, free: 39.4 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001483/2.986, allocations: 0.9538 MB / 0.7298 GB, free: 39.37 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00745/2.993, allocations: 1.283 MB / 0.7311 GB, free: 39.36 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09841/3.092, allocations: 29.93 MB / 0.7603 GB, free: 33.2 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000949/3.093, allocations: 148.1 kB / 0.7605 GB, free: 33.18 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00632/3.099, allocations: 0.5945 MB / 0.761 GB, free: 33.18 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006581/3.106, allocations: 2.864 MB / 0.7638 GB, free: 33.15 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07961/3.185, allocations: 24.31 MB / 0.7876 GB, free: 30.12 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7797/3.965, allocations: 127.8 MB / 0.9124 GB, free: 29.52 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06638/4.032, allocations: 13.95 MB / 0.926 GB, free: 28.75 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01533/4.047, allocations: 7.971 MB / 0.9338 GB, free: 28.68 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05838/4.105, allocations: 19.82 MB / 0.9532 GB, free: 25.9 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.921e-05/4.106, allocations: 97.94 kB / 0.9533 GB, free: 25.86 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=562): time 1.043e-05/4.106, allocations: 3.188 kB / 0.9533 GB, free: 25.86 MB / 0.5262 GB Notification: Performance of matching and sorting (n=646): time 0.2693/4.375, allocations: 59.15 MB / 1.011 GB, free: 12.73 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002466/4.375, allocations: 382.7 kB / 1.011 GB, free: 12.34 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0397/4.415, allocations: 10.61 MB / 1.022 GB, free: 7.207 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.002287/4.417, allocations: 121.7 kB / 1.022 GB, free: 7.082 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.01217/4.43, allocations: 8.546 MB / 1.03 GB, free: 15.41 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.005777/4.435, allocations: 2.378 MB / 1.033 GB, free: 13.3 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00359/4.439, allocations: 312 kB / 1.033 GB, free: 13 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.003557/4.443, allocations: 0.97 MB / 1.034 GB, free: 12.21 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02052/4.463, allocations: 6.619 MB / 1.04 GB, free: 6.27 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03033/4.494, allocations: 15.07 MB / 1.055 GB, free: 4.449 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03376/4.527, allocations: 10 MB / 1.065 GB, free: 12.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004671/4.528, allocations: 84 kB / 1.065 GB, free: 12.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.09583/4.624, allocations: 24.62 MB / 1.089 GB, free: 8.938 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002847/4.624, allocations: 132 kB / 1.089 GB, free: 8.809 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005714/4.625, allocations: 292 kB / 1.089 GB, free: 8.523 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01549/4.64, allocations: 3.315 MB / 1.093 GB, free: 6.059 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0274/4.668, allocations: 3.753 MB / 1.096 GB, free: 2.898 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04925/4.717, allocations: 22.59 MB / 1.118 GB, free: 14.6 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/4.738, allocations: 0.9377 MB / 1.119 GB, free: 13.82 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004493/4.743, allocations: 0.8847 MB / 1.12 GB, free: 12.97 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1343 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1897): * Single equations (assignments): 1890 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007361/4.75, allocations: 1.281 MB / 1.121 GB, free: 11.69 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00463/4.755, allocations: 1.072 MB / 1.122 GB, free: 10.61 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4711/5.226, allocations: 14.58 MB / 1.137 GB, free: 169.6 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001349/5.226, allocations: 68.48 kB / 1.137 GB, free: 169.6 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.694e-05/5.226, allocations: 22.44 kB / 1.137 GB, free: 169.6 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001987/5.227, allocations: 32.16 kB / 1.137 GB, free: 169.6 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1061/5.333, allocations: 32.4 MB / 1.168 GB, free: 168.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001172/5.333, allocations: 9.719 kB / 1.168 GB, free: 168.1 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01329/5.346, allocations: 1.279 MB / 1.17 GB, free: 168.1 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01319/5.359, allocations: 2.839 MB / 1.172 GB, free: 168.1 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002052/5.361, allocations: 119.4 kB / 1.172 GB, free: 168.1 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04086/5.402, allocations: 21.07 MB / 1.193 GB, free: 162.8 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.435e-05/5.402, allocations: 15.97 kB / 1.193 GB, free: 162.8 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05915/5.462, allocations: 26.08 MB / 1.219 GB, free: 153.2 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009636/5.471, allocations: 2.183 MB / 1.221 GB, free: 152.7 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00444/5.476, allocations: 123.4 kB / 1.221 GB, free: 152.6 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01229/5.488, allocations: 447.4 kB / 1.221 GB, free: 152.5 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002613/5.491, allocations: 411.6 kB / 1.222 GB, free: 152.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008784/5.492, allocations: 171.9 kB / 1.222 GB, free: 152.4 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.02163/5.513, allocations: 7.644 MB / 1.229 GB, free: 149.8 MB / 0.6199 GB Notification: Performance of sort global known variables: time 2.455e-06/5.513, allocations: 3.344 kB / 1.229 GB, free: 149.8 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.02154/5.535, allocations: 3.106 MB / 1.232 GB, free: 149.5 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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 {(4,75.0%) 18,(4,75.0%) 18,(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.06067/5.596, allocations: 27.2 MB / 1.259 GB, free: 136 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.03859/5.634, allocations: 16.57 MB / 1.275 GB, free: 127 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/5.634, allocations: 5.656 kB / 1.275 GB, free: 127 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.01881/5.653, allocations: 7.016 MB / 1.282 GB, free: 120.9 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01361/5.667, allocations: 1.344 MB / 1.283 GB, free: 119.8 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09566/5.763, allocations: 29.83 MB / 1.312 GB, free: 94.24 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02288/5.786, allocations: 8.881 MB / 1.321 GB, free: 87.89 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.02623/5.812, allocations: 5.158 MB / 1.326 GB, free: 84.51 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01677/5.829, allocations: 6.418 MB / 1.332 GB, free: 78.54 MB / 0.6199 GB Notification: Performance of SimCode: time 1.492e-06/5.829, allocations: 0 / 1.332 GB, free: 78.54 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9761/6.805, allocations: 239.5 MB / 1.566 GB, free: 54.24 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/6.805, allocations: 177.8 kB / 1.566 GB, free: 54 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/20.75, allocations: 3.562 kB / 1.566 GB, free: 54 MB / 0.6199 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat