Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.451e-05/4.48e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4761/0.6113, allocations: 97.07 MB / 418.9 MB, free: 8.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.6116, allocations: 79.94 kB / 419 MB, free: 8.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158/1.77, allocations: 223.2 MB / 0.6272 GB, free: 28.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.574e-06/1.77, allocations: 0 / 0.6272 GB, free: 28.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008424/1.771, allocations: 240 kB / 0.6274 GB, free: 28.45 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: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.05133/1.822, allocations: 11.37 MB / 0.6385 GB, free: 16.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.822, allocations: 12.03 kB / 0.6385 GB, free: 16.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0108/1.833, allocations: 2.076 MB / 0.6406 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09411/1.927, allocations: 12.63 MB / 0.6529 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.45/2.377, allocations: 12.52 MB / 0.6651 GB, free: 40.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001708/2.379, allocations: 0.9038 MB / 0.666 GB, free: 40.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00792/2.387, allocations: 1.198 MB / 0.6672 GB, free: 40.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09937/2.487, allocations: 28.12 MB / 0.6946 GB, free: 35.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001083/2.488, allocations: 134.1 kB / 0.6948 GB, free: 35.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006829/2.495, allocations: 0.556 MB / 0.6953 GB, free: 35.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006563/2.501, allocations: 2.682 MB / 0.6979 GB, free: 35.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07769/2.579, allocations: 23.21 MB / 0.7206 GB, free: 33.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2426/2.822, allocations: 116.8 MB / 0.8347 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.433/3.255, allocations: 13.72 MB / 0.8481 GB, free: 98.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01938/3.274, allocations: 7.876 MB / 0.8558 GB, free: 98.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004488/3.279, allocations: 2.352 MB / 0.8581 GB, free: 96.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/3.279, allocations: 96.34 kB / 0.8582 GB, free: 96.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=559): time 1.134e-05/3.279, allocations: 0 / 0.8582 GB, free: 96.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=643): time 0.2616/3.541, allocations: 53.33 MB / 0.9102 GB, free: 88.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/3.541, allocations: 323.4 kB / 0.9105 GB, free: 87.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0253/3.566, allocations: 8.975 MB / 0.9193 GB, free: 87.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002366/3.569, allocations: 126.8 kB / 0.9194 GB, free: 87.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008435/3.577, allocations: 7.727 MB / 0.927 GB, free: 81.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004412/3.581, allocations: 2.342 MB / 0.9293 GB, free: 79.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002608/3.584, allocations: 288.3 kB / 0.9295 GB, free: 79.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001229/3.585, allocations: 0.9147 MB / 0.9304 GB, free: 78.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01782/3.603, allocations: 6.383 MB / 0.9367 GB, free: 76.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02402/3.627, allocations: 13.96 MB / 0.9503 GB, free: 64.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02261/3.65, allocations: 9.353 MB / 0.9594 GB, free: 58.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003217/3.65, allocations: 74.66 kB / 0.9595 GB, free: 58.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.06843/3.719, allocations: 23.23 MB / 0.9822 GB, free: 39.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/3.719, allocations: 116 kB / 0.9823 GB, free: 39.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005248/3.72, allocations: 264 kB / 0.9825 GB, free: 39.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01448/3.734, allocations: 3.271 MB / 0.9857 GB, free: 36.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02481/3.759, allocations: 3.494 MB / 0.9891 GB, free: 33.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04381/3.803, allocations: 22.56 MB / 1.011 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4191/4.222, allocations: 0.8931 MB / 1.012 GB, free: 82.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004668/4.227, allocations: 0.8105 MB / 1.013 GB, free: 82.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[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],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 (1741): * Single equations (assignments): 1734 * 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.008156/4.235, allocations: 1.185 MB / 1.014 GB, free: 81.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005357/4.24, allocations: 0.9467 MB / 1.015 GB, free: 81.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05633/4.297, allocations: 14.44 MB / 1.029 GB, free: 81.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001731/4.297, allocations: 65.81 kB / 1.029 GB, free: 81.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001106/4.297, allocations: 21.14 kB / 1.029 GB, free: 81.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002011/4.297, allocations: 35.16 kB / 1.029 GB, free: 81.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1197/4.417, allocations: 31.1 MB / 1.06 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000114/4.417, allocations: 6.469 kB / 1.06 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01301/4.43, allocations: 1.219 MB / 1.061 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01366/4.444, allocations: 2.837 MB / 1.063 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002309/4.446, allocations: 119.5 kB / 1.064 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04493/4.491, allocations: 21.05 MB / 1.084 GB, free: 70.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/4.491, allocations: 11.22 kB / 1.084 GB, free: 70.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07244/4.564, allocations: 23.76 MB / 1.107 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01208/4.576, allocations: 2.046 MB / 1.109 GB, free: 59.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005899/4.582, allocations: 110.8 kB / 1.109 GB, free: 59.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01529/4.597, allocations: 491.6 kB / 1.11 GB, free: 59.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002941/4.6, allocations: 393.1 kB / 1.11 GB, free: 59.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002177/4.603, allocations: 168.6 kB / 1.11 GB, free: 59.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01984/4.622, allocations: 6.417 MB / 1.117 GB, free: 57.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.283e-06/4.623, allocations: 0 / 1.117 GB, free: 57.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0217/4.644, allocations: 2.933 MB / 1.12 GB, free: 57.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (554): * Single equations (assignments): 547 * 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.06678/4.711, allocations: 24.96 MB / 1.144 GB, free: 36.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03961/4.751, allocations: 16.03 MB / 1.16 GB, free: 22.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/4.751, allocations: 0 / 1.16 GB, free: 22.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02143/4.772, allocations: 7.068 MB / 1.167 GB, free: 16.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01254/4.785, allocations: 1.187 MB / 1.168 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5312/5.316, allocations: 28.2 MB / 1.195 GB, free: 96.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02607/5.342, allocations: 8.304 MB / 1.203 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.02853/5.371, allocations: 4.719 MB / 1.208 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0225/5.393, allocations: 5.863 MB / 1.214 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of SimCode: time 2.275e-06/5.394, allocations: 2.125 kB / 1.214 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9638/6.357, allocations: 222.4 MB / 1.431 GB, free: 82.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/6.358, allocations: 172.8 kB / 1.431 GB, free: 82.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/19.51, allocations: 0 / 1.431 GB, free: 82.44 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat