Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.622/2.622, allocations: 235 MB / 247.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.441e-05/5.453e-05, allocations: 7.984 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.419, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2324/0.6514, allocations: 115.1 MB / 475 MB, free: 13.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.6518, allocations: 71.97 kB / 475.1 MB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195/1.847, allocations: 230.1 MB / 0.6886 GB, free: 15.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.847, allocations: 0 / 0.6886 GB, free: 15.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001316/1.848, allocations: 280 kB / 0.6889 GB, free: 14.75 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.08931/1.938, allocations: 14.5 MB / 0.703 GB, free: 144 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/1.938, allocations: 12.03 kB / 0.703 GB, free: 132 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3972/2.335, allocations: 2.828 MB / 0.7058 GB, free: 41.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1061/2.441, allocations: 10.51 MB / 0.7161 GB, free: 40.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06786/2.509, allocations: 14 MB / 0.7298 GB, free: 40.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001791/2.511, allocations: 1.084 MB / 0.7308 GB, free: 40.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008839/2.52, allocations: 1.44 MB / 0.7322 GB, free: 40.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1116/2.631, allocations: 32.72 MB / 0.7642 GB, free: 34.08 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001041/2.632, allocations: 152.4 kB / 0.7643 GB, free: 34.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006889/2.639, allocations: 0.6574 MB / 0.765 GB, free: 34.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005799/2.645, allocations: 2.541 MB / 0.7674 GB, free: 34.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0858/2.731, allocations: 26.92 MB / 0.7937 GB, free: 28.17 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7079/3.439, allocations: 131.7 MB / 0.9223 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07799/3.517, allocations: 12.89 MB / 0.9349 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01293/3.53, allocations: 6.788 MB / 0.9415 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07147/3.602, allocations: 31.03 MB / 0.9718 GB, free: 21.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.766e-05/3.602, allocations: 85.06 kB / 0.9719 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=424): time 8.757e-06/3.602, allocations: 1.844 kB / 0.9719 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=554): time 0.5712/4.173, allocations: 106.7 MB / 1.076 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06291/4.236, allocations: 23.1 MB / 1.099 GB, free: 5.184 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02677/4.263, allocations: 8.259 MB / 1.107 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001954/4.265, allocations: 107.1 kB / 1.107 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.01164/4.276, allocations: 8.937 MB / 1.115 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.005029/4.282, allocations: 2.138 MB / 1.118 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003338/4.285, allocations: 323.4 kB / 1.118 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.002072/4.287, allocations: 0.984 MB / 1.119 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02526/4.312, allocations: 9.231 MB / 1.128 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4547/4.767, allocations: 18.49 MB / 1.146 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03262/4.8, allocations: 12.8 MB / 1.158 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007263/4.801, allocations: 95.88 kB / 1.159 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.1291/4.93, allocations: 34.95 MB / 1.193 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003523/4.93, allocations: 145.2 kB / 1.193 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08062/5.011, allocations: 21.9 MB / 1.214 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05598/5.067, allocations: 9.316 MB / 1.223 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02626/5.093, allocations: 3.938 MB / 1.227 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08187/5.175, allocations: 47.06 MB / 1.273 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02842/5.203, allocations: 1.698 MB / 1.275 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004686/5.208, allocations: 0.9837 MB / 1.276 GB, free: 118 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1485 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],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.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],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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1958): * Single equations (assignments): 1931 * 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.008157/5.216, allocations: 1.304 MB / 1.277 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003666/5.22, allocations: 0.8692 MB / 1.278 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.116/5.336, allocations: 27.45 MB / 1.305 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1061/5.442, allocations: 25.63 MB / 1.33 GB, free: 80.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-05/5.442, allocations: 23.95 kB / 1.33 GB, free: 80.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001554/5.443, allocations: 26.81 kB / 1.33 GB, free: 80.89 MB / 0.6042 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.665/6.108, allocations: 58.44 MB / 1.387 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-05/6.108, allocations: 3.094 kB / 1.387 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01095/6.119, allocations: 1.084 MB / 1.388 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08522/6.204, allocations: 13.99 MB / 1.402 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001845/6.206, allocations: 166.1 kB / 1.402 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1154/6.321, allocations: 59.16 MB / 1.459 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05099/6.372, allocations: 22.83 MB / 1.482 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1324/6.505, allocations: 39.2 MB / 1.52 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01015/6.515, allocations: 2.475 MB / 1.522 GB, free: 98.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004465/6.52, allocations: 130.7 kB / 1.523 GB, free: 98.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01586/6.535, allocations: 0.8513 MB / 1.523 GB, free: 97.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005983/6.541, allocations: 427.3 kB / 1.524 GB, free: 97.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001938/6.543, allocations: 173.9 kB / 1.524 GB, free: 97.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01628/6.56, allocations: 5.688 MB / 1.53 GB, free: 92.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.31e-07/6.56, allocations: 0 / 1.53 GB, free: 92.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02578/6.586, allocations: 4.29 MB / 1.534 GB, free: 88.05 MB / 0.6042 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 (435): * Single equations (assignments): 420 * 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.1336/6.719, allocations: 40.26 MB / 1.573 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.5197/7.239, allocations: 23.17 MB / 1.596 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/7.239, allocations: 1.719 kB / 1.596 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.03231/7.271, allocations: 11.08 MB / 1.606 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01283/7.284, allocations: 1.283 MB / 1.608 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1282/7.412, allocations: 35.77 MB / 1.643 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02595/7.438, allocations: 9.467 MB / 1.652 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02659/7.465, allocations: 5.103 MB / 1.657 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01843/7.484, allocations: 6.632 MB / 1.663 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.923e-06/7.484, allocations: 0 / 1.663 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/8.515, allocations: 287.6 MB / 1.944 GB, free: 87.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/8.515, allocations: 191.8 kB / 1.944 GB, free: 87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/21.67, allocations: 0 / 1.944 GB, free: 87 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat