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 2.22/2.22, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.957e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5573, allocations: 94.61 MB / 416.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5577, allocations: 71.97 kB / 416.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8579/1.416, allocations: 128.7 MB / 0.5324 GB, free: 89.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.416, allocations: 2.844 kB / 0.5324 GB, free: 89.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000542/1.416, allocations: 133.6 kB / 0.5326 GB, free: 89.28 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: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02783/1.444, allocations: 6.555 MB / 0.539 GB, free: 86.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.444, allocations: 10.28 kB / 0.539 GB, free: 86.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005604/1.45, allocations: 1.151 MB / 0.5401 GB, free: 86.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05214/1.502, allocations: 7.119 MB / 0.5471 GB, free: 86.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02738/1.529, allocations: 7.373 MB / 0.5543 GB, free: 85.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000627/1.53, allocations: 493.4 kB / 0.5547 GB, free: 85.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003574/1.534, allocations: 0.6452 MB / 0.5554 GB, free: 84.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05025/1.584, allocations: 16.08 MB / 0.5711 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004771/1.585, allocations: 87.48 kB / 0.5711 GB, free: 76.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003464/1.588, allocations: 316.2 kB / 0.5715 GB, free: 76.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003591/1.592, allocations: 1.551 MB / 0.573 GB, free: 76.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04182/1.634, allocations: 12.87 MB / 0.5855 GB, free: 67.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/1.745, allocations: 72.45 MB / 0.6563 GB, free: 9.645 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03594/1.781, allocations: 7.4 MB / 0.6635 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3143/2.096, allocations: 3.812 MB / 0.6672 GB, free: 97.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02879/2.125, allocations: 9.657 MB / 0.6767 GB, free: 95.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/2.125, allocations: 69.78 kB / 0.6767 GB, free: 95.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 7.695e-06/2.125, allocations: 2.062 kB / 0.6767 GB, free: 95.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.1307/2.255, allocations: 27.63 MB / 0.7037 GB, free: 90.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/2.256, allocations: 245.6 kB / 0.704 GB, free: 90.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01624/2.272, allocations: 6.006 MB / 0.7098 GB, free: 89.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009578/2.273, allocations: 78.36 kB / 0.7099 GB, free: 89.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005461/2.278, allocations: 4.687 MB / 0.7145 GB, free: 85.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002164/2.281, allocations: 1.187 MB / 0.7156 GB, free: 84.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/2.282, allocations: 177.9 kB / 0.7158 GB, free: 84.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008943/2.283, allocations: 0.6839 MB / 0.7165 GB, free: 83.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009292/2.293, allocations: 3.477 MB / 0.7199 GB, free: 82.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01319/2.306, allocations: 8.553 MB / 0.7282 GB, free: 74.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.319, allocations: 5.416 MB / 0.7335 GB, free: 73.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002201/2.319, allocations: 48.94 kB / 0.7336 GB, free: 73.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03799/2.357, allocations: 12.86 MB / 0.7461 GB, free: 69.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/2.357, allocations: 83.22 kB / 0.7462 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002971/2.357, allocations: 179.7 kB / 0.7464 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007109/2.364, allocations: 1.678 MB / 0.748 GB, free: 68.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/2.379, allocations: 2.11 MB / 0.7501 GB, free: 68.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/2.4, allocations: 11.23 MB / 0.761 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/2.412, allocations: 0.5317 MB / 0.7615 GB, free: 58.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/2.414, allocations: 0.5224 MB / 0.7621 GB, free: 57.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * 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 (1084): * Single equations (assignments): 1079 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003031/2.418, allocations: 0.7826 MB / 0.7628 GB, free: 56.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001692/2.419, allocations: 0.586 MB / 0.7634 GB, free: 56.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01985/2.439, allocations: 6.726 MB / 0.77 GB, free: 50.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.398e-05/2.439, allocations: 36 kB / 0.77 GB, free: 50.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-05/2.439, allocations: 10.77 kB / 0.77 GB, free: 50.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.529e-05/2.439, allocations: 14.34 kB / 0.77 GB, free: 50.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04267/2.482, allocations: 15.13 MB / 0.7848 GB, free: 38.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/2.482, allocations: 4 kB / 0.7848 GB, free: 38.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00597/2.488, allocations: 0.5934 MB / 0.7854 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006242/2.494, allocations: 1.393 MB / 0.7867 GB, free: 37.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000725/2.495, allocations: 61.09 kB / 0.7868 GB, free: 36.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/2.515, allocations: 10.42 MB / 0.797 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/2.516, allocations: 15.33 kB / 0.797 GB, free: 27.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02682/2.542, allocations: 11.81 MB / 0.8085 GB, free: 16.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004342/2.547, allocations: 1.153 MB / 0.8096 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/2.548, allocations: 56 kB / 0.8097 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/2.553, allocations: 215.7 kB / 0.8099 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007227/2.554, allocations: 193.9 kB / 0.8101 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/2.554, allocations: 84 kB / 0.8102 GB, free: 14.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009381/2.564, allocations: 4.291 MB / 0.8144 GB, free: 10.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.352e-06/2.564, allocations: 0 / 0.8144 GB, free: 10.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01171/2.575, allocations: 1.629 MB / 0.8159 GB, free: 9.004 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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.3898/2.965, allocations: 13.19 MB / 0.8288 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02286/2.988, allocations: 8.336 MB / 0.837 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/2.988, allocations: 4.906 kB / 0.837 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01413/3.003, allocations: 3.359 MB / 0.8403 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008947/3.012, allocations: 0.704 MB / 0.8409 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06014/3.072, allocations: 15.18 MB / 0.8558 GB, free: 97.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01125/3.083, allocations: 4.923 MB / 0.8606 GB, free: 96.65 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01327/3.096, allocations: 2.953 MB / 0.8635 GB, free: 96.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007578/3.104, allocations: 3.151 MB / 0.8665 GB, free: 94.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/3.104, allocations: 0 / 0.8665 GB, free: 94.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3317/3.436, allocations: 129.6 MB / 0.9931 GB, free: 1.426 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/3.436, allocations: 158.5 kB / 0.9933 GB, free: 1.203 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/11.23, allocations: 7.938 kB / 0.9933 GB, free: 1.195 MB / 458.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