Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 270 MB / 283.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.069e-05, allocations: 4 kB / 348.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4029, allocations: 61.87 MB / 410.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5902/0.9932, allocations: 122.9 MB / 0.5208 GB, free: 48.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/0.9936, allocations: 76.3 kB / 0.5209 GB, free: 48.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319/2.313, allocations: 221.8 MB / 0.7375 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/2.313, allocations: 0 / 0.7375 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009009/2.314, allocations: 273.7 kB / 0.7378 GB, free: 58.28 MB / 0.5261 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.08024/2.394, allocations: 14.05 MB / 0.7515 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/2.394, allocations: 10.25 kB / 0.7515 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01295/2.407, allocations: 2.715 MB / 0.7542 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07632/2.484, allocations: 10.39 MB / 0.7643 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04982/2.533, allocations: 13.29 MB / 0.7773 GB, free: 51.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00134/2.535, allocations: 1.041 MB / 0.7783 GB, free: 51.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007089/2.542, allocations: 1.381 MB / 0.7796 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09932/2.641, allocations: 31.16 MB / 0.8101 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001026/2.642, allocations: 136.4 kB / 0.8102 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006346/2.649, allocations: 0.6357 MB / 0.8108 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004973/2.654, allocations: 2.355 MB / 0.8131 GB, free: 45.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08176/2.736, allocations: 25.13 MB / 0.8377 GB, free: 42.72 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.8037/3.539, allocations: 126.9 MB / 0.9616 GB, free: 48.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05981/3.599, allocations: 12.35 MB / 0.9737 GB, free: 48.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01241/3.612, allocations: 6.568 MB / 0.9801 GB, free: 48.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06875/3.68, allocations: 30.06 MB / 1.009 GB, free: 40.83 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.941e-05/3.681, allocations: 80.62 kB / 1.01 GB, free: 40.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=379): time 9.247e-06/3.681, allocations: 3.938 kB / 1.01 GB, free: 40.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508): time 0.5234/4.204, allocations: 102.2 MB / 1.109 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05962/4.264, allocations: 23.09 MB / 1.132 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02469/4.288, allocations: 7.951 MB / 1.14 GB, free: 240 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/4.29, allocations: 104.2 kB / 1.14 GB, free: 132 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01077/4.301, allocations: 8.58 MB / 1.148 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004669/4.306, allocations: 1.971 MB / 1.15 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003351/4.309, allocations: 306.7 kB / 1.15 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.002538/4.312, allocations: 0.9547 MB / 1.151 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02514/4.337, allocations: 8.931 MB / 1.16 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03427/4.371, allocations: 17.7 MB / 1.177 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4861/4.858, allocations: 12.34 MB / 1.189 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004269/4.858, allocations: 92.81 kB / 1.189 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1985) (initialization): time 0.1141/4.972, allocations: 33.07 MB / 1.222 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002163/4.972, allocations: 137.3 kB / 1.222 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08557/5.058, allocations: 21.42 MB / 1.243 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0739/5.132, allocations: 9.29 MB / 1.252 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02384/5.156, allocations: 3.714 MB / 1.255 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08026/5.236, allocations: 47.04 MB / 1.301 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02681/5.263, allocations: 1.663 MB / 1.303 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004191/5.267, allocations: 0.938 MB / 1.304 GB, free: 129.6 MB / 0.6511 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.006455/5.274, allocations: 1.245 MB / 1.305 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00334/5.277, allocations: 0.8241 MB / 1.306 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1101/5.387, allocations: 26.85 MB / 1.332 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1129/5.5, allocations: 25.13 MB / 1.357 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001428/5.5, allocations: 22.81 kB / 1.357 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001647/5.501, allocations: 23.34 kB / 1.357 GB, free: 104.4 MB / 0.6511 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.1832/5.684, allocations: 56.77 MB / 1.412 GB, free: 50.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-05/5.684, allocations: 3.938 kB / 1.412 GB, free: 50.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009769/5.694, allocations: 0.9788 MB / 1.413 GB, free: 49.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5572/6.251, allocations: 14.01 MB / 1.427 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001727/6.253, allocations: 155.5 kB / 1.427 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1142/6.367, allocations: 59.19 MB / 1.485 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05133/6.418, allocations: 22.83 MB / 1.507 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1315/6.55, allocations: 38.26 MB / 1.544 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003263/6.553, allocations: 0.887 MB / 1.545 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004036/6.557, allocations: 119.4 kB / 1.545 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01503/6.572, allocations: 0.8342 MB / 1.546 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003228/6.576, allocations: 389.7 kB / 1.547 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001594/6.577, allocations: 160 kB / 1.547 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.01519/6.592, allocations: 5.467 MB / 1.552 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.182e-06/6.593, allocations: 0 / 1.552 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0254/6.618, allocations: 4.151 MB / 1.556 GB, free: 112.2 MB / 0.6511 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.1339/6.752, allocations: 39.34 MB / 1.595 GB, free: 89.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.04895/6.801, allocations: 21.93 MB / 1.616 GB, free: 69.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/6.801, allocations: 4 kB / 1.616 GB, free: 69.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.02795/6.829, allocations: 10.68 MB / 1.626 GB, free: 60.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/6.841, allocations: 1.291 MB / 1.628 GB, free: 59.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.582/7.423, allocations: 34.12 MB / 1.661 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.027/7.45, allocations: 9.085 MB / 1.67 GB, free: 145.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.02565/7.475, allocations: 4.874 MB / 1.675 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01806/7.493, allocations: 6.295 MB / 1.681 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.843e-06/7.494, allocations: 0 / 1.681 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.052/8.546, allocations: 282 MB / 1.956 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/8.546, allocations: 193.8 kB / 1.956 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/21.02, allocations: 4 kB / 1.956 GB, free: 118.2 MB / 0.6511 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat