Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.793e-05, allocations: 11.94 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 61.87 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5522/0.6818, allocations: 118.6 MB / 0.5166 GB, free: 1.277 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.6822, allocations: 83.94 kB / 0.5167 GB, free: 1.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184/1.867, allocations: 221.4 MB / 0.7329 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.328e-06/1.867, allocations: 3.984 kB / 0.7329 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0009599/1.868, allocations: 272 kB / 0.7332 GB, free: 70.29 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4369 * Number of variables: 4369 Notification: Performance of Generate backend data structure: time 0.08081/1.949, allocations: 13.33 MB / 0.7462 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.313e-05/1.949, allocations: 12.03 kB / 0.7462 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01256/1.961, allocations: 2.686 MB / 0.7488 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09554/2.057, allocations: 10.81 MB / 0.7594 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05983/2.117, allocations: 14.65 MB / 0.7737 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/2.118, allocations: 1.043 MB / 0.7747 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006699/2.125, allocations: 1.394 MB / 0.776 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09644/2.221, allocations: 30.46 MB / 0.8058 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001077/2.222, allocations: 158.6 kB / 0.8059 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006227/2.229, allocations: 0.6326 MB / 0.8066 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005405/2.234, allocations: 2.15 MB / 0.8087 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4964/2.73, allocations: 23.75 MB / 0.8319 GB, free: 80.34 MB / 0.5261 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.1976/2.928, allocations: 126.2 MB / 0.9551 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06877/2.997, allocations: 12.2 MB / 0.967 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01189/3.009, allocations: 5.524 MB / 0.9724 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007072/3.016, allocations: 4.826 MB / 0.9771 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/3.016, allocations: 78.3 kB / 0.9772 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=390): time 8.866e-06/3.016, allocations: 1.812 kB / 0.9772 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of matching and sorting (n=522): time 1.082/4.099, allocations: 104.1 MB / 1.079 GB, free: 125.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05242/4.151, allocations: 24.74 MB / 1.103 GB, free: 117.1 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02197/4.173, allocations: 8.021 MB / 1.111 GB, free: 115.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001979/4.175, allocations: 100.5 kB / 1.111 GB, free: 115.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008886/4.184, allocations: 8.481 MB / 1.119 GB, free: 108.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004394/4.189, allocations: 2.031 MB / 1.121 GB, free: 107.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003178/4.192, allocations: 300.8 kB / 1.121 GB, free: 107 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001827/4.194, allocations: 0.9582 MB / 1.122 GB, free: 106.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02104/4.215, allocations: 8.898 MB / 1.131 GB, free: 103.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02659/4.241, allocations: 17.64 MB / 1.148 GB, free: 88 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02679/4.268, allocations: 12.28 MB / 1.16 GB, free: 83.87 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003996/4.269, allocations: 88.53 kB / 1.16 GB, free: 83.87 MB / 0.573 GB Notification: Performance of matching and sorting (n=1992) (initialization): time 0.1248/4.393, allocations: 34.44 MB / 1.194 GB, free: 57.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/4.394, allocations: 136 kB / 1.194 GB, free: 57.59 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0891/4.483, allocations: 22.78 MB / 1.216 GB, free: 37.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06705/4.55, allocations: 10.91 MB / 1.227 GB, free: 26.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02346/4.573, allocations: 3.641 MB / 1.231 GB, free: 22.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5587/5.132, allocations: 51.21 MB / 1.281 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02818/5.16, allocations: 1.761 MB / 1.282 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004189/5.165, allocations: 0.9289 MB / 1.283 GB, free: 101 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1413 * Number of states: 0 () * Number of discrete variables: 88 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,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 (1816): * Single equations (assignments): 1787 * 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.006785/5.172, allocations: 1.254 MB / 1.284 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003337/5.175, allocations: 0.8394 MB / 1.285 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006167/5.181, allocations: 1.538 MB / 1.287 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1137/5.295, allocations: 26.57 MB / 1.313 GB, free: 95.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/5.295, allocations: 31.33 kB / 1.313 GB, free: 95.66 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001469/5.295, allocations: 23.41 kB / 1.313 GB, free: 95.66 MB / 0.573 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.2538/5.549, allocations: 61.43 MB / 1.373 GB, free: 71.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.894e-05/5.549, allocations: 4 kB / 1.373 GB, free: 71.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00901/5.558, allocations: 0.9125 MB / 1.374 GB, free: 70.47 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1115/5.67, allocations: 15.68 MB / 1.389 GB, free: 55.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002497/5.672, allocations: 164.3 kB / 1.389 GB, free: 55.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1358/5.808, allocations: 64.65 MB / 1.452 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5294/6.337, allocations: 24.55 MB / 1.476 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1435/6.481, allocations: 40.01 MB / 1.515 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003465/6.485, allocations: 0.9111 MB / 1.516 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004074/6.489, allocations: 123.6 kB / 1.516 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01579/6.504, allocations: 0.8768 MB / 1.517 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003239/6.508, allocations: 428.1 kB / 1.518 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001592/6.509, allocations: 167.2 kB / 1.518 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01479/6.524, allocations: 5.532 MB / 1.523 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.024e-06/6.524, allocations: 0 / 1.523 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02655/6.551, allocations: 4.29 MB / 1.527 GB, free: 109.7 MB / 0.5886 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 (360): * Single equations (assignments): 345 * 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.1818/6.733, allocations: 41.35 MB / 1.568 GB, free: 95.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.05192/6.785, allocations: 22.28 MB / 1.589 GB, free: 78.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/6.785, allocations: 0 / 1.589 GB, free: 78.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.03129/6.816, allocations: 11.17 MB / 1.6 GB, free: 68.29 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/6.828, allocations: 1.345 MB / 1.602 GB, free: 67.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/6.947, allocations: 34.77 MB / 1.636 GB, free: 37.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02426/6.972, allocations: 9.039 MB / 1.644 GB, free: 30.39 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02513/6.997, allocations: 4.828 MB / 1.649 GB, free: 25.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01632/7.013, allocations: 6.08 MB / 1.655 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of SimCode: time 1.503e-06/7.013, allocations: 4 kB / 1.655 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.525/8.538, allocations: 288.9 MB / 1.937 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/8.538, allocations: 186.9 kB / 1.937 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/21.33, allocations: 7.875 kB / 1.937 GB, free: 104.2 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat