Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.014e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.422, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2506/0.6727, allocations: 105.4 MB / 465.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.6731, allocations: 79.95 kB / 465.3 MB, free: 7.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215/1.888, allocations: 237.1 MB / 0.686 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.888, allocations: 3.938 kB / 0.686 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009291/1.889, allocations: 248 kB / 0.6862 GB, free: 0.7305 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.05882/1.948, allocations: 12.25 MB / 0.6982 GB, free: 4.379 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/1.948, allocations: 8.031 kB / 0.6982 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01324/1.961, allocations: 2.167 MB / 0.7003 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5039/2.465, allocations: 12.79 MB / 0.7128 GB, free: 43.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05292/2.518, allocations: 13.22 MB / 0.7257 GB, free: 42.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001408/2.519, allocations: 0.9432 MB / 0.7266 GB, free: 42.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007302/2.527, allocations: 1.26 MB / 0.7279 GB, free: 42.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09977/2.627, allocations: 29.89 MB / 0.7571 GB, free: 36.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001132/2.628, allocations: 144.9 kB / 0.7572 GB, free: 36.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006948/2.635, allocations: 0.5785 MB / 0.7578 GB, free: 36.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006902/2.642, allocations: 2.866 MB / 0.7606 GB, free: 36.74 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08178/2.724, allocations: 24.08 MB / 0.7841 GB, free: 34.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6901/3.414, allocations: 127.3 MB / 0.9084 GB, free: 88.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08515/3.499, allocations: 14.85 MB / 0.9229 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02179/3.521, allocations: 8.098 MB / 0.9308 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05566/3.576, allocations: 20.21 MB / 0.9506 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.049e-05/3.577, allocations: 99.88 kB / 0.9507 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.053e-05/3.577, allocations: 0 / 0.9507 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.2799/3.857, allocations: 60.84 MB / 1.01 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/3.857, allocations: 381.8 kB / 1.01 GB, free: 71.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02825/3.885, allocations: 10.51 MB / 1.021 GB, free: 63.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001928/3.887, allocations: 121.7 kB / 1.021 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.008428/3.895, allocations: 8.428 MB / 1.029 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003931/3.899, allocations: 2.386 MB / 1.031 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00274/3.902, allocations: 308 kB / 1.032 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001238/3.903, allocations: 0.9488 MB / 1.033 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01708/3.921, allocations: 6.612 MB / 1.039 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.023/3.944, allocations: 14.79 MB / 1.054 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02239/3.966, allocations: 9.831 MB / 1.063 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003192/3.966, allocations: 80 kB / 1.063 GB, free: 21.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.06831/4.035, allocations: 23.56 MB / 1.086 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000221/4.035, allocations: 128 kB / 1.086 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004458/4.036, allocations: 292.1 kB / 1.087 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/4.05, allocations: 3.292 MB / 1.09 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02751/4.078, allocations: 3.74 MB / 1.093 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4654/4.543, allocations: 22.46 MB / 1.115 GB, free: 89.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02066/4.564, allocations: 0.9337 MB / 1.116 GB, free: 89.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004536/4.568, allocations: 0.8747 MB / 1.117 GB, free: 89.41 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.007366/4.576, allocations: 1.271 MB / 1.118 GB, free: 89.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004086/4.58, allocations: 1.062 MB / 1.119 GB, free: 89.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04396/4.624, allocations: 14.63 MB / 1.134 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/4.624, allocations: 64.53 kB / 1.134 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-05/4.624, allocations: 17.81 kB / 1.134 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001666/4.624, allocations: 29.67 kB / 1.134 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09816/4.723, allocations: 32.39 MB / 1.165 GB, free: 85.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/4.723, allocations: 12.25 kB / 1.165 GB, free: 85.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01326/4.736, allocations: 1.302 MB / 1.167 GB, free: 84.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01294/4.749, allocations: 2.82 MB / 1.169 GB, free: 84.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001953/4.751, allocations: 125 kB / 1.17 GB, free: 84.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04229/4.793, allocations: 21 MB / 1.19 GB, free: 73.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.579e-05/4.793, allocations: 18 kB / 1.19 GB, free: 73.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06092/4.854, allocations: 26.13 MB / 1.216 GB, free: 60.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00962/4.864, allocations: 2.184 MB / 1.218 GB, free: 59.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004919/4.869, allocations: 128.8 kB / 1.218 GB, free: 59.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0123/4.881, allocations: 454.3 kB / 1.218 GB, free: 59.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00262/4.884, allocations: 405.2 kB / 1.219 GB, free: 59.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001827/4.886, allocations: 178.2 kB / 1.219 GB, free: 59.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02118/4.907, allocations: 7.585 MB / 1.226 GB, free: 57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.142e-06/4.907, allocations: 0 / 1.226 GB, free: 57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02191/4.929, allocations: 3.084 MB / 1.229 GB, free: 56.66 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.06156/4.991, allocations: 27.29 MB / 1.256 GB, free: 32.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03697/5.028, allocations: 16.03 MB / 1.272 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.589e-05/5.028, allocations: 4 kB / 1.272 GB, free: 18.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02549/5.053, allocations: 6.991 MB / 1.278 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01499/5.068, allocations: 1.332 MB / 1.28 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5261/5.594, allocations: 29.59 MB / 1.309 GB, free: 110 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02289/5.617, allocations: 8.782 MB / 1.317 GB, free: 109 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02537/5.643, allocations: 5.138 MB / 1.322 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01692/5.66, allocations: 6.321 MB / 1.328 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.084e-06/5.66, allocations: 0 / 1.328 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.982/6.642, allocations: 235.7 MB / 1.559 GB, free: 98.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/6.642, allocations: 166.4 kB / 1.559 GB, free: 98.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/20.35, allocations: 4 kB / 1.559 GB, free: 98.64 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat