Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.361e-05, allocations: 0 / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5091, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.7213, allocations: 107.6 MB / 489.9 MB, free: 0.8086 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/0.7217, allocations: 75.97 kB / 489.9 MB, free: 0.7344 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.983/1.705, allocations: 132.6 MB / 0.6079 GB, free: 66.9 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.845e-06/1.705, allocations: 0 / 0.6079 GB, free: 66.9 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004568/1.705, allocations: 136 kB / 0.608 GB, free: 66.77 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02824/1.734, allocations: 6.658 MB / 0.6145 GB, free: 60.03 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.734, allocations: 12.03 kB / 0.6146 GB, free: 60.02 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005761/1.739, allocations: 1.195 MB / 0.6157 GB, free: 58.81 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05341/1.793, allocations: 7.151 MB / 0.6227 GB, free: 51.64 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02749/1.82, allocations: 7.462 MB / 0.63 GB, free: 44.09 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006792/1.821, allocations: 0.5053 MB / 0.6305 GB, free: 43.59 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003629/1.825, allocations: 0.6637 MB / 0.6311 GB, free: 42.92 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04923/1.874, allocations: 16.01 MB / 0.6468 GB, free: 25.42 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005221/1.875, allocations: 95.06 kB / 0.6469 GB, free: 25.33 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003566/1.878, allocations: 323.8 kB / 0.6472 GB, free: 25.01 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003573/1.882, allocations: 1.557 MB / 0.6487 GB, free: 23.44 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04234/1.924, allocations: 12.68 MB / 0.6611 GB, free: 10.74 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.582/2.506, allocations: 73.07 MB / 0.7324 GB, free: 65.82 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0292/2.536, allocations: 6.428 MB / 0.7387 GB, free: 65.13 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0114/2.547, allocations: 3.679 MB / 0.7423 GB, free: 65.08 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0355/2.583, allocations: 9.287 MB / 0.7514 GB, free: 63.56 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.155e-05/2.583, allocations: 66.88 kB / 0.7514 GB, free: 63.52 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=269): time 1.101e-05/2.583, allocations: 0 / 0.7514 GB, free: 63.52 MB / 0.4949 GB Notification: Performance of matching and sorting (n=311): time 0.1698/2.753, allocations: 25.88 MB / 0.7767 GB, free: 58.22 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/2.753, allocations: 240.8 kB / 0.7769 GB, free: 57.96 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/2.769, allocations: 6.123 MB / 0.7829 GB, free: 56.89 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009854/2.77, allocations: 70.73 kB / 0.783 GB, free: 56.83 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005117/2.775, allocations: 4.847 MB / 0.7877 GB, free: 53.1 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002028/2.777, allocations: 1.18 MB / 0.7889 GB, free: 52.24 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/2.779, allocations: 186.8 kB / 0.789 GB, free: 52.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001075/2.78, allocations: 0.6871 MB / 0.7897 GB, free: 51.63 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009323/2.789, allocations: 3.491 MB / 0.7931 GB, free: 50.43 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01324/2.803, allocations: 8.744 MB / 0.8017 GB, free: 42.17 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/2.817, allocations: 5.499 MB / 0.807 GB, free: 40.54 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002377/2.818, allocations: 54.03 kB / 0.8071 GB, free: 40.54 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.0374/2.855, allocations: 13.03 MB / 0.8198 GB, free: 32.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/2.855, allocations: 86.44 kB / 0.8199 GB, free: 32.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002999/2.855, allocations: 188 kB / 0.8201 GB, free: 31.83 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007151/2.863, allocations: 1.702 MB / 0.8217 GB, free: 30.56 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/2.877, allocations: 2.138 MB / 0.8238 GB, free: 28.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/2.898, allocations: 11.35 MB / 0.8349 GB, free: 18.55 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/2.91, allocations: 0.5299 MB / 0.8354 GB, free: 18.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002459/2.913, allocations: 0.5403 MB / 0.8359 GB, free: 17.58 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 853 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1107): * Single equations (assignments): 1102 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004044/2.917, allocations: 0.7951 MB / 0.8367 GB, free: 16.79 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/2.919, allocations: 0.5939 MB / 0.8373 GB, free: 16.19 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02182/2.941, allocations: 6.69 MB / 0.8438 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.452e-05/2.941, allocations: 35.2 kB / 0.8439 GB, free: 10.74 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.542e-05/2.941, allocations: 12 kB / 0.8439 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.638e-05/2.941, allocations: 17.34 kB / 0.8439 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06461/3.005, allocations: 15.15 MB / 0.8587 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.402e-05/3.006, allocations: 4 kB / 0.8587 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008871/3.014, allocations: 0.5658 MB / 0.8592 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01048/3.025, allocations: 1.412 MB / 0.8606 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/3.026, allocations: 67.25 kB / 0.8607 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02571/3.052, allocations: 10.49 MB / 0.8709 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/3.052, allocations: 4 kB / 0.8709 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03494/3.087, allocations: 11.74 MB / 0.8824 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005289/3.092, allocations: 1.157 MB / 0.8835 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002765/3.095, allocations: 55.98 kB / 0.8836 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006642/3.102, allocations: 211.7 kB / 0.8838 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/3.103, allocations: 189.9 kB / 0.884 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00076/3.104, allocations: 87.98 kB / 0.8841 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01417/3.118, allocations: 4.361 MB / 0.8883 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.042e-06/3.118, allocations: 0 / 0.8883 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01376/3.132, allocations: 1.656 MB / 0.8899 GB, free: 15.29 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (254): * Single equations (assignments): 249 * 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.04023/3.172, allocations: 13.11 MB / 0.9027 GB, free: 1.953 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0246/3.197, allocations: 8.411 MB / 0.9109 GB, free: 9.551 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/3.197, allocations: 4 kB / 0.911 GB, free: 9.547 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/3.208, allocations: 3.303 MB / 0.9142 GB, free: 6.238 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008733/3.217, allocations: 0.7087 MB / 0.9149 GB, free: 5.551 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08022/3.297, allocations: 15.42 MB / 0.9299 GB, free: 6.078 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01502/3.313, allocations: 5.032 MB / 0.9348 GB, free: 1.051 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.4423/3.755, allocations: 2.976 MB / 0.9377 GB, free: 180.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01017/3.765, allocations: 3.241 MB / 0.9409 GB, free: 180.2 MB / 0.573 GB Notification: Performance of SimCode: time 2.474e-06/3.765, allocations: 0 / 0.9409 GB, free: 180.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3281/4.093, allocations: 131.6 MB / 1.069 GB, free: 101.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/4.094, allocations: 163.4 kB / 1.07 GB, free: 101.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/12.62, allocations: 4.062 kB / 1.07 GB, free: 101.6 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat