Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.547/2.547, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.025e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4549, allocations: 58.84 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.6777, allocations: 117.4 MB / 499.7 MB, free: 7.008 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.6781, allocations: 75.95 kB / 499.7 MB, free: 6.934 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.189/1.867, allocations: 230.5 MB / 0.7131 GB, free: 8.07 MB / 0.4949 GB Notification: Performance of FrontEnd: time 4.769e-06/1.867, allocations: 4 kB / 0.7131 GB, free: 8.066 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0009494/1.868, allocations: 283.9 kB / 0.7134 GB, free: 7.789 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: 4612 * Number of variables: 4612 Notification: Performance of Generate backend data structure: time 0.835/2.703, allocations: 13.78 MB / 0.7268 GB, free: 48.49 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/2.704, allocations: 11.95 kB / 0.7269 GB, free: 48.49 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01359/2.717, allocations: 2.818 MB / 0.7296 GB, free: 48.3 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08297/2.8, allocations: 10.92 MB / 0.7403 GB, free: 47.45 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05625/2.856, allocations: 15.55 MB / 0.7555 GB, free: 46.79 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00143/2.858, allocations: 1.084 MB / 0.7565 GB, free: 46.76 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007605/2.866, allocations: 1.451 MB / 0.7579 GB, free: 46.74 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1025/2.968, allocations: 31.87 MB / 0.7891 GB, free: 40.31 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001096/2.969, allocations: 149 kB / 0.7892 GB, free: 40.3 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006494/2.976, allocations: 0.6631 MB / 0.7898 GB, free: 40.3 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00527/2.981, allocations: 2.335 MB / 0.7921 GB, free: 40.28 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08376/3.065, allocations: 25.09 MB / 0.8166 GB, free: 35.5 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.7017/3.767, allocations: 130.7 MB / 0.9443 GB, free: 38.63 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08267/3.85, allocations: 12.34 MB / 0.9563 GB, free: 37.96 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01632/3.866, allocations: 5.748 MB / 0.9619 GB, free: 37.91 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008161/3.874, allocations: 4.841 MB / 0.9667 GB, free: 33.91 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/3.874, allocations: 81.14 kB / 0.9667 GB, free: 33.87 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=435): time 8.887e-06/3.874, allocations: 0 / 0.9667 GB, free: 33.87 MB / 0.5574 GB Notification: Performance of matching and sorting (n=569): time 0.6486/4.523, allocations: 110.7 MB / 1.075 GB, free: 11.11 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05747/4.58, allocations: 24.76 MB / 1.099 GB, free: 4.387 MB / 0.5731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02453/4.605, allocations: 8.357 MB / 1.107 GB, free: 12.1 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001827/4.607, allocations: 113.2 kB / 1.107 GB, free: 11.99 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.01073/4.618, allocations: 8.873 MB / 1.116 GB, free: 3.129 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.004871/4.623, allocations: 2.191 MB / 1.118 GB, free: 0.957 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00318/4.626, allocations: 322.8 kB / 1.118 GB, free: 0.6445 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001762/4.628, allocations: 0.992 MB / 1.119 GB, free: 15.64 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02495/4.653, allocations: 9.212 MB / 1.128 GB, free: 6.426 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03505/4.688, allocations: 18.36 MB / 1.146 GB, free: 15.66 MB / 0.6356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03274/4.721, allocations: 12.77 MB / 1.159 GB, free: 3.117 MB / 0.6356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003416/4.721, allocations: 94.53 kB / 1.159 GB, free: 3.027 MB / 0.6356 GB Notification: Performance of matching and sorting (n=2104) (initialization): time 0.5908/5.312, allocations: 35.45 MB / 1.193 GB, free: 170.2 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003962/5.312, allocations: 146.7 kB / 1.194 GB, free: 170.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1065/5.419, allocations: 23.29 MB / 1.216 GB, free: 169.8 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06755/5.486, allocations: 10.94 MB / 1.227 GB, free: 169.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02523/5.512, allocations: 3.863 MB / 1.231 GB, free: 169.7 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1166/5.628, allocations: 51.24 MB / 1.281 GB, free: 153.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02918/5.658, allocations: 1.804 MB / 1.283 GB, free: 153.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004503/5.662, allocations: 0.9749 MB / 1.284 GB, free: 153.2 MB / 0.6512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1478 * Number of states: 0 () * Number of discrete variables: 78 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1928): * Single equations (assignments): 1899 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006755/5.669, allocations: 1.313 MB / 1.285 GB, free: 152.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002978/5.672, allocations: 0.8802 MB / 1.286 GB, free: 152.6 MB / 0.6512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1453/5.817, allocations: 28.88 MB / 1.314 GB, free: 144.6 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1363/5.954, allocations: 27.1 MB / 1.34 GB, free: 132.3 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001746/5.954, allocations: 28 kB / 1.34 GB, free: 132.3 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001771/5.954, allocations: 23.91 kB / 1.34 GB, free: 132.2 MB / 0.6512 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 postOpt removeSimpleEquations (simulation): time 0.2102/6.164, allocations: 63.19 MB / 1.402 GB, free: 68.68 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001017/6.164, allocations: 4 kB / 1.402 GB, free: 68.68 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01072/6.175, allocations: 1.018 MB / 1.403 GB, free: 67.66 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5424/6.718, allocations: 15.66 MB / 1.418 GB, free: 169.8 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002048/6.72, allocations: 182.6 kB / 1.419 GB, free: 169.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.159/6.879, allocations: 64.64 MB / 1.482 GB, free: 158.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05277/6.932, allocations: 24.55 MB / 1.506 GB, free: 147.8 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1399/7.072, allocations: 41.06 MB / 1.546 GB, free: 134 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003323/7.075, allocations: 0.9497 MB / 1.547 GB, free: 133.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004397/7.079, allocations: 127.4 kB / 1.547 GB, free: 133.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01625/7.096, allocations: 0.9095 MB / 1.548 GB, free: 133.7 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003485/7.099, allocations: 455.4 kB / 1.548 GB, free: 133.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001486/7.101, allocations: 180.2 kB / 1.548 GB, free: 133.6 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.01493/7.116, allocations: 5.773 MB / 1.554 GB, free: 131.6 MB / 0.6512 GB Notification: Performance of sort global known variables: time 1.183e-06/7.116, allocations: 2.531 kB / 1.554 GB, free: 131.6 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.02559/7.141, allocations: 4.43 MB / 1.558 GB, free: 131.3 MB / 0.6512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 397 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1417/7.283, allocations: 42.36 MB / 1.6 GB, free: 103.7 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.05348/7.337, allocations: 23.05 MB / 1.622 GB, free: 83.55 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/7.337, allocations: 0 / 1.622 GB, free: 83.55 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.03235/7.369, allocations: 11.46 MB / 1.633 GB, free: 73.51 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01265/7.382, allocations: 1.349 MB / 1.635 GB, free: 72.44 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5705/7.952, allocations: 36.35 MB / 1.67 GB, free: 172.5 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02587/7.978, allocations: 9.459 MB / 1.679 GB, free: 171.5 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.02601/8.004, allocations: 5.068 MB / 1.684 GB, free: 171.4 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01815/8.022, allocations: 6.451 MB / 1.691 GB, free: 171.4 MB / 0.6512 GB Notification: Performance of SimCode: time 1.844e-06/8.023, allocations: 1.875 kB / 1.691 GB, free: 171.4 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.078/9.1, allocations: 293.3 MB / 1.977 GB, free: 144.5 MB / 0.6512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/9.1, allocations: 188.7 kB / 1.977 GB, free: 144.3 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/21.87, allocations: 0.5469 kB / 1.977 GB, free: 144.3 MB / 0.6512 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat