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.442/2.442, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.12e-05/4.131e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4153, allocations: 54.84 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.6151, allocations: 105.4 MB / 465.2 MB, free: 7.512 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.6155, allocations: 72.56 kB / 465.3 MB, free: 7.441 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302/1.918, allocations: 237.1 MB / 0.6859 GB, free: 1.199 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.918, allocations: 4 kB / 0.6859 GB, free: 1.195 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009734/1.919, allocations: 252 kB / 0.6862 GB, free: 0.9492 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.05886/1.977, allocations: 12.25 MB / 0.6981 GB, free: 4.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/1.978, allocations: 12.03 kB / 0.6982 GB, free: 4.582 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01228/1.99, allocations: 2.167 MB / 0.7003 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8604/2.85, allocations: 12.8 MB / 0.7128 GB, free: 41.35 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05328/2.904, allocations: 13.22 MB / 0.7257 GB, free: 40.76 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001345/2.905, allocations: 0.9435 MB / 0.7266 GB, free: 40.73 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007295/2.912, allocations: 1.255 MB / 0.7278 GB, free: 40.71 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1049/3.017, allocations: 30.04 MB / 0.7572 GB, free: 34.64 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001183/3.019, allocations: 151.1 kB / 0.7573 GB, free: 34.63 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007164/3.026, allocations: 0.5832 MB / 0.7579 GB, free: 34.63 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006757/3.033, allocations: 2.85 MB / 0.7607 GB, free: 34.6 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08621/3.119, allocations: 24.52 MB / 0.7846 GB, free: 32 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7309/3.85, allocations: 127.3 MB / 0.9089 GB, free: 31.75 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07211/3.922, allocations: 14.91 MB / 0.9235 GB, free: 30.99 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0167/3.939, allocations: 8.1 MB / 0.9314 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05792/3.997, allocations: 20.22 MB / 0.9511 GB, free: 28.12 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/3.997, allocations: 95.16 kB / 0.9512 GB, free: 28.08 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=566): time 1.09e-05/3.997, allocations: 3.281 kB / 0.9512 GB, free: 28.08 MB / 0.5262 GB Notification: Performance of matching and sorting (n=650): time 0.3033/4.3, allocations: 60.84 MB / 1.011 GB, free: 15.18 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/4.3, allocations: 379.2 kB / 1.011 GB, free: 14.79 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0467/4.347, allocations: 10.52 MB / 1.021 GB, free: 8.176 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.00232/4.35, allocations: 129.3 kB / 1.021 GB, free: 8.047 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.01285/4.362, allocations: 8.417 MB / 1.03 GB, free: 500 kB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.006514/4.369, allocations: 2.383 MB / 1.032 GB, free: 14.37 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004086/4.373, allocations: 314.2 kB / 1.032 GB, free: 14.07 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.003082/4.376, allocations: 0.9513 MB / 1.033 GB, free: 13.29 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02388/4.4, allocations: 6.609 MB / 1.04 GB, free: 7.363 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03091/4.431, allocations: 14.88 MB / 1.054 GB, free: 5.746 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02894/4.46, allocations: 9.905 MB / 1.064 GB, free: 13.98 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004359/4.461, allocations: 80 kB / 1.064 GB, free: 13.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.08427/4.545, allocations: 24.54 MB / 1.088 GB, free: 10.46 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002884/4.545, allocations: 128 kB / 1.088 GB, free: 10.34 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006011/4.546, allocations: 292.1 kB / 1.088 GB, free: 10.05 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01551/4.562, allocations: 3.271 MB / 1.091 GB, free: 7.625 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0275/4.589, allocations: 3.747 MB / 1.095 GB, free: 4.477 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05284/4.642, allocations: 22.5 MB / 1.117 GB, free: 368 kB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02284/4.665, allocations: 0.9852 MB / 1.118 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004725/4.67, allocations: 0.8674 MB / 1.119 GB, free: 14.89 MB / 0.6199 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.007819/4.678, allocations: 1.27 MB / 1.12 GB, free: 13.63 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005008/4.683, allocations: 1.06 MB / 1.121 GB, free: 12.55 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4693/5.152, allocations: 14.63 MB / 1.135 GB, free: 170.8 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001397/5.152, allocations: 69 kB / 1.136 GB, free: 170.8 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.194e-05/5.152, allocations: 16.72 kB / 1.136 GB, free: 170.8 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002169/5.153, allocations: 35.86 kB / 1.136 GB, free: 170.8 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1119/5.264, allocations: 32.41 MB / 1.167 GB, free: 169.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001363/5.265, allocations: 13.44 kB / 1.167 GB, free: 169.3 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01331/5.278, allocations: 1.311 MB / 1.169 GB, free: 169.3 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01302/5.291, allocations: 2.814 MB / 1.171 GB, free: 169.3 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/5.293, allocations: 129.4 kB / 1.171 GB, free: 169.3 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04305/5.336, allocations: 21 MB / 1.192 GB, free: 164 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/5.336, allocations: 16.72 kB / 1.192 GB, free: 164 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06234/5.399, allocations: 26.12 MB / 1.217 GB, free: 154.7 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01008/5.409, allocations: 2.189 MB / 1.22 GB, free: 154.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00508/5.414, allocations: 120.2 kB / 1.22 GB, free: 154.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01242/5.426, allocations: 454 kB / 1.22 GB, free: 154 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002699/5.429, allocations: 415.1 kB / 1.221 GB, free: 153.9 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001878/5.431, allocations: 167 kB / 1.221 GB, free: 153.9 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.02162/5.453, allocations: 7.595 MB / 1.228 GB, free: 151.3 MB / 0.6199 GB Notification: Performance of sort global known variables: time 9.21e-07/5.453, allocations: 0 / 1.228 GB, free: 151.3 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.02187/5.475, allocations: 3.082 MB / 1.231 GB, free: 151 MB / 0.6199 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.06444/5.539, allocations: 27.29 MB / 1.258 GB, free: 137.6 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.03971/5.579, allocations: 16.51 MB / 1.274 GB, free: 128.3 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/5.579, allocations: 1.688 kB / 1.274 GB, free: 128.3 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.02152/5.601, allocations: 7.085 MB / 1.281 GB, free: 122.1 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/5.614, allocations: 1.344 MB / 1.282 GB, free: 121 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1011/5.715, allocations: 29.63 MB / 1.311 GB, free: 95.61 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0295/5.745, allocations: 8.77 MB / 1.32 GB, free: 89.32 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.03478/5.779, allocations: 5.142 MB / 1.325 GB, free: 85.96 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0214/5.801, allocations: 6.32 MB / 1.331 GB, free: 80.08 MB / 0.6199 GB Notification: Performance of SimCode: time 2.144e-06/5.801, allocations: 4 kB / 1.331 GB, free: 80.08 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9373/6.738, allocations: 238 MB / 1.563 GB, free: 58.55 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/6.739, allocations: 176.5 kB / 1.563 GB, free: 58.32 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/20.19, allocations: 0 / 1.563 GB, free: 58.32 MB / 0.6199 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