Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.187e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4257, allocations: 54.86 MB / 359.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2126/0.6383, allocations: 103.9 MB / 463.7 MB, free: 9.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.6387, allocations: 83.94 kB / 463.8 MB, free: 8.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206/1.844, allocations: 223.7 MB / 0.6713 GB, free: 16.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.356e-06/1.844, allocations: 0 / 0.6713 GB, free: 16.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000794/1.845, allocations: 235.9 kB / 0.6716 GB, free: 15.93 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.05056/1.896, allocations: 11.39 MB / 0.6827 GB, free: 4.445 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.896, allocations: 8.031 kB / 0.6827 GB, free: 4.438 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01021/1.906, allocations: 2.068 MB / 0.6847 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09785/2.004, allocations: 12.64 MB / 0.6971 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.787/2.791, allocations: 12.54 MB / 0.7093 GB, free: 48.21 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/2.792, allocations: 0.9069 MB / 0.7102 GB, free: 48.18 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006859/2.799, allocations: 1.21 MB / 0.7114 GB, free: 48.18 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.107/2.906, allocations: 28.15 MB / 0.7389 GB, free: 42.7 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001629/2.908, allocations: 140.4 kB / 0.739 GB, free: 42.7 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008224/2.916, allocations: 0.5533 MB / 0.7395 GB, free: 42.7 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00701/2.923, allocations: 2.681 MB / 0.7422 GB, free: 42.67 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08019/3.004, allocations: 23.22 MB / 0.7648 GB, free: 42.46 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2311/3.235, allocations: 116.9 MB / 0.879 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08113/3.316, allocations: 14.26 MB / 0.8929 GB, free: 8.664 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01827/3.334, allocations: 7.868 MB / 0.9006 GB, free: 1.461 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4008/3.735, allocations: 2.341 MB / 0.9029 GB, free: 107 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/3.735, allocations: 102.2 kB / 0.903 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=559): time 1.088e-05/3.735, allocations: 1.031 kB / 0.903 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=643): time 0.2451/3.981, allocations: 53.32 MB / 0.955 GB, free: 99.02 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/3.981, allocations: 332.6 kB / 0.9554 GB, free: 98.7 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02247/4.003, allocations: 8.968 MB / 0.9641 GB, free: 97.97 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001958/4.005, allocations: 124.1 kB / 0.9642 GB, free: 97.94 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.007985/4.013, allocations: 7.735 MB / 0.9718 GB, free: 94.11 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004316/4.018, allocations: 2.346 MB / 0.9741 GB, free: 92.71 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002937/4.021, allocations: 288.8 kB / 0.9743 GB, free: 92.71 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001652/4.022, allocations: 0.9104 MB / 0.9752 GB, free: 92.38 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01793/4.04, allocations: 6.385 MB / 0.9815 GB, free: 92.35 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02335/4.064, allocations: 13.96 MB / 0.9951 GB, free: 81.74 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02269/4.086, allocations: 9.357 MB / 1.004 GB, free: 78.81 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003623/4.087, allocations: 78.16 kB / 1.004 GB, free: 78.81 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.07335/4.16, allocations: 23.22 MB / 1.027 GB, free: 66.39 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002872/4.161, allocations: 116 kB / 1.027 GB, free: 66.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005495/4.161, allocations: 264.7 kB / 1.027 GB, free: 66.02 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0186/4.18, allocations: 3.27 MB / 1.031 GB, free: 63.61 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03272/4.213, allocations: 3.498 MB / 1.034 GB, free: 60.69 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04251/4.255, allocations: 22.56 MB / 1.056 GB, free: 40.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0187/4.274, allocations: 0.8672 MB / 1.057 GB, free: 39.69 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003798/4.278, allocations: 0.8126 MB / 1.058 GB, free: 38.91 MB / 0.5262 GB 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.006496/4.284, allocations: 1.182 MB / 1.059 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003982/4.288, allocations: 0.9454 MB / 1.06 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04657/4.335, allocations: 14.43 MB / 1.074 GB, free: 25.04 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/4.335, allocations: 64.94 kB / 1.074 GB, free: 24.98 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.527e-05/4.335, allocations: 23.09 kB / 1.074 GB, free: 24.96 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001839/4.335, allocations: 29.16 kB / 1.074 GB, free: 24.96 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5347/4.87, allocations: 31.89 MB / 1.105 GB, free: 87.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001184/4.87, allocations: 9.156 kB / 1.105 GB, free: 87.77 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01797/4.888, allocations: 1.217 MB / 1.106 GB, free: 87.77 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02123/4.91, allocations: 2.824 MB / 1.109 GB, free: 87.73 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002737/4.912, allocations: 121.8 kB / 1.109 GB, free: 87.73 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04562/4.958, allocations: 21.07 MB / 1.13 GB, free: 82.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/4.958, allocations: 9.938 kB / 1.13 GB, free: 82.4 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06153/5.02, allocations: 23.76 MB / 1.153 GB, free: 79.44 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00915/5.029, allocations: 2.035 MB / 1.155 GB, free: 79.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004798/5.034, allocations: 112.8 kB / 1.155 GB, free: 79.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01183/5.046, allocations: 490.7 kB / 1.155 GB, free: 79.34 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002815/5.048, allocations: 389.8 kB / 1.156 GB, free: 79.33 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001768/5.05, allocations: 170.3 kB / 1.156 GB, free: 79.33 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01827/5.069, allocations: 6.414 MB / 1.162 GB, free: 79 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.153e-06/5.069, allocations: 0 / 1.162 GB, free: 79 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0206/5.089, allocations: 2.931 MB / 1.165 GB, free: 79 MB / 0.5262 GB 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.06509/5.154, allocations: 24.97 MB / 1.19 GB, free: 68.25 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03787/5.192, allocations: 16.02 MB / 1.205 GB, free: 62.93 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/5.192, allocations: 3.875 kB / 1.205 GB, free: 62.93 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02028/5.213, allocations: 7.052 MB / 1.212 GB, free: 59.32 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/5.224, allocations: 1.195 MB / 1.213 GB, free: 58.32 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09201/5.316, allocations: 27.86 MB / 1.24 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0227/5.338, allocations: 8.315 MB / 1.249 GB, free: 28.54 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.02438/5.363, allocations: 4.713 MB / 1.253 GB, free: 25.45 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01708/5.38, allocations: 5.874 MB / 1.259 GB, free: 19.99 MB / 0.5262 GB Notification: Performance of SimCode: time 1.423e-06/5.38, allocations: 0 / 1.259 GB, free: 19.99 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9431/6.323, allocations: 222.5 MB / 1.476 GB, free: 11.93 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/6.323, allocations: 165.8 kB / 1.476 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/19.02, allocations: 7.938 kB / 1.476 GB, free: 11.7 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat