Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.377e-05/4.383e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.605/0.7466, allocations: 122.9 MB / 0.5208 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/0.7471, allocations: 76.8 kB / 0.5209 GB, free: 12.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235/1.983, allocations: 221.9 MB / 0.7375 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/1.983, allocations: 0 / 0.7375 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007704/1.983, allocations: 268 kB / 0.7378 GB, free: 65.82 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: 4458 * Number of variables: 4458 Notification: Performance of Generate backend data structure: time 0.08274/2.066, allocations: 14.06 MB / 0.7515 GB, free: 51.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/2.066, allocations: 12.03 kB / 0.7515 GB, free: 51.65 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01373/2.08, allocations: 2.723 MB / 0.7542 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0749/2.155, allocations: 10.39 MB / 0.7643 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05094/2.206, allocations: 13.27 MB / 0.7773 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/2.207, allocations: 1.047 MB / 0.7783 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007668/2.215, allocations: 1.386 MB / 0.7796 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1373/2.352, allocations: 31.17 MB / 0.8101 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001473/2.354, allocations: 138.7 kB / 0.8102 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009055/2.363, allocations: 0.6326 MB / 0.8108 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008253/2.371, allocations: 2.358 MB / 0.8131 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9945/3.366, allocations: 25.12 MB / 0.8377 GB, free: 76.75 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.2162/3.582, allocations: 127 MB / 0.9617 GB, free: 14.04 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06322/3.645, allocations: 12.36 MB / 0.9737 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02288/3.668, allocations: 6.568 MB / 0.9801 GB, free: 7.617 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1224/3.791, allocations: 30.07 MB / 1.01 GB, free: 12.72 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/3.791, allocations: 75.97 kB / 1.01 GB, free: 12.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=379): time 1.174e-05/3.791, allocations: 3.219 kB / 1.01 GB, free: 12.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=508): time 1.042/4.833, allocations: 102.6 MB / 1.11 GB, free: 123.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0531/4.886, allocations: 23.07 MB / 1.132 GB, free: 111.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02296/4.909, allocations: 7.958 MB / 1.14 GB, free: 105.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001747/4.911, allocations: 106.5 kB / 1.14 GB, free: 105 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008043/4.919, allocations: 8.571 MB / 1.149 GB, free: 97.34 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004172/4.924, allocations: 1.97 MB / 1.15 GB, free: 95.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003385/4.927, allocations: 301.8 kB / 1.151 GB, free: 95.31 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002253/4.929, allocations: 0.9555 MB / 1.152 GB, free: 94.53 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02199/4.951, allocations: 8.929 MB / 1.16 GB, free: 86.47 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02863/4.98, allocations: 17.71 MB / 1.178 GB, free: 65.92 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02794/5.008, allocations: 12.35 MB / 1.19 GB, free: 55.54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003899/5.009, allocations: 88 kB / 1.19 GB, free: 55.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=1985) (initialization): time 0.1205/5.129, allocations: 33.08 MB / 1.222 GB, free: 23.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004202/5.129, allocations: 136 kB / 1.222 GB, free: 23.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5469/5.676, allocations: 21.41 MB / 1.243 GB, free: 105.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08204/5.759, allocations: 9.296 MB / 1.252 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0253/5.784, allocations: 3.719 MB / 1.256 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08552/5.869, allocations: 47.03 MB / 1.302 GB, free: 91.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02772/5.897, allocations: 1.663 MB / 1.303 GB, free: 91.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004358/5.902, allocations: 0.9319 MB / 1.304 GB, free: 91.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1423 * Number of states: 0 () * Number of discrete variables: 82 (init2.arrow.arrow.arrowLine.twoHeadedArrow,init2.arrow.headAtOrigin,init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrow.arrow.arrowLine.twoHeadedArrow,init.arrow.headAtOrigin,init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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],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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (1850): * Single equations (assignments): 1823 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006741/5.908, allocations: 1.247 MB / 1.306 GB, free: 90.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002965/5.911, allocations: 0.8323 MB / 1.306 GB, free: 90.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1147/6.026, allocations: 26.85 MB / 1.333 GB, free: 83.55 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1068/6.133, allocations: 25.13 MB / 1.357 GB, free: 76.71 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.066e-05/6.133, allocations: 23.94 kB / 1.357 GB, free: 76.71 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001534/6.133, allocations: 23.16 kB / 1.357 GB, free: 76.71 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.1896/6.323, allocations: 56.77 MB / 1.413 GB, free: 25.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.584e-05/6.323, allocations: 3.469 kB / 1.413 GB, free: 25.63 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01324/6.336, allocations: 0.9837 MB / 1.414 GB, free: 24.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1107/6.447, allocations: 13.99 MB / 1.427 GB, free: 10.75 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002323/6.449, allocations: 164.8 kB / 1.427 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6092/7.059, allocations: 59.17 MB / 1.485 GB, free: 128.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07027/7.129, allocations: 22.84 MB / 1.507 GB, free: 121.4 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1324/7.262, allocations: 38.26 MB / 1.545 GB, free: 110.3 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003552/7.265, allocations: 0.8903 MB / 1.546 GB, free: 110.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004192/7.269, allocations: 121.5 kB / 1.546 GB, free: 110.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01548/7.285, allocations: 0.8271 MB / 1.547 GB, free: 110 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003242/7.288, allocations: 390.6 kB / 1.547 GB, free: 109.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001359/7.29, allocations: 164.2 kB / 1.547 GB, free: 109.9 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01515/7.305, allocations: 5.467 MB / 1.552 GB, free: 108 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9.72e-07/7.305, allocations: 0 / 1.552 GB, free: 108 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.02537/7.33, allocations: 4.149 MB / 1.557 GB, free: 107.7 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (384): * Single equations (assignments): 369 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1335/7.464, allocations: 39.34 MB / 1.595 GB, free: 84.05 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.05031/7.514, allocations: 21.93 MB / 1.616 GB, free: 64.75 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/7.514, allocations: 4 kB / 1.616 GB, free: 64.75 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.02972/7.544, allocations: 10.68 MB / 1.627 GB, free: 55.21 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01214/7.556, allocations: 1.285 MB / 1.628 GB, free: 54.2 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1191/7.675, allocations: 34.15 MB / 1.661 GB, free: 23.41 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02603/7.701, allocations: 9.085 MB / 1.67 GB, free: 14.35 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.4982/8.2, allocations: 4.867 MB / 1.675 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01897/8.219, allocations: 6.286 MB / 1.681 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of SimCode: time 1.703e-06/8.219, allocations: 2.531 kB / 1.681 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.077/9.295, allocations: 282 MB / 1.957 GB, free: 122.3 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/9.296, allocations: 191.4 kB / 1.957 GB, free: 122.1 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/21.95, allocations: 7.938 kB / 1.957 GB, free: 122.1 MB / 0.6199 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat