Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.985/1.985, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.247e-05, allocations: 8 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5169/0.6291, allocations: 94.61 MB / 416.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.6295, allocations: 75.95 kB / 416.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8987/1.528, allocations: 128.6 MB / 0.5324 GB, free: 89.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.528, allocations: 4 kB / 0.5324 GB, free: 89.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004334/1.529, allocations: 130.8 kB / 0.5325 GB, free: 89.35 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.02666/1.555, allocations: 6.559 MB / 0.5389 GB, free: 86.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.555, allocations: 7.25 kB / 0.5389 GB, free: 86.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005324/1.561, allocations: 1.154 MB / 0.54 GB, free: 86.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05152/1.612, allocations: 7.123 MB / 0.547 GB, free: 86.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02639/1.639, allocations: 7.367 MB / 0.5542 GB, free: 85.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006211/1.639, allocations: 493.7 kB / 0.5547 GB, free: 85.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003742/1.643, allocations: 0.6432 MB / 0.5553 GB, free: 85.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05088/1.694, allocations: 16.17 MB / 0.5711 GB, free: 76.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005082/1.695, allocations: 88.22 kB / 0.5712 GB, free: 76.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003665/1.698, allocations: 311.3 kB / 0.5715 GB, free: 76.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/1.702, allocations: 1.546 MB / 0.573 GB, free: 76.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04227/1.744, allocations: 13.14 MB / 0.5858 GB, free: 67.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1264/1.871, allocations: 72.46 MB / 0.6566 GB, free: 9.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03512/1.906, allocations: 7.422 MB / 0.6638 GB, free: 2.246 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3577/2.264, allocations: 3.81 MB / 0.6675 GB, free: 97.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0284/2.292, allocations: 9.668 MB / 0.677 GB, free: 95.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.716e-05/2.292, allocations: 68.94 kB / 0.677 GB, free: 95.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 7.905e-06/2.292, allocations: 0 / 0.677 GB, free: 95.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.1817/2.474, allocations: 27.64 MB / 0.704 GB, free: 90.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/2.474, allocations: 236.3 kB / 0.7043 GB, free: 90.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02194/2.496, allocations: 6.015 MB / 0.7101 GB, free: 88.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009831/2.497, allocations: 74.38 kB / 0.7102 GB, free: 88.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004057/2.501, allocations: 4.445 MB / 0.7145 GB, free: 85.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002015/2.504, allocations: 1.186 MB / 0.7157 GB, free: 84.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/2.505, allocations: 177.8 kB / 0.7159 GB, free: 84.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007035/2.506, allocations: 0.6835 MB / 0.7165 GB, free: 83.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009095/2.515, allocations: 3.477 MB / 0.7199 GB, free: 82.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/2.527, allocations: 8.61 MB / 0.7283 GB, free: 74.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/2.54, allocations: 5.419 MB / 0.7336 GB, free: 72.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002073/2.541, allocations: 49.44 kB / 0.7337 GB, free: 72.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.0486/2.589, allocations: 13.11 MB / 0.7465 GB, free: 68.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002246/2.589, allocations: 83.59 kB / 0.7466 GB, free: 68.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004376/2.59, allocations: 177.8 kB / 0.7467 GB, free: 68.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/2.6, allocations: 1.68 MB / 0.7484 GB, free: 68.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01933/2.62, allocations: 2.113 MB / 0.7504 GB, free: 68.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02965/2.65, allocations: 11.22 MB / 0.7614 GB, free: 58.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01508/2.665, allocations: 0.5216 MB / 0.7619 GB, free: 58.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003025/2.668, allocations: 0.522 MB / 0.7624 GB, free: 57.53 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.005385/2.673, allocations: 0.7899 MB / 0.7632 GB, free: 56.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003354/2.677, allocations: 0.586 MB / 0.7638 GB, free: 56.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02505/2.702, allocations: 6.738 MB / 0.7703 GB, free: 50.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.605e-05/2.702, allocations: 36 kB / 0.7704 GB, free: 50.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.787e-05/2.702, allocations: 12.88 kB / 0.7704 GB, free: 50.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-05/2.702, allocations: 13.27 kB / 0.7704 GB, free: 50.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05975/2.762, allocations: 15.14 MB / 0.7852 GB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.034e-05/2.762, allocations: 7.938 kB / 0.7852 GB, free: 38.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007826/2.77, allocations: 0.5836 MB / 0.7858 GB, free: 37.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007108/2.777, allocations: 1.403 MB / 0.7871 GB, free: 36.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008897/2.778, allocations: 60.42 kB / 0.7872 GB, free: 36.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/2.798, allocations: 10.41 MB / 0.7973 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/2.798, allocations: 11.95 kB / 0.7974 GB, free: 27.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02773/2.826, allocations: 11.82 MB / 0.8089 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004987/2.831, allocations: 1.149 MB / 0.81 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002226/2.834, allocations: 56.86 kB / 0.8101 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005822/2.839, allocations: 219.7 kB / 0.8103 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001192/2.841, allocations: 189.9 kB / 0.8105 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003521/2.841, allocations: 84.78 kB / 0.8105 GB, free: 15.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01101/2.852, allocations: 4.291 MB / 0.8147 GB, free: 10.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.11e-07/2.852, allocations: 4 kB / 0.8147 GB, free: 10.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01142/2.864, allocations: 1.628 MB / 0.8163 GB, free: 9.125 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.3684/3.232, allocations: 13.2 MB / 0.8292 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02271/3.255, allocations: 8.622 MB / 0.8376 GB, free: 100.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/3.255, allocations: 1.781 kB / 0.8376 GB, free: 100.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01062/3.265, allocations: 3.41 MB / 0.841 GB, free: 99.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006506/3.272, allocations: 0.6931 MB / 0.8416 GB, free: 99.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0527/3.325, allocations: 15.94 MB / 0.8572 GB, free: 97.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/3.337, allocations: 4.925 MB / 0.862 GB, free: 96.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008576/3.345, allocations: 3.216 MB / 0.8652 GB, free: 94.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.733e-06/3.346, allocations: 1.25 kB / 0.8652 GB, free: 94.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.706/9.052, allocations: 185.4 MB / 1.046 GB, free: 96.15 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat