Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Worldtorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Worldtorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.711e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5297, allocations: 92.4 MB / 408.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.53, allocations: 75.03 kB / 408.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8396/1.37, allocations: 139.7 MB / 0.5357 GB, free: 81.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.37, allocations: 0 / 0.5357 GB, free: 81.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004975/1.37, allocations: 142.3 kB / 0.5358 GB, free: 81.37 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.02767/1.398, allocations: 6.846 MB / 0.5425 GB, free: 78.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.398, allocations: 7.281 kB / 0.5425 GB, free: 78.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06863/1.467, allocations: 9.541 MB / 0.5518 GB, free: 74.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/1.496, allocations: 8.817 MB / 0.5604 GB, free: 68.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/1.496, allocations: 232 kB / 0.5606 GB, free: 68.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/1.5, allocations: 419.8 kB / 0.561 GB, free: 67.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0231/1.523, allocations: 9.427 MB / 0.5703 GB, free: 58.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/1.558, allocations: 14.57 MB / 0.5845 GB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003723/1.558, allocations: 99.12 kB / 0.5846 GB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/1.56, allocations: 47.95 kB / 0.5846 GB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/1.563, allocations: 1.522 MB / 0.5861 GB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4438/2.006, allocations: 69.39 MB / 0.6539 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009887/2.016, allocations: 4.628 MB / 0.6584 GB, free: 46.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00643/2.023, allocations: 3.002 MB / 0.6613 GB, free: 46.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/2.023, allocations: 50.19 kB / 0.6614 GB, free: 46.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/2.023, allocations: 67 kB / 0.6614 GB, free: 46.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 6.141e-06/2.023, allocations: 1.312 kB / 0.6614 GB, free: 46.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.07401/2.097, allocations: 24.44 MB / 0.6853 GB, free: 41.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/2.097, allocations: 259.8 kB / 0.6856 GB, free: 40.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/2.108, allocations: 4.918 MB / 0.6904 GB, free: 39.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007688/2.109, allocations: 31.86 kB / 0.6904 GB, free: 39.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004724/2.114, allocations: 5.137 MB / 0.6954 GB, free: 35.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/2.116, allocations: 0.9968 MB / 0.6964 GB, free: 34.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/2.117, allocations: 0 / 0.6964 GB, free: 34.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006375/2.118, allocations: 0.6857 MB / 0.697 GB, free: 34.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006891/2.124, allocations: 2.782 MB / 0.6998 GB, free: 33.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/2.135, allocations: 8.228 MB / 0.7078 GB, free: 24.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/2.146, allocations: 4.74 MB / 0.7124 GB, free: 23.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002131/2.146, allocations: 56.34 kB / 0.7125 GB, free: 23.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.02817/2.174, allocations: 10.41 MB / 0.7226 GB, free: 20.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/2.174, allocations: 89.69 kB / 0.7227 GB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/2.175, allocations: 201.1 kB / 0.7229 GB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/2.178, allocations: 0.8328 MB / 0.7237 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/2.191, allocations: 2.069 MB / 0.7258 GB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/2.203, allocations: 8.202 MB / 0.7338 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/2.213, allocations: 315.2 kB / 0.7341 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/2.215, allocations: 0.5417 MB / 0.7346 GB, free: 11.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 891 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1099): * Single equations (assignments): 1093 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001681/2.217, allocations: 0.5822 MB / 0.7352 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01164/2.228, allocations: 4.369 MB / 0.7394 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001753/2.23, allocations: 0.5205 MB / 0.7399 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/2.242, allocations: 4.211 MB / 0.7441 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.886e-05/2.242, allocations: 28.94 kB / 0.7441 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/2.242, allocations: 11.38 kB / 0.7441 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-05/2.242, allocations: 16.7 kB / 0.7441 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03239/2.274, allocations: 10.35 MB / 0.7542 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/2.274, allocations: 2.625 kB / 0.7542 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004739/2.279, allocations: 444.9 kB / 0.7546 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/2.282, allocations: 0.5141 MB / 0.7551 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005249/2.282, allocations: 11.42 kB / 0.7552 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/2.295, allocations: 7.275 MB / 0.7623 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/2.295, allocations: 3.953 kB / 0.7623 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/2.317, allocations: 7.815 MB / 0.7699 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00393/2.321, allocations: 0.8995 MB / 0.7708 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001965/2.323, allocations: 4 kB / 0.7708 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005029/2.328, allocations: 113.1 kB / 0.7709 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.33, allocations: 161.1 kB / 0.771 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004542/2.33, allocations: 71.56 kB / 0.7711 GB, free: 12.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009754/2.34, allocations: 3.333 MB / 0.7744 GB, free: 9.223 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.152e-06/2.34, allocations: 0 / 0.7744 GB, free: 9.223 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01216/2.352, allocations: 1.345 MB / 0.7757 GB, free: 7.883 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 214 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02071/2.373, allocations: 8.46 MB / 0.7839 GB, free: 240 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02267/2.396, allocations: 7.278 MB / 0.791 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/2.396, allocations: 4 kB / 0.791 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005891/2.402, allocations: 2.411 MB / 0.7934 GB, free: 8.398 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005923/2.407, allocations: 0.5997 MB / 0.794 GB, free: 7.891 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05263/2.46, allocations: 14.26 MB / 0.8079 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01414/2.474, allocations: 5.216 MB / 0.813 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01494/2.489, allocations: 2.8 MB / 0.8157 GB, free: 2.793 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009126/2.499, allocations: 3.341 MB / 0.819 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of SimCode: time 1.963e-06/2.499, allocations: 0 / 0.819 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5902/3.089, allocations: 111.6 MB / 0.928 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/3.089, allocations: 139.2 kB / 0.9281 GB, free: 110 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/9.826, allocations: 0 / 0.9281 GB, free: 110 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque_res.mat does not exist to compare? outputFormat=mat