Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.625/2.625, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.712e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3777, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.5798, allocations: 106.5 MB / 460.8 MB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5801, allocations: 79.97 kB / 460.9 MB, free: 7.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.779/2.359, allocations: 253.4 MB / 0.6975 GB, free: 33.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.564e-06/2.359, allocations: 0 / 0.6975 GB, free: 33.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001359/2.361, allocations: 268.6 kB / 0.6978 GB, free: 33.38 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: 3972 * Number of variables: 3972 Notification: Performance of Generate backend data structure: time 0.08508/2.446, allocations: 13.56 MB / 0.711 GB, free: 28.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/2.446, allocations: 10.66 kB / 0.711 GB, free: 28.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1915/2.637, allocations: 26.82 MB / 0.7372 GB, free: 27.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1116/2.749, allocations: 27.08 MB / 0.7637 GB, free: 25.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001201/2.75, allocations: 386 kB / 0.764 GB, free: 25.74 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00712/2.757, allocations: 0.7435 MB / 0.7648 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04158/2.799, allocations: 15.95 MB / 0.7803 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08765/2.887, allocations: 23.73 MB / 0.8035 GB, free: 9.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001926/2.889, allocations: 187.5 kB / 0.8037 GB, free: 9.156 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007311/2.896, allocations: 58.81 kB / 0.8038 GB, free: 9.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009665/2.906, allocations: 2.416 MB / 0.8061 GB, free: 7.086 MB / 474.7 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.688/3.594, allocations: 116.1 MB / 0.9195 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.021/3.615, allocations: 10.59 MB / 0.9299 GB, free: 39.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01531/3.63, allocations: 8.433 MB / 0.9381 GB, free: 39.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/3.632, allocations: 410.8 kB / 0.9385 GB, free: 38.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.855e-05/3.632, allocations: 89.12 kB / 0.9386 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=550): time 9.759e-06/3.632, allocations: 3.656 kB / 0.9386 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=747): time 0.5169/4.149, allocations: 108.6 MB / 1.045 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004263/4.149, allocations: 0.6558 MB / 1.045 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02631/4.175, allocations: 8.265 MB / 1.053 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002781/4.178, allocations: 29.7 kB / 1.053 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.4592/4.637, allocations: 8.356 MB / 1.062 GB, free: 113 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006118/4.644, allocations: 2.626 MB / 1.064 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004278/4.648, allocations: 1.062 kB / 1.064 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002135/4.65, allocations: 0.9194 MB / 1.065 GB, free: 111 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0241/4.674, allocations: 9.133 MB / 1.074 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0287/4.703, allocations: 16.11 MB / 1.09 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02845/4.732, allocations: 12 MB / 1.101 GB, free: 102 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004261/4.732, allocations: 77.59 kB / 1.101 GB, free: 102 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1888) (initialization): time 0.2205/4.953, allocations: 44.29 MB / 1.145 GB, free: 99.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002718/4.953, allocations: 111.5 kB / 1.145 GB, free: 99.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1727/5.126, allocations: 33.52 MB / 1.178 GB, free: 88.16 MB / 0.5417 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.107/5.233, allocations: 11.97 MB / 1.189 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02286/5.256, allocations: 3.242 MB / 1.192 GB, free: 78.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0431/5.299, allocations: 14.92 MB / 1.207 GB, free: 66.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02568/5.325, allocations: 1.036 MB / 1.208 GB, free: 65.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005124/5.33, allocations: 0.8024 MB / 1.209 GB, free: 65.22 MB / 0.5417 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): 6 * Torn equation systems: 1 * 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: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.008903/5.339, allocations: 0.7591 MB / 1.209 GB, free: 64.47 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09857/5.437, allocations: 25.96 MB / 1.235 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005324/5.443, allocations: 1.026 MB / 1.236 GB, free: 39.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6064/6.049, allocations: 26.98 MB / 1.262 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09503/6.144, allocations: 24.45 MB / 1.286 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000158/6.144, allocations: 41.88 kB / 1.286 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002712/6.145, allocations: 41.58 kB / 1.286 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1836/6.328, allocations: 55.06 MB / 1.34 GB, free: 84.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001107/6.328, allocations: 5.109 kB / 1.34 GB, free: 84.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01225/6.341, allocations: 1.177 MB / 1.341 GB, free: 84.76 MB / 0.5417 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.01212/6.353, allocations: 2.104 MB / 1.343 GB, free: 84.42 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002627/6.356, allocations: 53.97 kB / 1.343 GB, free: 84.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/6.366, allocations: 4.789 MB / 1.348 GB, free: 82.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001807/6.368, allocations: 1.64 MB / 1.349 GB, free: 80.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1201/6.488, allocations: 39.14 MB / 1.388 GB, free: 60.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01357/6.502, allocations: 2.7 MB / 1.39 GB, free: 59.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006728/6.509, allocations: 19.66 kB / 1.39 GB, free: 59.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02113/6.53, allocations: 0.6356 MB / 1.391 GB, free: 58.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00519/6.535, allocations: 0.6595 MB / 1.392 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002833/6.538, allocations: 189.9 kB / 1.392 GB, free: 58.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01958/6.558, allocations: 5.79 MB / 1.397 GB, free: 53.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.002e-06/6.558, allocations: 0 / 1.397 GB, free: 53.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02217/6.58, allocations: 3.442 MB / 1.401 GB, free: 49.76 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET140608509075848.x[6],$STATESET140608509075848.x[5],$STATESET140608509075848.x[4],$STATESET140608509075848.x[3],$STATESET140608509075848.x[2],$STATESET140608509075848.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.1359/6.716, allocations: 39.95 MB / 1.44 GB, free: 16.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.5024/7.218, allocations: 26.81 MB / 1.466 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/7.218, allocations: 2.75 kB / 1.466 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.05713/7.276, allocations: 14.61 MB / 1.48 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01542/7.291, allocations: 1.371 MB / 1.482 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1383/7.429, allocations: 35.67 MB / 1.516 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02539/7.455, allocations: 9.211 MB / 1.525 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02598/7.481, allocations: 4.825 MB / 1.53 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01821/7.499, allocations: 6.781 MB / 1.537 GB, free: 95.87 MB / 0.5417 GB Notification: Performance of SimCode: time 1.934e-06/7.499, allocations: 0 / 1.537 GB, free: 95.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.484/8.984, allocations: 283.8 MB / 1.814 GB, free: 2.145 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/8.984, allocations: 155.4 kB / 1.814 GB, free: 1.949 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/22.18, allocations: 0 / 1.814 GB, free: 1.949 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat