Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.126/2.126, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.752e-05/3.761e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5494, allocations: 95.71 MB / 417.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5498, allocations: 74.88 kB / 417.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021/1.571, allocations: 151.8 MB / 0.5561 GB, free: 87.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/1.571, allocations: 4 kB / 0.5561 GB, free: 87.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005295/1.572, allocations: 156 kB / 0.5562 GB, free: 87.55 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.03851/1.61, allocations: 7.382 MB / 0.5634 GB, free: 84.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/1.61, allocations: 7.312 kB / 0.5634 GB, free: 84.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007857/1.618, allocations: 1.345 MB / 0.5648 GB, free: 83.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08337/1.702, allocations: 9.631 MB / 0.5742 GB, free: 79.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03165/1.733, allocations: 9.106 MB / 0.5831 GB, free: 72.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008761/1.734, allocations: 0.5715 MB / 0.5836 GB, free: 72.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004721/1.739, allocations: 0.7655 MB / 0.5844 GB, free: 71.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05572/1.795, allocations: 17.92 MB / 0.6019 GB, free: 52.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006338/1.795, allocations: 107 kB / 0.602 GB, free: 51.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004182/1.8, allocations: 373.1 kB / 0.6023 GB, free: 51.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003937/1.804, allocations: 1.691 MB / 0.604 GB, free: 49.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0439/1.848, allocations: 14.08 MB / 0.6177 GB, free: 35.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4997/2.347, allocations: 80.78 MB / 0.6966 GB, free: 24.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03032/2.378, allocations: 7.104 MB / 0.7035 GB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008077/2.386, allocations: 4.063 MB / 0.7075 GB, free: 23.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/2.386, allocations: 59.72 kB / 0.7076 GB, free: 23.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/2.386, allocations: 68.73 kB / 0.7076 GB, free: 23.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 7.034e-06/2.386, allocations: 0 / 0.7076 GB, free: 23.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=340): time 0.1185/2.505, allocations: 27.36 MB / 0.7343 GB, free: 16.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/2.505, allocations: 295.3 kB / 0.7346 GB, free: 16.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01793/2.523, allocations: 6.523 MB / 0.741 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001035/2.524, allocations: 72.3 kB / 0.7411 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005748/2.53, allocations: 5.359 MB / 0.7463 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002397/2.532, allocations: 1.281 MB / 0.7476 GB, free: 9.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/2.534, allocations: 190.6 kB / 0.7477 GB, free: 9.191 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009655/2.535, allocations: 0.7101 MB / 0.7484 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00955/2.544, allocations: 3.605 MB / 0.752 GB, free: 7.473 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01396/2.558, allocations: 9.136 MB / 0.7609 GB, free: 14.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/2.573, allocations: 5.697 MB / 0.7664 GB, free: 12.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002475/2.573, allocations: 58.16 kB / 0.7665 GB, free: 12.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04117/2.614, allocations: 13.19 MB / 0.7794 GB, free: 7.715 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/2.614, allocations: 92 kB / 0.7795 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004159/2.615, allocations: 197.4 kB / 0.7796 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006407/2.621, allocations: 1.379 MB / 0.781 GB, free: 6.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0159/2.637, allocations: 2.235 MB / 0.7832 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/2.661, allocations: 11.26 MB / 0.7942 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01298/2.674, allocations: 0.544 MB / 0.7947 GB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002725/2.676, allocations: 0.5639 MB / 0.7953 GB, free: 9.039 MB / 458.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.004101/2.681, allocations: 0.8489 MB / 0.7961 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002196/2.683, allocations: 0.6402 MB / 0.7967 GB, free: 7.547 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02238/2.705, allocations: 6.596 MB / 0.8031 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-05/2.705, allocations: 38.39 kB / 0.8032 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-05/2.705, allocations: 8 kB / 0.8032 GB, free: 2.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.569e-05/2.706, allocations: 14.2 kB / 0.8032 GB, free: 2.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05328/2.759, allocations: 15.39 MB / 0.8182 GB, free: 5.582 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.421e-05/2.759, allocations: 0 / 0.8182 GB, free: 5.582 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006553/2.766, allocations: 0.5788 MB / 0.8188 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00551/2.771, allocations: 1.05 MB / 0.8198 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/2.772, allocations: 65.98 kB / 0.8199 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3849/3.157, allocations: 10.23 MB / 0.8299 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/3.157, allocations: 1.156 kB / 0.8299 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03344/3.191, allocations: 11.13 MB / 0.8407 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005651/3.196, allocations: 1.212 MB / 0.8419 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003161/3.2, allocations: 60.28 kB / 0.842 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007344/3.207, allocations: 205.5 kB / 0.8422 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/3.208, allocations: 196.8 kB / 0.8424 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004696/3.209, allocations: 89.75 kB / 0.8425 GB, free: 113.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01451/3.223, allocations: 4.628 MB / 0.847 GB, free: 113.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.253e-06/3.224, allocations: 0 / 0.847 GB, free: 113.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01463/3.238, allocations: 1.788 MB / 0.8487 GB, free: 113.2 MB / 474.7 MB 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.02992/3.268, allocations: 12.03 MB / 0.8605 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02233/3.29, allocations: 8.809 MB / 0.8691 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/3.291, allocations: 0 / 0.8691 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00905/3.3, allocations: 3.447 MB / 0.8724 GB, free: 106.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008732/3.308, allocations: 0.8093 MB / 0.8732 GB, free: 105.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06092/3.369, allocations: 16.8 MB / 0.8896 GB, free: 99.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01514/3.385, allocations: 5.611 MB / 0.8951 GB, free: 98.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01634/3.401, allocations: 3.172 MB / 0.8982 GB, free: 97.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009728/3.411, allocations: 3.651 MB / 0.9018 GB, free: 94.68 MB / 474.7 MB Notification: Performance of SimCode: time 2.334e-06/3.411, allocations: 0 / 0.9018 GB, free: 94.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6802/4.091, allocations: 140.8 MB / 1.039 GB, free: 109.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/4.091, allocations: 186.6 kB / 1.039 GB, free: 109.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.042/13.13, allocations: 0 / 1.039 GB, free: 109.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat