Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.447e-05/4.46e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1826, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6152/0.7978, allocations: 107 MB / 0.5052 GB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.7983, allocations: 75.95 kB / 0.5053 GB, free: 13.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05/1.849, allocations: 132.9 MB / 0.635 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.817e-06/1.849, allocations: 1.25 kB / 0.635 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006305/1.849, allocations: 140.8 kB / 0.6351 GB, free: 107.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.03233/1.882, allocations: 6.366 MB / 0.6414 GB, free: 105 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/1.882, allocations: 9.469 kB / 0.6414 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006264/1.888, allocations: 1.117 MB / 0.6425 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07208/1.96, allocations: 9.423 MB / 0.6517 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03278/1.993, allocations: 8.104 MB / 0.6596 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006355/1.994, allocations: 493.3 kB / 0.66 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/1.997, allocations: 0.6432 MB / 0.6607 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04864/2.046, allocations: 15.06 MB / 0.6754 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006345/2.047, allocations: 101.1 kB / 0.6755 GB, free: 98.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003449/2.05, allocations: 314.5 kB / 0.6758 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003036/2.053, allocations: 1.342 MB / 0.6771 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03817/2.092, allocations: 11.6 MB / 0.6884 GB, free: 95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1072/2.199, allocations: 67.65 MB / 0.7545 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.022/2.221, allocations: 5.166 MB / 0.7595 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0055/2.227, allocations: 2.571 MB / 0.762 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/2.227, allocations: 35.84 kB / 0.7621 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.892e-05/2.227, allocations: 63.28 kB / 0.7621 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 8.095e-06/2.227, allocations: 0 / 0.7621 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.07846/2.305, allocations: 16.8 MB / 0.7785 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/2.306, allocations: 264.5 kB / 0.7788 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0156/2.321, allocations: 5.882 MB / 0.7845 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005154/2.322, allocations: 53.7 kB / 0.7846 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004305/2.326, allocations: 4.705 MB / 0.7892 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/2.327, allocations: 0.8139 MB / 0.79 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009298/2.328, allocations: 159.4 kB / 0.7901 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005257/2.329, allocations: 0.6364 MB / 0.7907 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006224/2.335, allocations: 2.393 MB / 0.7931 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01274/2.348, allocations: 7.279 MB / 0.8002 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2.359, allocations: 4.175 MB / 0.8043 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001837/2.359, allocations: 48 kB / 0.8043 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.4929/2.852, allocations: 9.551 MB / 0.8136 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/2.853, allocations: 84.52 kB / 0.8137 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004089/2.853, allocations: 175.5 kB / 0.8139 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0041/2.857, allocations: 0.8251 MB / 0.8147 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01196/2.869, allocations: 1.762 MB / 0.8164 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/2.886, allocations: 8.461 MB / 0.8247 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/2.897, allocations: 418.4 kB / 0.8251 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002546/2.9, allocations: 485.2 kB / 0.8255 GB, free: 102.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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.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 (945): * Single equations (assignments): 939 * 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.003662/2.903, allocations: 0.7226 MB / 0.8262 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001836/2.905, allocations: 0.5512 MB / 0.8268 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/2.918, allocations: 3.371 MB / 0.8301 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.682e-05/2.918, allocations: 25.72 kB / 0.8301 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.26e-05/2.918, allocations: 7.562 kB / 0.8301 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.346e-05/2.918, allocations: 10.91 kB / 0.8301 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03382/2.952, allocations: 9.53 MB / 0.8394 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.066e-05/2.952, allocations: 0 / 0.8394 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/2.955, allocations: 306.5 kB / 0.8397 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/2.958, allocations: 0.5218 MB / 0.8402 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005646/2.959, allocations: 42.06 kB / 0.8403 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/2.972, allocations: 7.575 MB / 0.8477 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.972, allocations: 0 / 0.8477 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/2.988, allocations: 6.16 MB / 0.8537 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/2.991, allocations: 0.609 MB / 0.8543 GB, free: 95.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002531/2.993, allocations: 39.7 kB / 0.8543 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005049/2.998, allocations: 108.6 kB / 0.8544 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008608/2.999, allocations: 126.3 kB / 0.8545 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004374/3, allocations: 57.41 kB / 0.8546 GB, free: 95.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01261/3.012, allocations: 4.17 MB / 0.8587 GB, free: 93.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.61e-07/3.012, allocations: 0 / 0.8587 GB, free: 93.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01194/3.024, allocations: 1.398 MB / 0.86 GB, free: 93.46 MB / 0.5261 GB 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 (153): * Single equations (assignments): 147 * 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.01694/3.041, allocations: 7.008 MB / 0.8669 GB, free: 90.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01519/3.057, allocations: 5.902 MB / 0.8726 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/3.057, allocations: 0 / 0.8726 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004724/3.061, allocations: 1.907 MB / 0.8745 GB, free: 87.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006961/3.068, allocations: 0.7633 MB / 0.8752 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04805/3.116, allocations: 13.02 MB / 0.888 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01269/3.129, allocations: 4.79 MB / 0.8926 GB, free: 80.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01319/3.142, allocations: 2.507 MB / 0.8951 GB, free: 80.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00765/3.15, allocations: 3.055 MB / 0.8981 GB, free: 78.01 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/3.15, allocations: 0 / 0.8981 GB, free: 78.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6765/3.827, allocations: 114 MB / 1.009 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/3.827, allocations: 167.8 kB / 1.01 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/12.07, allocations: 2 kB / 1.01 GB, free: 101.6 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat