Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.608/2.608, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.236e-05/4.228e-05, allocations: 5.688 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1398, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5976/0.7375, allocations: 118.6 MB / 0.5166 GB, free: 1.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.7379, allocations: 71.97 kB / 0.5167 GB, free: 1.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289/2.027, allocations: 221.4 MB / 0.7329 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.489e-06/2.027, allocations: 4 kB / 0.7329 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00247/2.029, allocations: 272 kB / 0.7331 GB, free: 70.39 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.09584/2.125, allocations: 13.34 MB / 0.7462 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/2.125, allocations: 8.031 kB / 0.7462 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01311/2.138, allocations: 2.682 MB / 0.7488 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08359/2.222, allocations: 10.81 MB / 0.7594 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05346/2.275, allocations: 14.66 MB / 0.7737 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/2.277, allocations: 1.039 MB / 0.7747 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006641/2.283, allocations: 1.39 MB / 0.776 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1236/2.407, allocations: 30.46 MB / 0.8058 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001189/2.408, allocations: 142.7 kB / 0.8059 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006684/2.415, allocations: 0.6404 MB / 0.8066 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005672/2.421, allocations: 2.15 MB / 0.8087 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9237/3.344, allocations: 23.75 MB / 0.8318 GB, free: 78.15 MB / 0.5262 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.2007/3.545, allocations: 126.2 MB / 0.9551 GB, free: 14.75 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06401/3.609, allocations: 11.83 MB / 0.9666 GB, free: 11.89 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01237/3.622, allocations: 5.535 MB / 0.972 GB, free: 9.41 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006996/3.629, allocations: 4.824 MB / 0.9767 GB, free: 5.246 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/3.629, allocations: 85.88 kB / 0.9768 GB, free: 5.172 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=390): time 8.186e-06/3.629, allocations: 0 / 0.9768 GB, free: 5.172 MB / 0.5418 GB Notification: Performance of matching and sorting (n=522): time 1.074/4.703, allocations: 104.9 MB / 1.079 GB, free: 121.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0531/4.756, allocations: 24.74 MB / 1.103 GB, free: 112.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02141/4.778, allocations: 8.018 MB / 1.111 GB, free: 110.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001886/4.78, allocations: 103.3 kB / 1.111 GB, free: 110.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007775/4.788, allocations: 8.481 MB / 1.12 GB, free: 103.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004176/4.792, allocations: 2.029 MB / 1.122 GB, free: 102.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00312/4.795, allocations: 306.6 kB / 1.122 GB, free: 101.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00162/4.797, allocations: 0.953 MB / 1.123 GB, free: 101.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02067/4.817, allocations: 8.902 MB / 1.131 GB, free: 97.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02697/4.844, allocations: 17.63 MB / 1.149 GB, free: 82.93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02686/4.871, allocations: 12.28 MB / 1.161 GB, free: 78.53 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003747/4.872, allocations: 88 kB / 1.161 GB, free: 78.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=1992) (initialization): time 0.1244/4.996, allocations: 34.44 MB / 1.194 GB, free: 51.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000229/4.996, allocations: 140 kB / 1.195 GB, free: 50.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09056/5.087, allocations: 22.78 MB / 1.217 GB, free: 30.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06757/5.155, allocations: 10.9 MB / 1.227 GB, free: 19.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02356/5.178, allocations: 3.63 MB / 1.231 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5831/5.761, allocations: 51.24 MB / 1.281 GB, free: 99.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02903/5.79, allocations: 1.756 MB / 1.283 GB, free: 99.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004926/5.795, allocations: 0.9319 MB / 1.284 GB, free: 99.36 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.007788/5.803, allocations: 1.252 MB / 1.285 GB, free: 99.12 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003609/5.807, allocations: 0.8408 MB / 1.286 GB, free: 99.12 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006226/5.813, allocations: 1.536 MB / 1.287 GB, free: 99.02 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.117/5.93, allocations: 26.57 MB / 1.313 GB, free: 92.95 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001063/5.93, allocations: 26.34 kB / 1.313 GB, free: 92.95 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001461/5.931, allocations: 23.53 kB / 1.313 GB, free: 92.95 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.2067/6.137, allocations: 61.45 MB / 1.373 GB, free: 65.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.514e-05/6.137, allocations: 4 kB / 1.373 GB, free: 65.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009129/6.147, allocations: 0.912 MB / 1.374 GB, free: 65.33 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1017/6.248, allocations: 15.67 MB / 1.389 GB, free: 50.45 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/6.25, allocations: 172.6 kB / 1.39 GB, free: 50.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1407/6.391, allocations: 64.66 MB / 1.453 GB, free: 0.9609 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5202/6.911, allocations: 24.54 MB / 1.477 GB, free: 127.5 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1508/7.062, allocations: 40 MB / 1.516 GB, free: 125.5 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004591/7.067, allocations: 0.9149 MB / 1.517 GB, free: 125.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005194/7.072, allocations: 126.7 kB / 1.517 GB, free: 125.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02142/7.094, allocations: 0.8762 MB / 1.518 GB, free: 125.4 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004765/7.098, allocations: 427 kB / 1.518 GB, free: 125.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002237/7.101, allocations: 170.3 kB / 1.518 GB, free: 125.4 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.02002/7.121, allocations: 5.523 MB / 1.524 GB, free: 124.1 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.102e-06/7.121, allocations: 0 / 1.524 GB, free: 124.1 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.03373/7.155, allocations: 4.286 MB / 1.528 GB, free: 123.8 MB / 0.6043 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.1479/7.303, allocations: 41.36 MB / 1.568 GB, free: 109.3 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.05131/7.354, allocations: 22.29 MB / 1.59 GB, free: 89.91 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/7.354, allocations: 1.969 kB / 1.59 GB, free: 89.91 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.03082/7.385, allocations: 11.15 MB / 1.601 GB, free: 80.14 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/7.397, allocations: 1.363 MB / 1.602 GB, free: 79.07 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1163/7.514, allocations: 34.77 MB / 1.636 GB, free: 49.38 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02344/7.537, allocations: 9.037 MB / 1.645 GB, free: 41.98 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.02408/7.561, allocations: 4.832 MB / 1.65 GB, free: 37.19 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01578/7.577, allocations: 6.08 MB / 1.656 GB, free: 31.11 MB / 0.6043 GB Notification: Performance of SimCode: time 3.506e-06/7.577, allocations: 0 / 1.656 GB, free: 31.11 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.526/9.103, allocations: 288.9 MB / 1.938 GB, free: 105.1 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/9.104, allocations: 185.9 kB / 1.938 GB, free: 104.9 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/21.88, allocations: 1.094 kB / 1.938 GB, free: 104.9 MB / 0.6199 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat