Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.168e-05/4.192e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.592, allocations: 98.5 MB / 420.4 MB, free: 6.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5924, allocations: 67.97 kB / 420.5 MB, free: 6.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.39/1.983, allocations: 239.9 MB / 0.6448 GB, free: 10.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.983, allocations: 0 / 0.6448 GB, free: 10.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008789/1.984, allocations: 260 kB / 0.6451 GB, free: 10.1 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: 4446 * Number of variables: 4446 Notification: Performance of Generate backend data structure: time 0.736/2.72, allocations: 12.34 MB / 0.6571 GB, free: 27.83 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/2.72, allocations: 9.656 kB / 0.6571 GB, free: 27.83 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01244/2.732, allocations: 2.199 MB / 0.6593 GB, free: 27.68 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1029/2.835, allocations: 12.81 MB / 0.6718 GB, free: 26.82 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05501/2.89, allocations: 13.28 MB / 0.6848 GB, free: 26.22 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002283/2.893, allocations: 0.9558 MB / 0.6857 GB, free: 26.2 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01025/2.903, allocations: 1.27 MB / 0.687 GB, free: 26.18 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1176/3.021, allocations: 29.76 MB / 0.716 GB, free: 20.08 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001285/3.022, allocations: 149 kB / 0.7162 GB, free: 20.07 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007452/3.03, allocations: 0.5875 MB / 0.7167 GB, free: 20.07 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007234/3.037, allocations: 2.865 MB / 0.7195 GB, free: 20.03 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1169/3.154, allocations: 23.85 MB / 0.7428 GB, free: 14.94 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7572/3.911, allocations: 127.7 MB / 0.8675 GB, free: 20.02 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06439/3.976, allocations: 13.88 MB / 0.8811 GB, free: 19.27 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.016/3.992, allocations: 7.966 MB / 0.8889 GB, free: 19.19 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06549/4.057, allocations: 19.82 MB / 0.9082 GB, free: 16.19 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/4.057, allocations: 104.7 kB / 0.9083 GB, free: 16.14 MB / 490.8 MB Notification: Performance of pre-optimization done (n=562): time 1.072e-05/4.057, allocations: 0 / 0.9083 GB, free: 16.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=646): time 0.3343/4.392, allocations: 59.18 MB / 0.9661 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002755/4.392, allocations: 376.4 kB / 0.9665 GB, free: 13.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03395/4.426, allocations: 10.62 MB / 0.9768 GB, free: 4.547 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002/4.428, allocations: 124.6 kB / 0.977 GB, free: 4.422 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0122/4.44, allocations: 8.539 MB / 0.9853 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00523/4.446, allocations: 2.384 MB / 0.9876 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003715/4.449, allocations: 312 kB / 0.9879 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002529/4.452, allocations: 0.9603 MB / 0.9889 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02132/4.473, allocations: 6.623 MB / 0.9953 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04616/4.519, allocations: 15.92 MB / 1.011 GB, free: 4.176 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03028/4.55, allocations: 10.08 MB / 1.021 GB, free: 12.57 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004404/4.55, allocations: 84 kB / 1.021 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.5062/5.057, allocations: 23.79 MB / 1.044 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003423/5.057, allocations: 134 kB / 1.044 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009168/5.058, allocations: 294.7 kB / 1.044 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01706/5.075, allocations: 3.307 MB / 1.048 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0287/5.104, allocations: 3.757 MB / 1.051 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04582/5.15, allocations: 22.59 MB / 1.073 GB, free: 122.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02218/5.172, allocations: 0.9337 MB / 1.074 GB, free: 122.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004751/5.177, allocations: 0.8834 MB / 1.075 GB, free: 122.9 MB / 0.5418 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.008043/5.185, allocations: 1.288 MB / 1.076 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004548/5.189, allocations: 1.069 MB / 1.077 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04847/5.238, allocations: 14.59 MB / 1.092 GB, free: 122.4 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/5.238, allocations: 69.91 kB / 1.092 GB, free: 122.4 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.633e-05/5.238, allocations: 22.95 kB / 1.092 GB, free: 122.4 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001912/5.238, allocations: 29.72 kB / 1.092 GB, free: 122.4 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.109/5.347, allocations: 32.37 MB / 1.123 GB, free: 115.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000169/5.348, allocations: 11.88 kB / 1.123 GB, free: 115.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01377/5.361, allocations: 1.279 MB / 1.125 GB, free: 115.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01416/5.376, allocations: 2.83 MB / 1.127 GB, free: 115.1 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002103/5.378, allocations: 124.5 kB / 1.128 GB, free: 115 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04479/5.423, allocations: 21.08 MB / 1.148 GB, free: 103.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/5.423, allocations: 15.81 kB / 1.148 GB, free: 103.9 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06417/5.487, allocations: 26.09 MB / 1.174 GB, free: 86.6 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009918/5.497, allocations: 2.194 MB / 1.176 GB, free: 84.61 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006118/5.503, allocations: 116.8 kB / 1.176 GB, free: 84.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01329/5.516, allocations: 448.7 kB / 1.176 GB, free: 84.22 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003023/5.519, allocations: 415.9 kB / 1.177 GB, free: 83.96 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002199/5.522, allocations: 168.1 kB / 1.177 GB, free: 83.8 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.02358/5.545, allocations: 7.65 MB / 1.184 GB, free: 77.08 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.132e-06/5.545, allocations: 0 / 1.184 GB, free: 77.08 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02428/5.57, allocations: 3.103 MB / 1.187 GB, free: 73.98 MB / 0.5418 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.06562/5.635, allocations: 27.2 MB / 1.214 GB, free: 49.28 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.4312/6.067, allocations: 16.42 MB / 1.23 GB, free: 135 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.131e-05/6.067, allocations: 5.688 kB / 1.23 GB, free: 135 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02302/6.09, allocations: 6.922 MB / 1.237 GB, free: 134.5 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01281/6.103, allocations: 1.341 MB / 1.238 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1013/6.204, allocations: 29.79 MB / 1.267 GB, free: 129.4 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02378/6.228, allocations: 8.876 MB / 1.276 GB, free: 128.4 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.02695/6.255, allocations: 5.158 MB / 1.281 GB, free: 128.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01757/6.272, allocations: 6.409 MB / 1.287 GB, free: 128.1 MB / 0.5418 GB Notification: Performance of SimCode: time 2.464e-06/6.273, allocations: 2.344 kB / 1.287 GB, free: 128.1 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.091/7.363, allocations: 237.2 MB / 1.519 GB, free: 97.2 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/7.363, allocations: 169 kB / 1.519 GB, free: 96.98 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/22.05, allocations: 4 kB / 1.519 GB, free: 96.98 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat