Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.05/2.05, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.36e-05, allocations: 0 / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5129/0.6167, allocations: 99.78 MB / 416.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.6171, allocations: 71.53 kB / 416.2 MB, free: 9.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.272/2.889, allocations: 252.9 MB / 0.6534 GB, free: 28.72 MB / 426.8 MB Notification: Performance of FrontEnd: time 4.669e-06/2.889, allocations: 1.094 kB / 0.6534 GB, free: 28.72 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.003118/2.893, allocations: 272.3 kB / 0.6537 GB, free: 28.72 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3966 * Number of variables: 3966 Notification: Performance of Generate backend data structure: time 0.0998/2.992, allocations: 13.54 MB / 0.6669 GB, free: 24.29 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/2.993, allocations: 11.41 kB / 0.6669 GB, free: 24.29 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2023/3.195, allocations: 26.81 MB / 0.6931 GB, free: 23.41 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1497/3.345, allocations: 27.07 MB / 0.7195 GB, free: 21.53 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/3.346, allocations: 388.7 kB / 0.7199 GB, free: 21.53 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006891/3.353, allocations: 0.737 MB / 0.7206 GB, free: 21.5 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07279/3.426, allocations: 15.93 MB / 0.7362 GB, free: 21.45 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07769/3.503, allocations: 23.6 MB / 0.7592 GB, free: 9.297 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001505/3.505, allocations: 181.2 kB / 0.7594 GB, free: 9.188 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006299/3.511, allocations: 60 kB / 0.7594 GB, free: 9.129 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0056/3.517, allocations: 2.421 MB / 0.7618 GB, free: 7.117 MB / 426.8 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.707/4.224, allocations: 116.9 MB / 0.876 GB, free: 29.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03072/4.255, allocations: 10.6 MB / 0.8863 GB, free: 28.69 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02221/4.277, allocations: 8.432 MB / 0.8946 GB, free: 28.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/4.278, allocations: 408.6 kB / 0.895 GB, free: 28.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/4.279, allocations: 98.66 kB / 0.8951 GB, free: 28.31 MB / 490.8 MB Notification: Performance of pre-optimization done (n=550): time 1.707e-05/4.279, allocations: 0 / 0.8951 GB, free: 28.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=747): time 0.6496/4.928, allocations: 109.4 MB / 1.002 GB, free: 9.609 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003961/4.929, allocations: 0.6589 MB / 1.003 GB, free: 8.809 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02753/4.956, allocations: 8.268 MB / 1.011 GB, free: 1.762 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003068/4.959, allocations: 29.7 kB / 1.011 GB, free: 1.727 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.3977/5.357, allocations: 8.288 MB / 1.019 GB, free: 94.72 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00572/5.363, allocations: 2.627 MB / 1.021 GB, free: 93.07 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003796/5.367, allocations: 1.062 kB / 1.021 GB, free: 93.07 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001791/5.369, allocations: 0.9166 MB / 1.022 GB, free: 92.74 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02521/5.394, allocations: 9.117 MB / 1.031 GB, free: 92.71 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02907/5.423, allocations: 16.1 MB / 1.047 GB, free: 83.88 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02748/5.451, allocations: 11.99 MB / 1.059 GB, free: 83.77 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004076/5.451, allocations: 71.39 kB / 1.059 GB, free: 83.77 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1888) (initialization): time 0.2331/5.684, allocations: 43.61 MB / 1.101 GB, free: 82.53 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004126/5.685, allocations: 116.3 kB / 1.101 GB, free: 82.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2151/5.9, allocations: 32.84 MB / 1.133 GB, free: 73.7 MB / 0.4949 GB Notification: Tearing is skipped for strong component 3 because system size of 214 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.1408/6.041, allocations: 11.17 MB / 1.144 GB, free: 67.63 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0325/6.073, allocations: 3.247 MB / 1.147 GB, free: 64.92 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05678/6.13, allocations: 14.06 MB / 1.161 GB, free: 53.13 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03705/6.167, allocations: 1.039 MB / 1.162 GB, free: 52.49 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007035/6.174, allocations: 0.7977 MB / 1.163 GB, free: 51.74 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1091 * Number of states: 0 () * Number of discrete variables: 108 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1616): * Single equations (assignments): 1604 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(214,1.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01091/6.185, allocations: 0.7654 MB / 1.164 GB, free: 50.99 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.5356/6.721, allocations: 25.96 MB / 1.189 GB, free: 79.32 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005377/6.726, allocations: 1.021 MB / 1.19 GB, free: 79.32 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1222/6.849, allocations: 26.99 MB / 1.216 GB, free: 78.78 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1262/6.975, allocations: 24.45 MB / 1.24 GB, free: 78.36 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002278/6.975, allocations: 41.69 kB / 1.24 GB, free: 78.36 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003252/6.976, allocations: 34.27 kB / 1.24 GB, free: 78.36 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1917/7.167, allocations: 55.06 MB / 1.294 GB, free: 63.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001126/7.167, allocations: 7.812 kB / 1.294 GB, free: 63.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01221/7.18, allocations: 1.175 MB / 1.295 GB, free: 63.87 MB / 0.4949 GB Notification: Tearing is skipped for strong component 12 because system size of 211 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/7.192, allocations: 2.104 MB / 1.297 GB, free: 63.53 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002588/7.194, allocations: 55.02 kB / 1.297 GB, free: 63.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/7.205, allocations: 4.79 MB / 1.302 GB, free: 61.49 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001731/7.207, allocations: 1.637 MB / 1.304 GB, free: 60.07 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1314/7.338, allocations: 39.14 MB / 1.342 GB, free: 35.28 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0109/7.349, allocations: 2.701 MB / 1.345 GB, free: 33.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005061/7.354, allocations: 25.69 kB / 1.345 GB, free: 33.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0159/7.37, allocations: 0.6319 MB / 1.345 GB, free: 32.96 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004232/7.375, allocations: 0.6531 MB / 1.346 GB, free: 32.61 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001852/7.376, allocations: 194.8 kB / 1.346 GB, free: 32.44 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01527/7.392, allocations: 5.789 MB / 1.352 GB, free: 27.45 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.51e-07/7.392, allocations: 4.938 kB / 1.352 GB, free: 27.45 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0222/7.414, allocations: 3.431 MB / 1.355 GB, free: 24.04 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET140694282387848.x[6],$STATESET140694282387848.x[5],$STATESET140694282387848.x[4],$STATESET140694282387848.x[3],$STATESET140694282387848.x[2],$STATESET140694282387848.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (509): * Single equations (assignments): 500 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(211,1.7%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6116/8.026, allocations: 39.94 MB / 1.394 GB, free: 82.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.09071/8.116, allocations: 26.53 MB / 1.42 GB, free: 81.81 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/8.117, allocations: 3.375 kB / 1.42 GB, free: 81.81 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0572/8.174, allocations: 14.61 MB / 1.434 GB, free: 80.85 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01475/8.189, allocations: 1.38 MB / 1.436 GB, free: 80.37 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1263/8.315, allocations: 35.65 MB / 1.47 GB, free: 68.11 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02984/8.345, allocations: 9.194 MB / 1.479 GB, free: 63.54 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02748/8.372, allocations: 4.833 MB / 1.484 GB, free: 60.32 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02176/8.394, allocations: 6.771 MB / 1.491 GB, free: 54.06 MB / 0.4949 GB Notification: Performance of SimCode: time 1.993e-06/8.394, allocations: 0 / 1.491 GB, free: 54.06 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.672/10.07, allocations: 282.1 MB / 1.766 GB, free: 74.95 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/10.07, allocations: 149.1 kB / 1.766 GB, free: 74.76 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/24.37, allocations: 0 / 1.766 GB, free: 74.76 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat