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.023/2.023, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.835e-05, allocations: 7.984 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.5501, allocations: 94.61 MB / 416.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5504, allocations: 80.05 kB / 416.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8629/1.413, allocations: 128.6 MB / 0.5324 GB, free: 89.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.085e-06/1.413, allocations: 0 / 0.5324 GB, free: 89.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004229/1.414, allocations: 133.8 kB / 0.5325 GB, free: 89.52 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.02703/1.441, allocations: 6.555 MB / 0.5389 GB, free: 86.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.456e-05/1.441, allocations: 10.94 kB / 0.5389 GB, free: 86.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007877/1.449, allocations: 1.152 MB / 0.5401 GB, free: 86.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05396/1.503, allocations: 7.125 MB / 0.547 GB, free: 86.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05163/1.555, allocations: 7.36 MB / 0.5542 GB, free: 85.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009287/1.564, allocations: 494.2 kB / 0.5547 GB, free: 85.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008303/1.572, allocations: 0.6453 MB / 0.5553 GB, free: 85.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0716/1.644, allocations: 16.16 MB / 0.5711 GB, free: 76.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005122/1.645, allocations: 87.88 kB / 0.5712 GB, free: 76.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003383/1.648, allocations: 315.4 kB / 0.5715 GB, free: 76.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004812/1.653, allocations: 1.548 MB / 0.573 GB, free: 76.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04287/1.696, allocations: 13.13 MB / 0.5858 GB, free: 66.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1103/1.806, allocations: 72.46 MB / 0.6566 GB, free: 9.516 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03474/1.841, allocations: 7.435 MB / 0.6638 GB, free: 1.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.357/2.198, allocations: 3.817 MB / 0.6676 GB, free: 97.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02785/2.226, allocations: 9.664 MB / 0.677 GB, free: 95.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/2.226, allocations: 62.17 kB / 0.6771 GB, free: 95.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 7.434e-06/2.226, allocations: 1.281 kB / 0.6771 GB, free: 95.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.1226/2.349, allocations: 27.63 MB / 0.7041 GB, free: 90.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/2.349, allocations: 247.8 kB / 0.7043 GB, free: 90.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01889/2.368, allocations: 6.007 MB / 0.7102 GB, free: 88.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001266/2.369, allocations: 74.28 kB / 0.7102 GB, free: 88.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006596/2.376, allocations: 4.693 MB / 0.7148 GB, free: 84.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002841/2.379, allocations: 1.185 MB / 0.716 GB, free: 84.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/2.381, allocations: 180.9 kB / 0.7161 GB, free: 83.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00121/2.382, allocations: 0.6798 MB / 0.7168 GB, free: 83.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01408/2.396, allocations: 3.479 MB / 0.7202 GB, free: 82.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/2.41, allocations: 8.605 MB / 0.7286 GB, free: 74.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/2.423, allocations: 5.417 MB / 0.7339 GB, free: 72.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001898/2.423, allocations: 52.62 kB / 0.7339 GB, free: 72.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03837/2.461, allocations: 13.36 MB / 0.747 GB, free: 68.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/2.461, allocations: 88.62 kB / 0.7471 GB, free: 68.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002905/2.462, allocations: 178.9 kB / 0.7472 GB, free: 68.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007004/2.469, allocations: 1.671 MB / 0.7489 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/2.483, allocations: 2.111 MB / 0.7509 GB, free: 67.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/2.503, allocations: 11.21 MB / 0.7619 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/2.515, allocations: 0.5267 MB / 0.7624 GB, free: 57.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002343/2.518, allocations: 0.5228 MB / 0.7629 GB, free: 56.88 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.003177/2.521, allocations: 0.7845 MB / 0.7637 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001662/2.523, allocations: 0.5862 MB / 0.7643 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/2.542, allocations: 6.735 MB / 0.7708 GB, free: 50.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.901e-05/2.542, allocations: 37.48 kB / 0.7709 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/2.542, allocations: 15.52 kB / 0.7709 GB, free: 49.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.487e-05/2.543, allocations: 13.75 kB / 0.7709 GB, free: 49.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0465/2.589, allocations: 15.13 MB / 0.7857 GB, free: 37.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/2.589, allocations: 4 kB / 0.7857 GB, free: 37.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00605/2.595, allocations: 0.5938 MB / 0.7863 GB, free: 37.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006444/2.602, allocations: 1.401 MB / 0.7876 GB, free: 36.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009219/2.603, allocations: 56.62 kB / 0.7877 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02026/2.623, allocations: 10.43 MB / 0.7979 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/2.623, allocations: 7.953 kB / 0.7979 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02727/2.65, allocations: 11.81 MB / 0.8094 GB, free: 16.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004965/2.655, allocations: 1.157 MB / 0.8105 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002208/2.658, allocations: 56 kB / 0.8106 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006205/2.664, allocations: 220.4 kB / 0.8108 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001305/2.665, allocations: 189.9 kB / 0.811 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000356/2.666, allocations: 88.84 kB / 0.8111 GB, free: 14.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01124/2.677, allocations: 4.291 MB / 0.8152 GB, free: 10.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.413e-06/2.677, allocations: 0 / 0.8152 GB, free: 10.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01144/2.688, allocations: 1.631 MB / 0.8168 GB, free: 8.391 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.3721/3.061, allocations: 13.19 MB / 0.8297 GB, free: 100.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0239/3.084, allocations: 8.618 MB / 0.8381 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/3.085, allocations: 1.219 kB / 0.8381 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01142/3.096, allocations: 3.407 MB / 0.8415 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007109/3.103, allocations: 0.6981 MB / 0.8421 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05363/3.157, allocations: 15.2 MB / 0.857 GB, free: 97.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/3.169, allocations: 4.926 MB / 0.8618 GB, free: 96.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01392/3.183, allocations: 2.95 MB / 0.8647 GB, free: 96.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008198/3.191, allocations: 3.159 MB / 0.8678 GB, free: 94.54 MB / 458.7 MB Notification: Performance of SimCode: time 1.874e-06/3.191, allocations: 0 / 0.8678 GB, free: 94.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.647/3.838, allocations: 130.6 MB / 0.9953 GB, free: 65.76 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/3.839, allocations: 164.9 kB / 0.9954 GB, free: 65.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/11.9, allocations: 0 / 0.9954 GB, free: 65.54 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