Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.672/2.672, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.244e-05, allocations: 3.984 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4118, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.6492, allocations: 113.3 MB / 495.6 MB, free: 11.2 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.6497, allocations: 67.97 kB / 495.6 MB, free: 11.14 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.01/2.66, allocations: 261.1 MB / 0.739 GB, free: 43.33 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.194e-06/2.66, allocations: 0 / 0.739 GB, free: 43.33 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001474/2.661, allocations: 279 kB / 0.7392 GB, free: 43.32 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: 3975 * Number of variables: 3975 Notification: Performance of Generate backend data structure: time 0.07276/2.734, allocations: 13.56 MB / 0.7525 GB, free: 38.73 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/2.734, allocations: 10.06 kB / 0.7525 GB, free: 38.73 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01213/2.746, allocations: 1.997 MB / 0.7544 GB, free: 38.59 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2046/2.951, allocations: 26.82 MB / 0.7806 GB, free: 37.7 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1062/3.057, allocations: 27.2 MB / 0.8072 GB, free: 35.82 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00144/3.059, allocations: 0.8916 MB / 0.8081 GB, free: 35.79 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007766/3.066, allocations: 1.243 MB / 0.8093 GB, free: 35.76 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09748/3.164, allocations: 27.02 MB / 0.8357 GB, free: 30.23 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001627/3.166, allocations: 182.9 kB / 0.8358 GB, free: 30.2 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006789/3.172, allocations: 0.5488 MB / 0.8364 GB, free: 30.2 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005951/3.178, allocations: 2.418 MB / 0.8387 GB, free: 29.27 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07972/3.258, allocations: 21.68 MB / 0.8599 GB, free: 11.69 MB / 0.4949 GB 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.7582/4.016, allocations: 119.9 MB / 0.977 GB, free: 32.53 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06447/4.081, allocations: 13.19 MB / 0.9899 GB, free: 31.84 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01682/4.098, allocations: 8.588 MB / 0.9983 GB, free: 31.78 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/4.099, allocations: 410.7 kB / 0.9987 GB, free: 31.5 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.823e-05/4.099, allocations: 101.2 kB / 0.9988 GB, free: 31.45 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=550): time 1.069e-05/4.099, allocations: 0 / 0.9988 GB, free: 31.45 MB / 0.5574 GB Notification: Performance of matching and sorting (n=734): time 0.6471/4.746, allocations: 112.8 MB / 1.109 GB, free: 4.047 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003133/4.749, allocations: 2.353 MB / 1.111 GB, free: 1.512 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06296/4.812, allocations: 11.42 MB / 1.122 GB, free: 13.44 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002974/4.816, allocations: 141 kB / 1.123 GB, free: 13.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01234/4.828, allocations: 8.284 MB / 1.131 GB, free: 6.445 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.007302/4.835, allocations: 2.673 MB / 1.133 GB, free: 4.066 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004324/4.84, allocations: 280 kB / 1.134 GB, free: 3.793 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001967/4.842, allocations: 0.9099 MB / 1.134 GB, free: 3.047 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03884/4.881, allocations: 9.808 MB / 1.144 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4746/5.355, allocations: 15.9 MB / 1.16 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0366/5.392, allocations: 11.95 MB / 1.171 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006754/5.393, allocations: 64.72 kB / 1.171 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1848) (initialization): time 0.2286/5.621, allocations: 44.8 MB / 1.215 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003215/5.622, allocations: 102.7 kB / 1.215 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1829/5.805, allocations: 33.45 MB / 1.248 GB, free: 112.2 MB / 0.5886 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.165/5.97, allocations: 11.98 MB / 1.259 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03017/6, allocations: 3.177 MB / 1.263 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07087/6.071, allocations: 16.03 MB / 1.278 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02593/6.097, allocations: 1.314 MB / 1.279 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004638/6.102, allocations: 0.7854 MB / 1.28 GB, free: 105.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1064 * Number of states: 0 () * Number of discrete variables: 111 (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.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 (1576): * Single equations (assignments): 1564 * 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.005448/6.107, allocations: 1.135 MB / 1.281 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003598/6.111, allocations: 1.094 MB / 1.282 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1028/6.214, allocations: 27.08 MB / 1.309 GB, free: 83.53 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09122/6.305, allocations: 24.38 MB / 1.333 GB, free: 60.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/6.305, allocations: 40 kB / 1.333 GB, free: 60.37 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000184/6.305, allocations: 34.69 kB / 1.333 GB, free: 60.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6687/6.974, allocations: 56.02 MB / 1.387 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001322/6.974, allocations: 3.438 kB / 1.387 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02587/7, allocations: 1.154 MB / 1.389 GB, free: 108.1 MB / 0.5886 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.03043/7.03, allocations: 2.109 MB / 1.391 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008786/7.039, allocations: 158.9 kB / 1.391 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/7.054, allocations: 4.606 MB / 1.395 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00267/7.056, allocations: 1.707 MB / 1.397 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1768/7.233, allocations: 38.79 MB / 1.435 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01685/7.25, allocations: 2.74 MB / 1.438 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005947/7.256, allocations: 138.6 kB / 1.438 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02523/7.282, allocations: 0.7432 MB / 1.438 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005431/7.287, allocations: 0.6511 MB / 1.439 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003038/7.29, allocations: 198.7 kB / 1.439 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02266/7.313, allocations: 6.962 MB / 1.446 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.963e-06/7.313, allocations: 0.6562 kB / 1.446 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02302/7.336, allocations: 3.717 MB / 1.45 GB, free: 101.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (496): * Single equations (assignments): 487 * 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.1259/7.462, allocations: 39.7 MB / 1.488 GB, free: 86.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0881/7.55, allocations: 26.27 MB / 1.514 GB, free: 64.48 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/7.55, allocations: 6.75 kB / 1.514 GB, free: 64.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.06474/7.615, allocations: 14.42 MB / 1.528 GB, free: 52.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02155/7.636, allocations: 1.647 MB / 1.53 GB, free: 51.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1734/7.81, allocations: 35.97 MB / 1.565 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5311/8.341, allocations: 9.725 MB / 1.574 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02771/8.369, allocations: 4.739 MB / 1.579 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01894/8.388, allocations: 6.837 MB / 1.586 GB, free: 107 MB / 0.5886 GB Notification: Performance of SimCode: time 4.339e-06/8.388, allocations: 0 / 1.586 GB, free: 107 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.285/9.673, allocations: 293.1 MB / 1.872 GB, free: 78.63 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/9.673, allocations: 203.7 kB / 1.872 GB, free: 78.4 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/25.06, allocations: 0 / 1.872 GB, free: 78.4 MB / 0.6043 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat