Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.181e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09713, allocations: 48.71 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5195, allocations: 94.08 MB / 410.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.5198, allocations: 72.72 kB / 410.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7749/1.295, allocations: 125.7 MB / 0.5236 GB, free: 84.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.295, allocations: 3.938 kB / 0.5236 GB, free: 84.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004293/1.295, allocations: 138.8 kB / 0.5237 GB, free: 84.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02617/1.321, allocations: 6.547 MB / 0.5301 GB, free: 81.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/1.321, allocations: 10.72 kB / 0.5301 GB, free: 81.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05055/1.372, allocations: 7.113 MB / 0.5371 GB, free: 80.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02553/1.398, allocations: 7.369 MB / 0.5443 GB, free: 78.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/1.398, allocations: 211.5 kB / 0.5445 GB, free: 78.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003447/1.402, allocations: 388.2 kB / 0.5449 GB, free: 78.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02193/1.423, allocations: 9.15 MB / 0.5538 GB, free: 75.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03217/1.456, allocations: 14.08 MB / 0.5675 GB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003015/1.456, allocations: 87.22 kB / 0.5676 GB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001366/1.457, allocations: 46.81 kB / 0.5677 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002971/1.46, allocations: 1.548 MB / 0.5692 GB, free: 58.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09856/1.559, allocations: 69.03 MB / 0.6366 GB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3034/1.862, allocations: 5.34 MB / 0.6418 GB, free: 92.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007613/1.87, allocations: 3.642 MB / 0.6454 GB, free: 92.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.871, allocations: 385.8 kB / 0.6457 GB, free: 91.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/1.871, allocations: 66.03 kB / 0.6458 GB, free: 91.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=272): time 7.123e-06/1.871, allocations: 0 / 0.6458 GB, free: 91.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=316): time 0.09868/1.97, allocations: 28.91 MB / 0.674 GB, free: 86.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.97, allocations: 238.8 kB / 0.6743 GB, free: 85.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.98, allocations: 4.667 MB / 0.6788 GB, free: 84.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009081/1.981, allocations: 25.7 kB / 0.6788 GB, free: 84.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004023/1.985, allocations: 4.767 MB / 0.6835 GB, free: 80.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001954/1.987, allocations: 1.159 MB / 0.6846 GB, free: 79.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.988, allocations: 1.688 kB / 0.6846 GB, free: 79.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006146/1.989, allocations: 0.6982 MB / 0.6853 GB, free: 79.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008018/1.997, allocations: 3.391 MB / 0.6886 GB, free: 78.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01155/2.009, allocations: 8.644 MB / 0.6971 GB, free: 69.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/2.02, allocations: 5.359 MB / 0.7023 GB, free: 68.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002066/2.021, allocations: 50.97 kB / 0.7023 GB, free: 68.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03453/2.055, allocations: 12.37 MB / 0.7144 GB, free: 64.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000136/2.055, allocations: 85.25 kB / 0.7145 GB, free: 64.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002892/2.056, allocations: 187.1 kB / 0.7147 GB, free: 64.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006731/2.062, allocations: 1.697 MB / 0.7163 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/2.077, allocations: 2.178 MB / 0.7185 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/2.097, allocations: 10.61 MB / 0.7288 GB, free: 53.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/2.108, allocations: 371.2 kB / 0.7292 GB, free: 53.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0025/2.11, allocations: 0.5443 MB / 0.7297 GB, free: 52.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1122): * Single equations (assignments): 1117 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00364/2.114, allocations: 0.5794 MB / 0.7303 GB, free: 52.34 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01799/2.132, allocations: 6.494 MB / 0.7366 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/2.134, allocations: 0.5014 MB / 0.7371 GB, free: 46.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/2.153, allocations: 6.534 MB / 0.7435 GB, free: 41.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-05/2.153, allocations: 32 kB / 0.7435 GB, free: 41.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/2.153, allocations: 11.83 kB / 0.7435 GB, free: 41.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.308e-05/2.153, allocations: 14.02 kB / 0.7435 GB, free: 41.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03884/2.192, allocations: 13.76 MB / 0.757 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-05/2.192, allocations: 0 / 0.757 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005546/2.197, allocations: 0.5673 MB / 0.7575 GB, free: 29.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005998/2.203, allocations: 1.392 MB / 0.7589 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008157/2.204, allocations: 15.38 kB / 0.7589 GB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/2.223, allocations: 9.768 MB / 0.7684 GB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/2.223, allocations: 4 kB / 0.7685 GB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02538/2.249, allocations: 11.01 MB / 0.7792 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00404/2.253, allocations: 1.033 MB / 0.7802 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.255, allocations: 8 kB / 0.7802 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005289/2.26, allocations: 174.7 kB / 0.7804 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001311/2.261, allocations: 190.2 kB / 0.7806 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004339/2.262, allocations: 81.12 kB / 0.7806 GB, free: 8.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007813/2.269, allocations: 3.146 MB / 0.7837 GB, free: 4.883 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/2.27, allocations: 0 / 0.7837 GB, free: 4.883 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0112/2.281, allocations: 1.399 MB / 0.7851 GB, free: 3.488 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02905/2.31, allocations: 12.14 MB / 0.7969 GB, free: 7.195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3404/2.65, allocations: 8.533 MB / 0.8053 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.65, allocations: 1.031 kB / 0.8053 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009354/2.66, allocations: 3.342 MB / 0.8085 GB, free: 101.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004814/2.665, allocations: 0.5204 MB / 0.8091 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04857/2.713, allocations: 14.7 MB / 0.8234 GB, free: 98.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01167/2.725, allocations: 4.938 MB / 0.8282 GB, free: 98.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01406/2.739, allocations: 2.968 MB / 0.8311 GB, free: 97.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007495/2.747, allocations: 3.088 MB / 0.8341 GB, free: 97.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.442e-06/2.747, allocations: 0.5469 kB / 0.8341 GB, free: 97.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2589/3.005, allocations: 115 MB / 0.9465 GB, free: 11.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/3.006, allocations: 123.6 kB / 0.9466 GB, free: 11.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/9.556, allocations: 0 / 0.9466 GB, free: 11.65 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat