Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.64/2.64, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.63e-05, allocations: 11.88 kB / 299.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5302, allocations: 54.85 MB / 354.3 MB, free: 132 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/0.8069, allocations: 98.69 MB / 453 MB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004123/0.8074, allocations: 75.95 kB / 453.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11/1.918, allocations: 159 MB / 0.5978 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.918, allocations: 0 / 0.5978 GB, free: 12.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006826/1.918, allocations: 164 kB / 0.598 GB, free: 12.3 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.03651/1.955, allocations: 7.998 MB / 0.6058 GB, free: 4.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/1.955, allocations: 12.03 kB / 0.6058 GB, free: 4.207 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09113/2.046, allocations: 12.03 MB / 0.6175 GB, free: 8.145 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04309/2.089, allocations: 10.79 MB / 0.6281 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006464/2.09, allocations: 268 kB / 0.6283 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004443/2.094, allocations: 495.6 kB / 0.6288 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03303/2.127, allocations: 10.99 MB / 0.6395 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4404/2.568, allocations: 16.51 MB / 0.6557 GB, free: 62.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000561/2.569, allocations: 108.2 kB / 0.6558 GB, free: 62.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002817/2.571, allocations: 49.41 kB / 0.6558 GB, free: 62.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/2.575, allocations: 1.727 MB / 0.6575 GB, free: 62.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1192/2.694, allocations: 76.33 MB / 0.732 GB, free: 18.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/2.706, allocations: 5.884 MB / 0.7378 GB, free: 16.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007617/2.713, allocations: 4.005 MB / 0.7417 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/2.714, allocations: 0.6628 MB / 0.7423 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.481e-05/2.715, allocations: 76.27 kB / 0.7424 GB, free: 13.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 6.893e-06/2.715, allocations: 0 / 0.7424 GB, free: 13.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=335): time 0.1144/2.829, allocations: 34.2 MB / 0.7758 GB, free: 13.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002582/2.829, allocations: 295.7 kB / 0.7761 GB, free: 12.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02015/2.849, allocations: 5.352 MB / 0.7813 GB, free: 8.402 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009754/2.85, allocations: 29.7 kB / 0.7813 GB, free: 8.367 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0088/2.859, allocations: 5.689 MB / 0.7869 GB, free: 3.219 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003073/2.862, allocations: 1.234 MB / 0.7881 GB, free: 2.109 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/2.864, allocations: 0 / 0.7881 GB, free: 2.109 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001224/2.865, allocations: 0.7188 MB / 0.7888 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02756/2.893, allocations: 3.83 MB / 0.7926 GB, free: 0 / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01989/2.913, allocations: 8.929 MB / 0.8013 GB, free: 5.023 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01416/2.927, allocations: 5.325 MB / 0.8065 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002401/2.927, allocations: 56 kB / 0.8065 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03692/2.964, allocations: 11.81 MB / 0.8181 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/2.965, allocations: 95.59 kB / 0.8181 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003412/2.965, allocations: 204 kB / 0.8183 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/2.969, allocations: 1.013 MB / 0.8193 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01488/2.984, allocations: 2.23 MB / 0.8215 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4067/3.391, allocations: 10.59 MB / 0.8318 GB, free: 97.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/3.402, allocations: 341.9 kB / 0.8322 GB, free: 97.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002533/3.405, allocations: 0.5726 MB / 0.8327 GB, free: 97.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1189): * Single equations (assignments): 1182 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003578/3.409, allocations: 0.6159 MB / 0.8333 GB, free: 97.58 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01567/3.424, allocations: 5.562 MB / 0.8388 GB, free: 97.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002424/3.427, allocations: 0.5853 MB / 0.8393 GB, free: 97.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/3.443, allocations: 5.628 MB / 0.8448 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.294e-05/3.444, allocations: 35.67 kB / 0.8449 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.124e-05/3.444, allocations: 10.53 kB / 0.8449 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/3.444, allocations: 15.38 kB / 0.8449 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03937/3.483, allocations: 13.12 MB / 0.8577 GB, free: 96.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.213e-05/3.483, allocations: 3.594 kB / 0.8577 GB, free: 96.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005632/3.489, allocations: 0.5344 MB / 0.8582 GB, free: 96.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/3.492, allocations: 0.658 MB / 0.8589 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008236/3.493, allocations: 17.73 kB / 0.8589 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/3.507, allocations: 9.468 MB / 0.8681 GB, free: 91.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/3.507, allocations: 3.172 kB / 0.8681 GB, free: 91.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/3.529, allocations: 9.66 MB / 0.8776 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00458/3.534, allocations: 1.062 MB / 0.8786 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002737/3.537, allocations: 3.062 kB / 0.8786 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006091/3.543, allocations: 145.2 kB / 0.8787 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/3.544, allocations: 191 kB / 0.8789 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005132/3.545, allocations: 91.64 kB / 0.879 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01056/3.555, allocations: 3.656 MB / 0.8826 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.001e-06/3.556, allocations: 0 / 0.8826 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01375/3.569, allocations: 1.568 MB / 0.8841 GB, free: 88.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02339/3.593, allocations: 10.61 MB / 0.8945 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01887/3.612, allocations: 8.277 MB / 0.9026 GB, free: 81.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/3.612, allocations: 5.375 kB / 0.9026 GB, free: 81.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006825/3.619, allocations: 3.057 MB / 0.9056 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007061/3.626, allocations: 0.7257 MB / 0.9063 GB, free: 79.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05466/3.68, allocations: 16.71 MB / 0.9226 GB, free: 71.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01441/3.695, allocations: 5.913 MB / 0.9284 GB, free: 66.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01483/3.71, allocations: 3.031 MB / 0.9313 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009954/3.72, allocations: 3.904 MB / 0.9351 GB, free: 61.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.753e-06/3.72, allocations: 0 / 0.9351 GB, free: 61.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7063/4.426, allocations: 131.5 MB / 1.064 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/4.426, allocations: 136.9 kB / 1.064 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/12.83, allocations: 0 / 1.064 GB, free: 90.05 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat