Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.093e-05/5.108e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.5853, allocations: 98.56 MB / 420.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5856, allocations: 75.95 kB / 420.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.331/1.916, allocations: 236.7 MB / 0.6418 GB, free: 13.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.916, allocations: 0 / 0.6418 GB, free: 13.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008691/1.917, allocations: 252 kB / 0.642 GB, free: 12.87 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.05178/1.969, allocations: 12.23 MB / 0.654 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.969, allocations: 8.031 kB / 0.654 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.7525/2.722, allocations: 2.163 MB / 0.6561 GB, free: 32.29 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09934/2.821, allocations: 12.79 MB / 0.6686 GB, free: 31.44 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05051/2.872, allocations: 13.23 MB / 0.6815 GB, free: 30.84 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001585/2.873, allocations: 0.9396 MB / 0.6824 GB, free: 30.81 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007822/2.881, allocations: 1.254 MB / 0.6836 GB, free: 30.8 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1027/2.984, allocations: 30.01 MB / 0.7129 GB, free: 24.74 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001045/2.985, allocations: 139.1 kB / 0.7131 GB, free: 24.73 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007147/2.992, allocations: 0.5812 MB / 0.7136 GB, free: 24.73 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006917/2.999, allocations: 2.87 MB / 0.7164 GB, free: 24.69 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08254/3.082, allocations: 24.49 MB / 0.7404 GB, free: 19.91 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6654/3.747, allocations: 127.2 MB / 0.8646 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06921/3.817, allocations: 14.91 MB / 0.8792 GB, free: 20.34 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01637/3.833, allocations: 8.103 MB / 0.8871 GB, free: 20.26 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05705/3.89, allocations: 20.22 MB / 0.9068 GB, free: 17.25 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.183e-05/3.89, allocations: 101.3 kB / 0.9069 GB, free: 17.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=566): time 1.091e-05/3.89, allocations: 0 / 0.9069 GB, free: 17.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=650): time 0.2847/4.175, allocations: 60.94 MB / 0.9664 GB, free: 14.38 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/4.175, allocations: 388.9 kB / 0.9668 GB, free: 13.93 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03248/4.208, allocations: 10.52 MB / 0.9771 GB, free: 4.656 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002022/4.21, allocations: 136 kB / 0.9772 GB, free: 4.523 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.009917/4.22, allocations: 7.87 MB / 0.9849 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005002/4.225, allocations: 2.381 MB / 0.9872 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003536/4.229, allocations: 308 kB / 0.9875 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001894/4.23, allocations: 0.9604 MB / 0.9885 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02022/4.251, allocations: 6.603 MB / 0.9949 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04084/4.292, allocations: 15.59 MB / 1.01 GB, free: 4.305 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02907/4.321, allocations: 9.963 MB / 1.02 GB, free: 12.59 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004487/4.321, allocations: 84 kB / 1.02 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.08665/4.408, allocations: 23.9 MB / 1.043 GB, free: 9.008 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002734/4.408, allocations: 128 kB / 1.043 GB, free: 8.883 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00064/4.409, allocations: 288 kB / 1.044 GB, free: 8.602 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0158/4.425, allocations: 3.279 MB / 1.047 GB, free: 5.34 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02872/4.453, allocations: 3.739 MB / 1.051 GB, free: 1.594 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4504/4.904, allocations: 22.46 MB / 1.072 GB, free: 140 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02145/4.925, allocations: 0.9326 MB / 1.073 GB, free: 140 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004867/4.93, allocations: 0.8711 MB / 1.074 GB, free: 140 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1877): * Single equations (assignments): 1870 * 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 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007826/4.938, allocations: 1.264 MB / 1.075 GB, free: 139.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0045/4.943, allocations: 1.071 MB / 1.077 GB, free: 139.9 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04703/4.99, allocations: 14.64 MB / 1.091 GB, free: 139.5 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001421/4.99, allocations: 68.64 kB / 1.091 GB, free: 139.5 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001007/4.99, allocations: 18.97 kB / 1.091 GB, free: 139.5 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001998/4.99, allocations: 34.88 kB / 1.091 GB, free: 139.5 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1002/5.091, allocations: 32.39 MB / 1.123 GB, free: 134.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001264/5.091, allocations: 17.95 kB / 1.123 GB, free: 134.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01347/5.104, allocations: 1.303 MB / 1.124 GB, free: 134.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01331/5.118, allocations: 2.816 MB / 1.127 GB, free: 133.7 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001857/5.119, allocations: 132.2 kB / 1.127 GB, free: 133.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04186/5.161, allocations: 21 MB / 1.147 GB, free: 122.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/5.161, allocations: 18.88 kB / 1.147 GB, free: 122.6 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05761/5.219, allocations: 26.14 MB / 1.173 GB, free: 110.1 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00936/5.228, allocations: 2.186 MB / 1.175 GB, free: 108.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004236/5.233, allocations: 129.9 kB / 1.175 GB, free: 108.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01218/5.245, allocations: 455.5 kB / 1.175 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00267/5.248, allocations: 411 kB / 1.176 GB, free: 108.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001082/5.249, allocations: 170.6 kB / 1.176 GB, free: 108.7 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02109/5.27, allocations: 7.597 MB / 1.183 GB, free: 106.1 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.184e-06/5.27, allocations: 0 / 1.183 GB, free: 106.1 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0212/5.291, allocations: 3.076 MB / 1.186 GB, free: 103.5 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (559): * Single equations (assignments): 552 * 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 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06105/5.352, allocations: 27.29 MB / 1.213 GB, free: 78.81 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03893/5.391, allocations: 16.51 MB / 1.229 GB, free: 64.66 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/5.391, allocations: 4 kB / 1.229 GB, free: 64.66 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02013/5.412, allocations: 7.088 MB / 1.236 GB, free: 58.46 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/5.424, allocations: 1.331 MB / 1.237 GB, free: 57.35 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4682/5.892, allocations: 31.13 MB / 1.268 GB, free: 144.9 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02516/5.917, allocations: 8.773 MB / 1.276 GB, free: 143.8 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01735/5.935, allocations: 6.417 MB / 1.283 GB, free: 143.8 MB / 0.5574 GB Notification: Performance of SimCode: time 3.036e-06/5.935, allocations: 0.875 kB / 1.283 GB, free: 143.8 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.92/14.85, allocations: 445.3 MB / 1.718 GB, free: 131.9 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat