Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.788/2.788, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.895e-05, allocations: 0 / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.449, allocations: 54.86 MB / 354.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.6681, allocations: 106.5 MB / 460.9 MB, free: 7.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.6685, allocations: 71.97 kB / 461 MB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024/2.692, allocations: 253.4 MB / 0.6976 GB, free: 33.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.985e-06/2.692, allocations: 0 / 0.6976 GB, free: 33.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001547/2.694, allocations: 272.7 kB / 0.6979 GB, free: 33.61 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.07617/2.77, allocations: 13.55 MB / 0.7111 GB, free: 28.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/2.77, allocations: 10.66 kB / 0.7111 GB, free: 28.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2299/3, allocations: 26.82 MB / 0.7373 GB, free: 28.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1139/3.114, allocations: 27.09 MB / 0.7638 GB, free: 25.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009022/3.115, allocations: 387.4 kB / 0.7642 GB, free: 25.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007135/3.122, allocations: 0.7408 MB / 0.7649 GB, free: 25.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04629/3.168, allocations: 15.95 MB / 0.7804 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07548/3.244, allocations: 23.67 MB / 0.8036 GB, free: 9.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002007/3.246, allocations: 187.7 kB / 0.8037 GB, free: 9.156 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006192/3.252, allocations: 56 kB / 0.8038 GB, free: 9.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007583/3.26, allocations: 2.414 MB / 0.8062 GB, free: 7.09 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.8296/4.09, allocations: 116.1 MB / 0.9196 GB, free: 39.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02248/4.112, allocations: 10.59 MB / 0.9299 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02299/4.135, allocations: 8.434 MB / 0.9381 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/4.137, allocations: 417.5 kB / 0.9385 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/4.137, allocations: 92.47 kB / 0.9386 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=550): time 1.827e-05/4.137, allocations: 0 / 0.9386 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=747): time 0.6414/4.779, allocations: 108.5 MB / 1.045 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005003/4.779, allocations: 0.6612 MB / 1.045 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02751/4.807, allocations: 8.266 MB / 1.053 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002657/4.809, allocations: 32.98 kB / 1.053 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.4648/5.274, allocations: 8.353 MB / 1.061 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006344/5.281, allocations: 2.63 MB / 1.064 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004223/5.285, allocations: 0.9688 kB / 1.064 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002016/5.287, allocations: 0.9189 MB / 1.065 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02631/5.313, allocations: 9.127 MB / 1.074 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03181/5.345, allocations: 16.11 MB / 1.09 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03142/5.377, allocations: 12 MB / 1.101 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004701/5.377, allocations: 67.03 kB / 1.101 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1888) (initialization): time 0.2619/5.639, allocations: 44.29 MB / 1.145 GB, free: 99.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002974/5.639, allocations: 113.8 kB / 1.145 GB, free: 99.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2388/5.878, allocations: 33.53 MB / 1.177 GB, free: 88.25 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.1305/6.009, allocations: 11.98 MB / 1.189 GB, free: 81.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.028/6.037, allocations: 3.244 MB / 1.192 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04963/6.086, allocations: 14.91 MB / 1.207 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02843/6.115, allocations: 1.047 MB / 1.208 GB, free: 66.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005085/6.12, allocations: 0.7984 MB / 1.209 GB, free: 65.3 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.008305/6.128, allocations: 0.7587 MB / 1.209 GB, free: 64.55 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1086/6.237, allocations: 25.96 MB / 1.235 GB, free: 40.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005342/6.243, allocations: 1.026 MB / 1.236 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5707/6.813, allocations: 26.99 MB / 1.262 GB, free: 97.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1009/6.914, allocations: 24.45 MB / 1.286 GB, free: 96.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/6.914, allocations: 41.59 kB / 1.286 GB, free: 96.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002162/6.915, allocations: 34.27 kB / 1.286 GB, free: 96.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1986/7.113, allocations: 55.07 MB / 1.34 GB, free: 84.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.419e-05/7.113, allocations: 3.625 kB / 1.34 GB, free: 84.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01444/7.128, allocations: 1.175 MB / 1.341 GB, free: 84.95 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.01456/7.142, allocations: 2.1 MB / 1.343 GB, free: 84.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00272/7.145, allocations: 54.08 kB / 1.343 GB, free: 84.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/7.158, allocations: 4.792 MB / 1.348 GB, free: 82.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002063/7.16, allocations: 1.634 MB / 1.349 GB, free: 81.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1458/7.306, allocations: 39.14 MB / 1.388 GB, free: 60.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01649/7.322, allocations: 2.702 MB / 1.39 GB, free: 59.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007617/7.33, allocations: 19.8 kB / 1.39 GB, free: 59.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02409/7.354, allocations: 0.6393 MB / 1.391 GB, free: 58.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005212/7.36, allocations: 0.6616 MB / 1.392 GB, free: 58.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002571/7.362, allocations: 196.3 kB / 1.392 GB, free: 58.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01859/7.381, allocations: 5.788 MB / 1.397 GB, free: 53.22 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.072e-06/7.381, allocations: 0 / 1.397 GB, free: 53.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02502/7.406, allocations: 3.44 MB / 1.401 GB, free: 49.79 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET140266237153672.x[6],$STATESET140266237153672.x[5],$STATESET140266237153672.x[4],$STATESET140266237153672.x[3],$STATESET140266237153672.x[2],$STATESET140266237153672.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.1368/7.543, allocations: 39.95 MB / 1.44 GB, free: 16.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.5724/8.115, allocations: 26.8 MB / 1.466 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/8.115, allocations: 0 / 1.466 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.06654/8.182, allocations: 14.61 MB / 1.48 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01706/8.199, allocations: 1.373 MB / 1.482 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1374/8.336, allocations: 35.66 MB / 1.516 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02584/8.362, allocations: 9.208 MB / 1.525 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02786/8.39, allocations: 4.823 MB / 1.53 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01969/8.41, allocations: 6.779 MB / 1.537 GB, free: 96.25 MB / 0.5417 GB Notification: Performance of SimCode: time 3.066e-06/8.41, allocations: 1.969 kB / 1.537 GB, free: 96.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.659/10.07, allocations: 283.9 MB / 1.814 GB, free: 2.047 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003065/10.07, allocations: 163.1 kB / 1.814 GB, free: 1.852 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 14.34/24.41, allocations: 0 / 1.814 GB, free: 1.852 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat