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 2.198/2.198, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.693e-05, allocations: 0 / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4537/0.5579, allocations: 92.87 MB / 414.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5582, allocations: 75.95 kB / 414.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.903/1.461, allocations: 142.8 MB / 0.5445 GB, free: 88.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.461, allocations: 3.938 kB / 0.5445 GB, free: 88.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005222/1.462, allocations: 142 kB / 0.5447 GB, free: 88.61 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: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.03118/1.493, allocations: 6.832 MB / 0.5513 GB, free: 85.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.493, allocations: 8.781 kB / 0.5513 GB, free: 85.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006699/1.5, allocations: 1.236 MB / 0.5525 GB, free: 85.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0713/1.571, allocations: 9.537 MB / 0.5619 GB, free: 84.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03304/1.604, allocations: 8.839 MB / 0.5705 GB, free: 81.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008612/1.605, allocations: 0.53 MB / 0.571 GB, free: 81.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004618/1.61, allocations: 0.6996 MB / 0.5717 GB, free: 81.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05341/1.663, allocations: 16.43 MB / 0.5877 GB, free: 66.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005352/1.664, allocations: 99.11 kB / 0.5878 GB, free: 66.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00347/1.667, allocations: 336.1 kB / 0.5882 GB, free: 65.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003522/1.671, allocations: 1.529 MB / 0.5896 GB, free: 64.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0422/1.713, allocations: 12.84 MB / 0.6022 GB, free: 51.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4786/2.192, allocations: 72.55 MB / 0.673 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02525/2.217, allocations: 5.829 MB / 0.6787 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007355/2.225, allocations: 3.074 MB / 0.6817 GB, free: 31.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/2.225, allocations: 48.19 kB / 0.6818 GB, free: 31.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.163e-05/2.225, allocations: 65.11 kB / 0.6818 GB, free: 31.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 7.103e-06/2.225, allocations: 1.281 kB / 0.6818 GB, free: 31.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=267): time 0.0902/2.315, allocations: 19.49 MB / 0.7009 GB, free: 26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/2.316, allocations: 261.5 kB / 0.7011 GB, free: 25.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01704/2.333, allocations: 6.147 MB / 0.7071 GB, free: 25.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008062/2.333, allocations: 69.27 kB / 0.7072 GB, free: 25.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005658/2.339, allocations: 5.045 MB / 0.7121 GB, free: 22.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/2.341, allocations: 1.032 MB / 0.7131 GB, free: 22.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/2.342, allocations: 174.5 kB / 0.7133 GB, free: 22.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000719/2.343, allocations: 0.668 MB / 0.7139 GB, free: 21.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007957/2.351, allocations: 2.876 MB / 0.7167 GB, free: 20.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/2.362, allocations: 8.075 MB / 0.7246 GB, free: 12.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/2.373, allocations: 4.804 MB / 0.7293 GB, free: 11.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002361/2.374, allocations: 53.09 kB / 0.7294 GB, free: 11.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03123/2.405, allocations: 10.87 MB / 0.74 GB, free: 8.203 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/2.405, allocations: 82.22 kB / 0.7401 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003299/2.406, allocations: 199 kB / 0.7402 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/2.409, allocations: 0.833 MB / 0.7411 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01302/2.422, allocations: 1.993 MB / 0.743 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/2.436, allocations: 8.483 MB / 0.7513 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/2.446, allocations: 473.3 kB / 0.7517 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002161/2.449, allocations: 0.5151 MB / 0.7522 GB, free: 1.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * 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 (1056): * Single equations (assignments): 1050 * 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.003498/2.452, allocations: 0.7733 MB / 0.753 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/2.454, allocations: 0.5919 MB / 0.7536 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/2.468, allocations: 4.473 MB / 0.7579 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.327e-05/2.468, allocations: 39.16 kB / 0.758 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/2.468, allocations: 9.453 kB / 0.758 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.162e-05/2.469, allocations: 12.23 kB / 0.758 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0414/2.51, allocations: 11.6 MB / 0.7693 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/2.51, allocations: 0 / 0.7693 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00502/2.515, allocations: 444.9 kB / 0.7698 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/2.518, allocations: 0.5192 MB / 0.7703 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009338/2.519, allocations: 47.66 kB / 0.7703 GB, free: 5.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/2.534, allocations: 7.567 MB / 0.7777 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.534, allocations: 4 kB / 0.7777 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/2.556, allocations: 7.887 MB / 0.7854 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005158/2.562, allocations: 1.012 MB / 0.7864 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002659/2.564, allocations: 40 kB / 0.7864 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006113/2.57, allocations: 154.9 kB / 0.7866 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/2.572, allocations: 160.2 kB / 0.7867 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/2.572, allocations: 73.84 kB / 0.7868 GB, free: 5.809 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01376/2.586, allocations: 4.365 MB / 0.7911 GB, free: 1.973 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.91e-07/2.586, allocations: 4 kB / 0.7911 GB, free: 1.969 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01375/2.6, allocations: 1.559 MB / 0.7926 GB, free: 428 kB / 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 (219): * Single equations (assignments): 213 * 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.02242/2.622, allocations: 8.724 MB / 0.8011 GB, free: 8.488 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01869/2.641, allocations: 7.045 MB / 0.808 GB, free: 2.078 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/2.641, allocations: 4 kB / 0.808 GB, free: 2.074 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006682/2.648, allocations: 2.457 MB / 0.8104 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006553/2.654, allocations: 0.7628 MB / 0.8111 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05084/2.705, allocations: 14.66 MB / 0.8255 GB, free: 2.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/2.718, allocations: 5.207 MB / 0.8305 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01404/2.732, allocations: 2.811 MB / 0.8333 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008883/2.741, allocations: 3.354 MB / 0.8366 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of SimCode: time 1.402e-06/2.741, allocations: 0 / 0.8366 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.653/3.394, allocations: 124.3 MB / 0.958 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/3.394, allocations: 164.8 kB / 0.9581 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/11.91, allocations: 0.5469 kB / 0.9581 GB, free: 86.94 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