Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.894e-05, allocations: 7.938 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3978, allocations: 58.82 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.6226, allocations: 111.5 MB / 493.8 MB, free: 12.86 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.623, allocations: 79.95 kB / 493.9 MB, free: 12.78 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.401/2.024, allocations: 238.2 MB / 0.715 GB, free: 5.102 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.635e-06/2.024, allocations: 0 / 0.715 GB, free: 5.102 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001267/2.026, allocations: 259.9 kB / 0.7152 GB, free: 4.848 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.8719/2.898, allocations: 12.24 MB / 0.7272 GB, free: 45.52 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/2.898, allocations: 10.28 kB / 0.7272 GB, free: 45.52 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01367/2.911, allocations: 2.168 MB / 0.7293 GB, free: 45.38 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1273/3.039, allocations: 12.79 MB / 0.7418 GB, free: 44.52 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05217/3.091, allocations: 13.25 MB / 0.7547 GB, free: 43.61 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001357/3.092, allocations: 0.95 MB / 0.7557 GB, free: 43.58 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006665/3.099, allocations: 1.251 MB / 0.7569 GB, free: 43.57 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1/3.199, allocations: 29.9 MB / 0.7861 GB, free: 37.55 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009654/3.2, allocations: 149.2 kB / 0.7862 GB, free: 37.54 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007254/3.207, allocations: 0.5785 MB / 0.7868 GB, free: 37.54 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009001/3.217, allocations: 2.861 MB / 0.7896 GB, free: 37.5 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1403/3.357, allocations: 24.09 MB / 0.8131 GB, free: 34.86 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8229/4.18, allocations: 127.4 MB / 0.9375 GB, free: 39.07 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07356/4.253, allocations: 14.85 MB / 0.952 GB, free: 38.32 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02145/4.275, allocations: 8.102 MB / 0.9599 GB, free: 38.25 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05375/4.329, allocations: 20.22 MB / 0.9797 GB, free: 35.44 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/4.329, allocations: 99.47 kB / 0.9798 GB, free: 35.4 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=566): time 1.104e-05/4.329, allocations: 0 / 0.9798 GB, free: 35.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=650): time 0.2868/4.616, allocations: 60.86 MB / 1.039 GB, free: 21.95 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/4.616, allocations: 385.6 kB / 1.04 GB, free: 21.57 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02975/4.646, allocations: 10.55 MB / 1.05 GB, free: 17.17 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.002169/4.648, allocations: 121.7 kB / 1.05 GB, free: 17.04 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.008976/4.657, allocations: 8.432 MB / 1.058 GB, free: 9.469 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.004573/4.662, allocations: 2.388 MB / 1.061 GB, free: 7.352 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003416/4.665, allocations: 308 kB / 1.061 GB, free: 7.051 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001525/4.667, allocations: 0.9544 MB / 1.062 GB, free: 6.273 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01756/4.684, allocations: 6.617 MB / 1.068 GB, free: 348 kB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0656/4.75, allocations: 17.06 MB / 1.085 GB, free: 4.379 MB / 0.5731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02784/4.778, allocations: 9.941 MB / 1.095 GB, free: 12.86 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003792/4.778, allocations: 88 kB / 1.095 GB, free: 12.78 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.07729/4.856, allocations: 23.59 MB / 1.118 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002626/4.856, allocations: 128 kB / 1.118 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006167/4.857, allocations: 292.1 kB / 1.118 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01506/4.872, allocations: 3.276 MB / 1.121 GB, free: 7.074 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02792/4.9, allocations: 3.751 MB / 1.125 GB, free: 3.926 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0535/4.953, allocations: 22.5 MB / 1.147 GB, free: 13.76 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0216/4.975, allocations: 0.9324 MB / 1.148 GB, free: 12.83 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004645/4.98, allocations: 0.881 MB / 1.149 GB, free: 11.95 MB / 0.6356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1320 * Number of states: 0 () * Number of discrete variables: 120 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1880): * Single equations (assignments): 1873 * 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.007331/4.987, allocations: 1.258 MB / 1.15 GB, free: 10.68 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003863/4.991, allocations: 1.068 MB / 1.151 GB, free: 9.598 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05211/5.043, allocations: 14.64 MB / 1.165 GB, free: 10.91 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001429/5.043, allocations: 68 kB / 1.165 GB, free: 10.84 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-05/5.043, allocations: 16 kB / 1.165 GB, free: 10.83 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002018/5.043, allocations: 27.89 kB / 1.165 GB, free: 10.8 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5889/5.632, allocations: 32.39 MB / 1.197 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000143/5.633, allocations: 10.25 kB / 1.197 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01392/5.647, allocations: 1.308 MB / 1.198 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01349/5.66, allocations: 2.811 MB / 1.201 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002041/5.662, allocations: 122.4 kB / 1.201 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04281/5.705, allocations: 21.01 MB / 1.222 GB, free: 168.9 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/5.705, allocations: 18.56 kB / 1.222 GB, free: 168.9 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06235/5.767, allocations: 26.14 MB / 1.247 GB, free: 163.5 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009465/5.777, allocations: 2.191 MB / 1.249 GB, free: 163.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005124/5.782, allocations: 117.9 kB / 1.25 GB, free: 163.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01272/5.795, allocations: 453.4 kB / 1.25 GB, free: 163.4 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002809/5.798, allocations: 413.9 kB / 1.25 GB, free: 163.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002194/5.8, allocations: 171.6 kB / 1.25 GB, free: 163.4 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.02204/5.822, allocations: 7.608 MB / 1.258 GB, free: 162.8 MB / 0.6512 GB Notification: Performance of sort global known variables: time 1.473e-06/5.822, allocations: 3.594 kB / 1.258 GB, free: 162.8 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.02287/5.845, allocations: 3.081 MB / 1.261 GB, free: 162.4 MB / 0.6512 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.06923/5.914, allocations: 27.3 MB / 1.288 GB, free: 149 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.04001/5.954, allocations: 16.04 MB / 1.303 GB, free: 143.8 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/5.955, allocations: 0 / 1.303 GB, free: 143.8 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.02054/5.975, allocations: 7.004 MB / 1.31 GB, free: 139.3 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/5.989, allocations: 1.342 MB / 1.311 GB, free: 138.2 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1151/6.104, allocations: 29.61 MB / 1.34 GB, free: 112.8 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02571/6.13, allocations: 8.781 MB / 1.349 GB, free: 106.6 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.02905/6.159, allocations: 5.147 MB / 1.354 GB, free: 103.4 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0184/6.177, allocations: 6.337 MB / 1.36 GB, free: 97.48 MB / 0.6512 GB Notification: Performance of SimCode: time 2.034e-06/6.177, allocations: 0 / 1.36 GB, free: 97.48 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/7.236, allocations: 236 MB / 1.591 GB, free: 97.71 MB / 0.6512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/7.236, allocations: 175.1 kB / 1.591 GB, free: 97.47 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/21.53, allocations: 8.062 kB / 1.591 GB, free: 97.46 MB / 0.6512 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat