Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.08/2.08, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.363e-05, allocations: 4 kB / 273.2 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.569, allocations: 92.67 MB / 414.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5694, allocations: 71.97 kB / 414.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9493/1.519, allocations: 136.9 MB / 0.5386 GB, free: 88.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.519, allocations: 0 / 0.5386 GB, free: 88.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005145/1.519, allocations: 135.1 kB / 0.5387 GB, free: 88.13 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: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02808/1.547, allocations: 6.633 MB / 0.5452 GB, free: 85.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.547, allocations: 10.44 kB / 0.5452 GB, free: 85.47 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00599/1.553, allocations: 1.183 MB / 0.5464 GB, free: 85.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06907/1.623, allocations: 9.5 MB / 0.5556 GB, free: 84.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03194/1.655, allocations: 8.714 MB / 0.5642 GB, free: 82.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007007/1.655, allocations: 0.5105 MB / 0.5647 GB, free: 82.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003983/1.659, allocations: 0.6766 MB / 0.5653 GB, free: 82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0498/1.709, allocations: 15.95 MB / 0.5809 GB, free: 72.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005739/1.71, allocations: 99.11 kB / 0.581 GB, free: 72.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003739/1.714, allocations: 331.8 kB / 0.5813 GB, free: 71.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003347/1.717, allocations: 1.454 MB / 0.5827 GB, free: 70.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03965/1.757, allocations: 12.65 MB / 0.5951 GB, free: 57.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1237/1.88, allocations: 70.67 MB / 0.6641 GB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3635/2.244, allocations: 5.83 MB / 0.6698 GB, free: 95.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007107/2.251, allocations: 3.034 MB / 0.6727 GB, free: 95.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/2.251, allocations: 44.64 kB / 0.6728 GB, free: 95.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/2.252, allocations: 62.62 kB / 0.6728 GB, free: 95.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 7.384e-06/2.252, allocations: 2.281 kB / 0.6728 GB, free: 95.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=260): time 0.1088/2.36, allocations: 18.98 MB / 0.6914 GB, free: 90.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/2.361, allocations: 256.3 kB / 0.6916 GB, free: 90.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01741/2.378, allocations: 6.091 MB / 0.6976 GB, free: 89.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006965/2.379, allocations: 69.08 kB / 0.6976 GB, free: 89.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005479/2.384, allocations: 4.868 MB / 0.7024 GB, free: 87.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001855/2.386, allocations: 0.9992 MB / 0.7034 GB, free: 87.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/2.388, allocations: 170.5 kB / 0.7035 GB, free: 87.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00101/2.389, allocations: 0.6611 MB / 0.7042 GB, free: 86.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007842/2.396, allocations: 2.788 MB / 0.7069 GB, free: 85.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/2.408, allocations: 7.911 MB / 0.7146 GB, free: 78.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/2.419, allocations: 4.656 MB / 0.7192 GB, free: 76.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002353/2.42, allocations: 51.38 kB / 0.7192 GB, free: 76.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.03165/2.451, allocations: 11.05 MB / 0.73 GB, free: 73.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/2.451, allocations: 82.53 kB / 0.7301 GB, free: 73.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003404/2.452, allocations: 187.4 kB / 0.7303 GB, free: 73.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003353/2.455, allocations: 0.812 MB / 0.7311 GB, free: 72.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01227/2.468, allocations: 1.928 MB / 0.7329 GB, free: 72.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/2.481, allocations: 8.298 MB / 0.7411 GB, free: 66.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/2.492, allocations: 459.6 kB / 0.7415 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/2.494, allocations: 0.5025 MB / 0.742 GB, free: 66.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1033): * Single equations (assignments): 1027 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003728/2.498, allocations: 0.755 MB / 0.7427 GB, free: 65.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001935/2.5, allocations: 0.5868 MB / 0.7433 GB, free: 65.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/2.514, allocations: 4.274 MB / 0.7475 GB, free: 64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.959e-05/2.514, allocations: 34.12 kB / 0.7475 GB, free: 64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.219e-05/2.514, allocations: 3.844 kB / 0.7475 GB, free: 64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.88e-05/2.514, allocations: 15.56 kB / 0.7475 GB, free: 64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.035/2.549, allocations: 11.16 MB / 0.7584 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/2.549, allocations: 4 kB / 0.7584 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004081/2.553, allocations: 414.7 kB / 0.7588 GB, free: 57.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/2.556, allocations: 499.3 kB / 0.7593 GB, free: 56.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005995/2.556, allocations: 55.08 kB / 0.7593 GB, free: 56.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/2.568, allocations: 7.382 MB / 0.7666 GB, free: 49.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.568, allocations: 0 / 0.7666 GB, free: 49.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/2.586, allocations: 7.633 MB / 0.774 GB, free: 42.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004402/2.591, allocations: 0.9874 MB / 0.775 GB, free: 41.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002212/2.593, allocations: 41.09 kB / 0.775 GB, free: 41.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005395/2.598, allocations: 148.2 kB / 0.7751 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/2.599, allocations: 153.1 kB / 0.7753 GB, free: 41.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/2.6, allocations: 69.12 kB / 0.7754 GB, free: 41.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0125/2.612, allocations: 4.333 MB / 0.7796 GB, free: 37.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.612, allocations: 4 kB / 0.7796 GB, free: 37.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01107/2.623, allocations: 1.509 MB / 0.7811 GB, free: 36.32 MB / 442.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,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02053/2.644, allocations: 8.469 MB / 0.7893 GB, free: 28.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01755/2.662, allocations: 7.115 MB / 0.7963 GB, free: 22.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/2.662, allocations: 8 kB / 0.7963 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005497/2.667, allocations: 2.389 MB / 0.7986 GB, free: 19.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006261/2.674, allocations: 0.7541 MB / 0.7994 GB, free: 19.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04657/2.72, allocations: 14.21 MB / 0.8132 GB, free: 6.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0129/2.733, allocations: 5.037 MB / 0.8182 GB, free: 3.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0136/2.747, allocations: 2.756 MB / 0.8209 GB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01499/2.762, allocations: 3.615 MB / 0.8244 GB, free: 15.82 MB / 458.7 MB Notification: Performance of SimCode: time 7.054e-06/2.762, allocations: 0 / 0.8244 GB, free: 15.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6342/3.396, allocations: 122.5 MB / 0.944 GB, free: 38.75 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003314/3.397, allocations: 179.2 kB / 0.9442 GB, free: 38.51 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/11.38, allocations: 0 / 0.9442 GB, free: 38.51 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat