Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.141/2.141, allocations: 209.4 MB / 216.9 MB, free: 6.738 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.303e-05, allocations: 0 / 267.6 MB, free: 5.41 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1247, allocations: 48.69 MB / 316.3 MB, free: 4.621 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4961/0.6209, allocations: 99.87 MB / 416.2 MB, free: 8.848 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.6212, allocations: 74.33 kB / 416.2 MB, free: 8.809 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.923/2.545, allocations: 252.9 MB / 0.6534 GB, free: 28.44 MB / 426.9 MB Notification: Performance of FrontEnd: time 3.587e-06/2.545, allocations: 1.219 kB / 0.6534 GB, free: 28.44 MB / 426.9 MB Notification: Performance of Transformations before backend: time 0.001543/2.546, allocations: 269.7 kB / 0.6537 GB, free: 28.44 MB / 426.9 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.06985/2.616, allocations: 13.54 MB / 0.6669 GB, free: 24.04 MB / 426.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/2.616, allocations: 11.5 kB / 0.6669 GB, free: 24.04 MB / 426.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1848/2.801, allocations: 26.81 MB / 0.6931 GB, free: 23.15 MB / 426.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09457/2.896, allocations: 27.07 MB / 0.7196 GB, free: 21.28 MB / 426.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008442/2.897, allocations: 388.4 kB / 0.7199 GB, free: 21.28 MB / 426.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006232/2.903, allocations: 0.7363 MB / 0.7206 GB, free: 21.25 MB / 426.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04126/2.944, allocations: 15.94 MB / 0.7362 GB, free: 21.2 MB / 426.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06401/3.008, allocations: 23.61 MB / 0.7593 GB, free: 9.297 MB / 426.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001229/3.009, allocations: 181.2 kB / 0.7594 GB, free: 9.184 MB / 426.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005261/3.015, allocations: 60 kB / 0.7595 GB, free: 9.125 MB / 426.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005439/3.02, allocations: 2.414 MB / 0.7618 GB, free: 7.117 MB / 426.9 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.5863/3.607, allocations: 116.9 MB / 0.876 GB, free: 29.17 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/3.627, allocations: 10.6 MB / 0.8864 GB, free: 28.49 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01436/3.641, allocations: 8.434 MB / 0.8946 GB, free: 28.44 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/3.642, allocations: 409.1 kB / 0.895 GB, free: 28.16 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.756e-05/3.642, allocations: 90.41 kB / 0.8951 GB, free: 28.11 MB / 490.9 MB Notification: Performance of pre-optimization done (n=550): time 1.017e-05/3.642, allocations: 0 / 0.8951 GB, free: 28.11 MB / 490.9 MB Notification: Performance of matching and sorting (n=747): time 0.5409/4.183, allocations: 109.4 MB / 1.002 GB, free: 9.625 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004296/4.184, allocations: 0.6567 MB / 1.003 GB, free: 8.828 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0241/4.208, allocations: 8.262 MB / 1.011 GB, free: 1.781 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.002542/4.211, allocations: 29.7 kB / 1.011 GB, free: 1.746 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.3662/4.577, allocations: 7.764 MB / 1.018 GB, free: 94.68 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.007712/4.585, allocations: 2.626 MB / 1.021 GB, free: 93.03 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004695/4.589, allocations: 3.781 kB / 1.021 GB, free: 93.03 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 0.001951/4.591, allocations: 0.9243 MB / 1.022 GB, free: 92.69 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02421/4.616, allocations: 9.116 MB / 1.031 GB, free: 92.66 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02801/4.644, allocations: 16.1 MB / 1.046 GB, free: 83.82 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0271/4.671, allocations: 11.98 MB / 1.058 GB, free: 83.72 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003313/4.671, allocations: 69.03 kB / 1.058 GB, free: 83.72 MB / 0.495 GB Notification: Performance of matching and sorting (n=1888) (initialization): time 0.2039/4.875, allocations: 43.14 MB / 1.1 GB, free: 82.76 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/4.875, allocations: 107.3 kB / 1.1 GB, free: 82.76 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1585/5.034, allocations: 32.85 MB / 1.132 GB, free: 74.75 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1496/5.184, allocations: 20.54 MB / 1.152 GB, free: 62.04 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02965/5.213, allocations: 3.252 MB / 1.156 GB, free: 59.33 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5463/5.76, allocations: 60.06 MB / 1.214 GB, free: 81.68 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03395/5.794, allocations: 1.046 MB / 1.215 GB, free: 81.68 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005835/5.8, allocations: 0.7975 MB / 1.216 GB, free: 81.68 MB / 0.495 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): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,64.6%) 193} * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.009738/5.809, allocations: 0.7642 MB / 1.217 GB, free: 81.56 MB / 0.495 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09528/5.905, allocations: 25.95 MB / 1.242 GB, free: 81.17 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005041/5.91, allocations: 1.027 MB / 1.243 GB, free: 81.17 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1194/6.029, allocations: 26.99 MB / 1.27 GB, free: 75.62 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09066/6.12, allocations: 24.45 MB / 1.293 GB, free: 68.07 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001355/6.12, allocations: 45.27 kB / 1.293 GB, free: 68.07 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002683/6.12, allocations: 33.94 kB / 1.294 GB, free: 68.07 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1943/6.315, allocations: 55.06 MB / 1.347 GB, free: 30.43 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.876e-05/6.315, allocations: 0 / 1.347 GB, free: 30.43 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01201/6.327, allocations: 1.178 MB / 1.348 GB, free: 29.58 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06014/6.387, allocations: 11.37 MB / 1.36 GB, free: 19.36 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002721/6.39, allocations: 55.91 kB / 1.36 GB, free: 19.3 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5461/6.936, allocations: 51.06 MB / 1.409 GB, free: 81.77 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002434/6.938, allocations: 1.666 MB / 1.411 GB, free: 80.46 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1273/7.066, allocations: 39.13 MB / 1.449 GB, free: 70.49 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0112/7.077, allocations: 2.699 MB / 1.452 GB, free: 69.68 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005995/7.083, allocations: 24.88 kB / 1.452 GB, free: 69.67 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01645/7.1, allocations: 0.6342 MB / 1.453 GB, free: 69.67 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004332/7.104, allocations: 0.5173 MB / 1.453 GB, free: 69.6 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002182/7.106, allocations: 195.9 kB / 1.453 GB, free: 69.55 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.01653/7.123, allocations: 5.787 MB / 1.459 GB, free: 67.54 MB / 0.495 GB Notification: Performance of sort global known variables: time 8.72e-07/7.123, allocations: 0 / 1.459 GB, free: 67.54 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.02523/7.148, allocations: 3.847 MB / 1.463 GB, free: 67.54 MB / 0.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET140426601684992.x[6],$STATESET140426601684992.x[5],$STATESET140426601684992.x[4],$STATESET140426601684992.x[3],$STATESET140426601684992.x[2],$STATESET140426601684992.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): 5 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,65.0%) 191} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.118/7.266, allocations: 39.94 MB / 1.502 GB, free: 42.35 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.06237/7.328, allocations: 24.13 MB / 1.525 GB, free: 21.29 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/7.329, allocations: 3.469 kB / 1.525 GB, free: 21.29 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.03721/7.366, allocations: 12.34 MB / 1.537 GB, free: 10.46 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01546/7.381, allocations: 1.37 MB / 1.539 GB, free: 9.359 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5168/7.898, allocations: 39.09 MB / 1.577 GB, free: 82.74 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02555/7.924, allocations: 9.343 MB / 1.586 GB, free: 81.66 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01889/7.943, allocations: 6.856 MB / 1.593 GB, free: 81.65 MB / 0.495 GB Notification: Performance of SimCode: time 1.713e-06/7.943, allocations: 0 / 1.593 GB, free: 81.65 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.15/18.09, allocations: 0.5998 GB / 2.192 GB, free: 122.2 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat