Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 235 MB / 247.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.787e-05, allocations: 8.922 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4027, allocations: 54.86 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.5917, allocations: 102.5 MB / 462.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5921, allocations: 75.95 kB / 462.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9634/1.555, allocations: 151.9 MB / 0.6 GB, free: 88.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.556, allocations: 0 / 0.6 GB, free: 88.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005291/1.556, allocations: 151.3 kB / 0.6001 GB, free: 88.64 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.02993/1.586, allocations: 7.383 MB / 0.6073 GB, free: 81.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.586, allocations: 8.031 kB / 0.6073 GB, free: 81.49 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005772/1.592, allocations: 1.347 MB / 0.6087 GB, free: 80.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06958/1.662, allocations: 9.632 MB / 0.6181 GB, free: 70.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03255/1.694, allocations: 9.133 MB / 0.627 GB, free: 61.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000728/1.695, allocations: 0.5737 MB / 0.6275 GB, free: 60.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004315/1.699, allocations: 0.7653 MB / 0.6283 GB, free: 59.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05261/1.752, allocations: 18.02 MB / 0.6459 GB, free: 40.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004328/1.752, allocations: 107 kB / 0.646 GB, free: 40.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002191/1.755, allocations: 375.8 kB / 0.6464 GB, free: 39.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003307/1.758, allocations: 1.691 MB / 0.648 GB, free: 38.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04157/1.799, allocations: 14.39 MB / 0.6621 GB, free: 23.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5195/2.319, allocations: 80.81 MB / 0.741 GB, free: 39.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02953/2.349, allocations: 7.135 MB / 0.7479 GB, free: 38.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008444/2.357, allocations: 4.071 MB / 0.7519 GB, free: 38.24 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/2.358, allocations: 63.97 kB / 0.752 GB, free: 38.24 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/2.358, allocations: 74.34 kB / 0.7521 GB, free: 38.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 7.394e-06/2.358, allocations: 0 / 0.7521 GB, free: 38.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=340): time 0.1071/2.465, allocations: 27.35 MB / 0.7788 GB, free: 31.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/2.465, allocations: 295.8 kB / 0.779 GB, free: 30.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01595/2.481, allocations: 6.515 MB / 0.7854 GB, free: 30.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009523/2.482, allocations: 77.8 kB / 0.7855 GB, free: 30.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005351/2.487, allocations: 5.364 MB / 0.7907 GB, free: 26.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002203/2.49, allocations: 1.285 MB / 0.792 GB, free: 25.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/2.491, allocations: 192.7 kB / 0.7922 GB, free: 25.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006936/2.492, allocations: 0.7074 MB / 0.7928 GB, free: 25.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009694/2.501, allocations: 3.604 MB / 0.7964 GB, free: 23.92 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01338/2.515, allocations: 9.194 MB / 0.8053 GB, free: 15.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0132/2.528, allocations: 5.697 MB / 0.8109 GB, free: 13.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002223/2.528, allocations: 57.62 kB / 0.811 GB, free: 13.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03808/2.566, allocations: 13.74 MB / 0.8244 GB, free: 7.332 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/2.567, allocations: 91.38 kB / 0.8245 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002559/2.567, allocations: 196.1 kB / 0.8247 GB, free: 7.055 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/2.572, allocations: 1.381 MB / 0.826 GB, free: 5.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01477/2.587, allocations: 2.241 MB / 0.8282 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/2.609, allocations: 11.25 MB / 0.8392 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01224/2.621, allocations: 0.5324 MB / 0.8397 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002577/2.624, allocations: 0.5665 MB / 0.8403 GB, free: 8.625 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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],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 (1172): * Single equations (assignments): 1166 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003132/2.627, allocations: 0.8419 MB / 0.8411 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/2.629, allocations: 0.644 MB / 0.8417 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02109/2.65, allocations: 6.589 MB / 0.8481 GB, free: 1.703 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.069e-05/2.65, allocations: 37.25 kB / 0.8482 GB, free: 1.668 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.589e-05/2.65, allocations: 8 kB / 0.8482 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.641e-05/2.65, allocations: 21.02 kB / 0.8482 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05237/2.703, allocations: 15.5 MB / 0.8633 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-05/2.703, allocations: 1.438 kB / 0.8633 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006213/2.709, allocations: 0.5847 MB / 0.8639 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005188/2.714, allocations: 1.043 MB / 0.8649 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008259/2.715, allocations: 63.33 kB / 0.865 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/2.736, allocations: 10.25 MB / 0.875 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/2.736, allocations: 11.94 kB / 0.875 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02998/2.766, allocations: 11.11 MB / 0.8859 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005415/2.772, allocations: 1.211 MB / 0.887 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002107/2.774, allocations: 59.95 kB / 0.8871 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00604/2.78, allocations: 210.3 kB / 0.8873 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/2.781, allocations: 194.6 kB / 0.8875 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004012/2.781, allocations: 87.92 kB / 0.8876 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01377/2.795, allocations: 4.624 MB / 0.8921 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.02e-07/2.795, allocations: 0 / 0.8921 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01257/2.808, allocations: 1.79 MB / 0.8938 GB, free: 8.055 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4046/3.213, allocations: 12.02 MB / 0.9056 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0239/3.237, allocations: 9.115 MB / 0.9145 GB, free: 145 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/3.237, allocations: 0.6562 kB / 0.9145 GB, free: 145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009937/3.247, allocations: 3.478 MB / 0.9179 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00769/3.254, allocations: 0.8159 MB / 0.9187 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05616/3.31, allocations: 16.83 MB / 0.9351 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/3.325, allocations: 5.602 MB / 0.9406 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01592/3.341, allocations: 3.17 MB / 0.9437 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009656/3.35, allocations: 3.655 MB / 0.9472 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/3.35, allocations: 0 / 0.9472 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3909/3.741, allocations: 141.9 MB / 1.086 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/3.742, allocations: 162.1 kB / 1.086 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/12.32, allocations: 0 / 1.086 GB, free: 27.32 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat