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.456/2.456, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.122e-05/4.123e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4432, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.6506, allocations: 107.1 MB / 467 MB, free: 5.645 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.651, allocations: 71.97 kB / 467.1 MB, free: 5.574 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.14/2.791, allocations: 258.9 MB / 0.7089 GB, free: 33.58 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.354e-06/2.791, allocations: 3.688 kB / 0.709 GB, free: 33.58 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001734/2.793, allocations: 266.8 kB / 0.7092 GB, free: 33.58 MB / 474.8 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.07312/2.866, allocations: 13.56 MB / 0.7224 GB, free: 30.2 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/2.866, allocations: 9.344 kB / 0.7225 GB, free: 30.2 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01085/2.877, allocations: 1.993 MB / 0.7244 GB, free: 30.06 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1962/3.073, allocations: 26.82 MB / 0.7506 GB, free: 29.17 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1742/3.248, allocations: 27.12 MB / 0.7771 GB, free: 27.3 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001491/3.249, allocations: 0.8944 MB / 0.7779 GB, free: 27.27 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007337/3.257, allocations: 1.237 MB / 0.7792 GB, free: 27.24 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0926/3.349, allocations: 27 MB / 0.8055 GB, free: 21.83 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001553/3.351, allocations: 175.8 kB / 0.8057 GB, free: 21.8 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00625/3.357, allocations: 0.5467 MB / 0.8062 GB, free: 21.8 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008838/3.366, allocations: 2.418 MB / 0.8086 GB, free: 21.78 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09995/3.466, allocations: 21.69 MB / 0.8298 GB, free: 7.773 MB / 474.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.7592/4.225, allocations: 120.7 MB / 0.9476 GB, free: 26.97 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0621/4.287, allocations: 13.21 MB / 0.9605 GB, free: 26.28 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01563/4.303, allocations: 8.584 MB / 0.9689 GB, free: 26.22 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009819/4.304, allocations: 413.9 kB / 0.9693 GB, free: 25.94 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.793e-05/4.304, allocations: 93 kB / 0.9694 GB, free: 25.89 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=550): time 9.778e-06/4.304, allocations: 0 / 0.9694 GB, free: 25.89 MB / 0.5262 GB Notification: Performance of matching and sorting (n=734): time 0.7312/5.036, allocations: 112.9 MB / 1.08 GB, free: 10.19 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003073/5.039, allocations: 2.362 MB / 1.082 GB, free: 7.652 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03026/5.069, allocations: 9.599 MB / 1.091 GB, free: 15.32 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.002749/5.072, allocations: 140.5 kB / 1.091 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.01133/5.083, allocations: 8.265 MB / 1.099 GB, free: 8.203 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.006209/5.089, allocations: 2.679 MB / 1.102 GB, free: 5.816 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003706/5.093, allocations: 284 kB / 1.102 GB, free: 5.539 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001485/5.095, allocations: 0.9049 MB / 1.103 GB, free: 4.801 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4706/5.565, allocations: 10.36 MB / 1.113 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03357/5.599, allocations: 15.89 MB / 1.129 GB, free: 107.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03158/5.631, allocations: 11.93 MB / 1.141 GB, free: 107.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005656/5.631, allocations: 71.97 kB / 1.141 GB, free: 107.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2242/5.855, allocations: 44.77 MB / 1.184 GB, free: 106.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/5.856, allocations: 105.3 kB / 1.184 GB, free: 106.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1749/6.031, allocations: 33.45 MB / 1.217 GB, free: 103 MB / 0.5574 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.1076/6.138, allocations: 11.99 MB / 1.229 GB, free: 102.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02309/6.161, allocations: 3.158 MB / 1.232 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04433/6.206, allocations: 16.02 MB / 1.248 GB, free: 89.53 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02675/6.233, allocations: 1.317 MB / 1.249 GB, free: 88.63 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005019/6.238, allocations: 0.78 MB / 1.25 GB, free: 87.9 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1061 * 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 (1573): * Single equations (assignments): 1561 * 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.007756/6.246, allocations: 1.132 MB / 1.251 GB, free: 86.93 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004552/6.25, allocations: 1.101 MB / 1.252 GB, free: 86.41 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1149/6.365, allocations: 27.08 MB / 1.278 GB, free: 62.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09526/6.46, allocations: 24.37 MB / 1.302 GB, free: 38.53 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002416/6.461, allocations: 40 kB / 1.302 GB, free: 38.49 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002794/6.461, allocations: 35.86 kB / 1.302 GB, free: 38.45 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6739/7.135, allocations: 56.01 MB / 1.357 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001082/7.135, allocations: 0 / 1.357 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01182/7.147, allocations: 1.159 MB / 1.358 GB, free: 101.2 MB / 0.5574 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.01232/7.159, allocations: 2.117 MB / 1.36 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002916/7.162, allocations: 153.8 kB / 1.36 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/7.172, allocations: 4.607 MB / 1.365 GB, free: 99.85 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001918/7.174, allocations: 1.7 MB / 1.366 GB, free: 98.49 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1264/7.301, allocations: 38.78 MB / 1.404 GB, free: 89.83 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01189/7.313, allocations: 2.741 MB / 1.407 GB, free: 89.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006173/7.319, allocations: 140 kB / 1.407 GB, free: 88.93 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01703/7.336, allocations: 0.744 MB / 1.408 GB, free: 88.84 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003981/7.34, allocations: 0.6479 MB / 1.408 GB, free: 88.79 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002641/7.343, allocations: 194.3 kB / 1.408 GB, free: 88.74 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02127/7.364, allocations: 6.941 MB / 1.415 GB, free: 86.4 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.253e-06/7.364, allocations: 3.812 kB / 1.415 GB, free: 86.4 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.03508/7.399, allocations: 3.718 MB / 1.419 GB, free: 86.09 MB / 0.5574 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.1916/7.591, allocations: 39.69 MB / 1.458 GB, free: 59.27 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.09777/7.689, allocations: 26.26 MB / 1.483 GB, free: 37.21 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/7.689, allocations: 0 / 1.483 GB, free: 37.21 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.06369/7.753, allocations: 14.43 MB / 1.497 GB, free: 25.44 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03623/7.789, allocations: 1.639 MB / 1.499 GB, free: 24.11 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5607/8.35, allocations: 36.53 MB / 1.535 GB, free: 105.1 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02328/8.373, allocations: 9.183 MB / 1.544 GB, free: 104 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.02403/8.397, allocations: 4.74 MB / 1.548 GB, free: 103.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01749/8.415, allocations: 6.823 MB / 1.555 GB, free: 103.7 MB / 0.5574 GB Notification: Performance of SimCode: time 3.026e-06/8.415, allocations: 0 / 1.555 GB, free: 103.7 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.11/9.525, allocations: 292.7 MB / 1.841 GB, free: 60.54 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/9.525, allocations: 203.7 kB / 1.841 GB, free: 60.31 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/24.07, allocations: 3.938 kB / 1.841 GB, free: 60.3 MB / 0.5574 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