Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.632/2.632, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.888e-05/4.905e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1475, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5858/0.7333, allocations: 109 MB / 0.5071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/0.7338, allocations: 75.97 kB / 0.5072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053/1.787, allocations: 141.4 MB / 0.6453 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.345e-06/1.787, allocations: 0 / 0.6453 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005049/1.787, allocations: 149.5 kB / 0.6454 GB, free: 107.4 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02944/1.817, allocations: 6.878 MB / 0.6522 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.817, allocations: 11.12 kB / 0.6522 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005811/1.823, allocations: 1.224 MB / 0.6534 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1039/1.927, allocations: 9.503 MB / 0.6626 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08189/2.009, allocations: 8.372 MB / 0.6708 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009536/2.01, allocations: 0.5201 MB / 0.6713 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004267/2.014, allocations: 0.7063 MB / 0.672 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06799/2.082, allocations: 16.43 MB / 0.6881 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007593/2.083, allocations: 104.9 kB / 0.6882 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00402/2.087, allocations: 339.5 kB / 0.6885 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00348/2.09, allocations: 1.494 MB / 0.6899 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04202/2.132, allocations: 12.72 MB / 0.7024 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1415/2.274, allocations: 75.42 MB / 0.776 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03786/2.312, allocations: 6.261 MB / 0.7821 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008979/2.321, allocations: 3.452 MB / 0.7855 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/2.321, allocations: 43.31 kB / 0.7855 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/2.321, allocations: 55.28 kB / 0.7856 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 9.208e-06/2.321, allocations: 0 / 0.7856 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.5675/2.889, allocations: 24.11 MB / 0.8091 GB, free: 111 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/2.889, allocations: 285.2 kB / 0.8094 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02101/2.91, allocations: 6.239 MB / 0.8155 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/2.912, allocations: 63.83 kB / 0.8156 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009733/2.921, allocations: 4.992 MB / 0.8204 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002064/2.924, allocations: 1.012 MB / 0.8214 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/2.925, allocations: 171.6 kB / 0.8216 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007046/2.926, allocations: 0.6803 MB / 0.8223 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/2.936, allocations: 3.013 MB / 0.8252 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01755/2.954, allocations: 8.217 MB / 0.8332 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/2.967, allocations: 4.946 MB / 0.8381 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003542/2.968, allocations: 54.5 kB / 0.8381 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.03529/3.003, allocations: 11.65 MB / 0.8495 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/3.003, allocations: 84.53 kB / 0.8496 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003342/3.004, allocations: 190 kB / 0.8497 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005873/3.01, allocations: 1.361 MB / 0.8511 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01331/3.023, allocations: 1.973 MB / 0.853 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/3.043, allocations: 11.21 MB / 0.8639 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/3.056, allocations: 489.4 kB / 0.8644 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002902/3.059, allocations: 0.5144 MB / 0.8649 GB, free: 93.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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.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],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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.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 (1043): * Single equations (assignments): 1037 * 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.004894/3.064, allocations: 0.783 MB / 0.8657 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002686/3.067, allocations: 0.597 MB / 0.8663 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/3.09, allocations: 5.23 MB / 0.8714 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.412e-05/3.09, allocations: 26.34 kB / 0.8714 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.355e-05/3.091, allocations: 10.22 kB / 0.8714 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-05/3.091, allocations: 16.33 kB / 0.8714 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04421/3.135, allocations: 12.9 MB / 0.884 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/3.135, allocations: 0 / 0.884 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004538/3.14, allocations: 429.9 kB / 0.8844 GB, free: 85.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/3.145, allocations: 1.049 MB / 0.8854 GB, free: 85.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000682/3.145, allocations: 44.44 kB / 0.8855 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/3.163, allocations: 10.2 MB / 0.8954 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/3.164, allocations: 3.781 kB / 0.8954 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0217/3.185, allocations: 8.976 MB / 0.9042 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/3.188, allocations: 0.6495 MB / 0.9048 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002121/3.19, allocations: 50.38 kB / 0.9049 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005618/3.196, allocations: 150.2 kB / 0.905 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/3.197, allocations: 146.3 kB / 0.9052 GB, free: 74.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002905/3.197, allocations: 70.47 kB / 0.9052 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01233/3.209, allocations: 4.426 MB / 0.9096 GB, free: 72.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.162e-06/3.209, allocations: 0 / 0.9096 GB, free: 72.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01328/3.223, allocations: 1.597 MB / 0.9111 GB, free: 72.72 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 (204): * Single equations (assignments): 198 * 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.02446/3.247, allocations: 9.861 MB / 0.9208 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01742/3.265, allocations: 7.389 MB / 0.928 GB, free: 59.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/3.265, allocations: 8 kB / 0.928 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006583/3.271, allocations: 2.697 MB / 0.9306 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007502/3.279, allocations: 0.8221 MB / 0.9314 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05009/3.329, allocations: 14.92 MB / 0.946 GB, free: 43.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/3.342, allocations: 5.162 MB / 0.951 GB, free: 39.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01399/3.356, allocations: 2.82 MB / 0.9538 GB, free: 37.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008253/3.365, allocations: 3.312 MB / 0.957 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/3.365, allocations: 0 / 0.957 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.75/4.115, allocations: 129.1 MB / 1.083 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/4.115, allocations: 169.1 kB / 1.083 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.058/13.17, allocations: 0 / 1.083 GB, free: 103.7 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat