Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.712e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.556, allocations: 98.56 MB / 420.4 MB, free: 6.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5563, allocations: 77.81 kB / 420.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.258/1.815, allocations: 236.7 MB / 0.6418 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.815, allocations: 0 / 0.6418 GB, free: 13.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008232/1.815, allocations: 255.9 kB / 0.6421 GB, free: 13.22 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.05153/1.867, allocations: 12.23 MB / 0.654 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.867, allocations: 8.031 kB / 0.654 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3703/2.237, allocations: 2.158 MB / 0.6561 GB, free: 34.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1085/2.346, allocations: 12.79 MB / 0.6686 GB, free: 33.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04934/2.395, allocations: 13.23 MB / 0.6816 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001505/2.397, allocations: 0.9416 MB / 0.6825 GB, free: 33.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007439/2.404, allocations: 1.252 MB / 0.6837 GB, free: 33.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1017/2.506, allocations: 29.85 MB / 0.7128 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001092/2.507, allocations: 149.2 kB / 0.713 GB, free: 27.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006887/2.514, allocations: 0.5822 MB / 0.7136 GB, free: 27.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006852/2.521, allocations: 2.865 MB / 0.7164 GB, free: 27.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08311/2.604, allocations: 24.06 MB / 0.7399 GB, free: 22.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6766/3.281, allocations: 127.2 MB / 0.8641 GB, free: 24.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07047/3.351, allocations: 14.85 MB / 0.8786 GB, free: 24.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01658/3.368, allocations: 8.106 MB / 0.8865 GB, free: 24.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05415/3.422, allocations: 20.21 MB / 0.9062 GB, free: 21.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.87e-05/3.422, allocations: 99.91 kB / 0.9063 GB, free: 21.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=566): time 1.121e-05/3.422, allocations: 0 / 0.9063 GB, free: 21.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=650): time 0.2825/3.705, allocations: 60.82 MB / 0.9657 GB, free: 3.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/3.705, allocations: 380.8 kB / 0.9661 GB, free: 2.809 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05552/3.761, allocations: 11.97 MB / 0.9778 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002008/3.763, allocations: 129.7 kB / 0.9779 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01165/3.774, allocations: 8.41 MB / 0.9861 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005026/3.779, allocations: 2.386 MB / 0.9884 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003314/3.783, allocations: 311.7 kB / 0.9887 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.002195/3.785, allocations: 0.953 MB / 0.9897 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06033/3.845, allocations: 8.161 MB / 0.9976 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03921/3.885, allocations: 14.79 MB / 1.012 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02732/3.912, allocations: 9.822 MB / 1.022 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000399/3.912, allocations: 84 kB / 1.022 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.4488/4.361, allocations: 23.56 MB / 1.045 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002895/4.362, allocations: 128.6 kB / 1.045 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006934/4.362, allocations: 288.7 kB / 1.045 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/4.378, allocations: 3.277 MB / 1.048 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02788/4.406, allocations: 3.738 MB / 1.052 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04544/4.451, allocations: 22.47 MB / 1.074 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.021/4.472, allocations: 0.9323 MB / 1.075 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00451/4.477, allocations: 0.8728 MB / 1.076 GB, free: 122.9 MB / 0.5417 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.007469/4.484, allocations: 1.261 MB / 1.077 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004245/4.489, allocations: 1.069 MB / 1.078 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04517/4.534, allocations: 14.64 MB / 1.092 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001296/4.534, allocations: 66.12 kB / 1.092 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.631e-05/4.534, allocations: 16.31 kB / 1.092 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001833/4.534, allocations: 32.41 kB / 1.092 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1029/4.637, allocations: 32.36 MB / 1.124 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000117/4.637, allocations: 10.31 kB / 1.124 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01355/4.651, allocations: 1.312 MB / 1.125 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01316/4.664, allocations: 2.811 MB / 1.128 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002222/4.666, allocations: 128.6 kB / 1.128 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04376/4.71, allocations: 21.01 MB / 1.149 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-05/4.71, allocations: 18.78 kB / 1.149 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05813/4.768, allocations: 26.14 MB / 1.174 GB, free: 92.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008833/4.777, allocations: 2.188 MB / 1.176 GB, free: 91.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004213/4.782, allocations: 119.8 kB / 1.176 GB, free: 91.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01164/4.793, allocations: 449.7 kB / 1.177 GB, free: 91.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002452/4.796, allocations: 420.6 kB / 1.177 GB, free: 90.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000998/4.797, allocations: 169.5 kB / 1.177 GB, free: 90.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01953/4.816, allocations: 7.593 MB / 1.185 GB, free: 84.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.21e-07/4.816, allocations: 0 / 1.185 GB, free: 84.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02035/4.837, allocations: 3.08 MB / 1.188 GB, free: 81.05 MB / 0.5417 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.06218/4.899, allocations: 27.29 MB / 1.215 GB, free: 56.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0372/4.936, allocations: 16.03 MB / 1.23 GB, free: 42.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.909e-05/4.936, allocations: 5.125 kB / 1.23 GB, free: 42.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01961/4.956, allocations: 6.995 MB / 1.237 GB, free: 35.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01502/4.971, allocations: 1.62 MB / 1.239 GB, free: 35.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4683/5.439, allocations: 29.59 MB / 1.268 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02315/5.463, allocations: 8.772 MB / 1.276 GB, free: 134.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02666/5.489, allocations: 5.135 MB / 1.281 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01691/5.506, allocations: 6.312 MB / 1.287 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.744e-06/5.506, allocations: 0 / 1.287 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9887/6.495, allocations: 235.7 MB / 1.517 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/6.495, allocations: 163.4 kB / 1.518 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/20.43, allocations: 0 / 1.518 GB, free: 103.1 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat