Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.582/2.582, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.063e-05/5.073e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5832/0.7305, allocations: 114.7 MB / 0.5127 GB, free: 5.219 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.7309, allocations: 75.97 kB / 0.5128 GB, free: 5.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462/2.193, allocations: 261.2 MB / 0.7679 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.505e-06/2.193, allocations: 4 kB / 0.7679 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001717/2.195, allocations: 264 kB / 0.7682 GB, free: 33.84 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: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.06758/2.262, allocations: 13.42 MB / 0.7813 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/2.262, allocations: 12.03 kB / 0.7813 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01035/2.273, allocations: 1.968 MB / 0.7832 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1978/2.47, allocations: 26.79 MB / 0.8094 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5722/3.043, allocations: 25.76 MB / 0.8345 GB, free: 63.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001847/3.045, allocations: 0.8894 MB / 0.8354 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008337/3.053, allocations: 1.222 MB / 0.8366 GB, free: 63.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09489/3.148, allocations: 26.74 MB / 0.8627 GB, free: 57.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001327/3.149, allocations: 185.6 kB / 0.8629 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005793/3.155, allocations: 0.5395 MB / 0.8634 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005638/3.161, allocations: 2.379 MB / 0.8657 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07251/3.233, allocations: 21.43 MB / 0.8867 GB, free: 57.57 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.2367/3.47, allocations: 118.7 MB / 1.003 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1161/3.586, allocations: 15.88 MB / 1.018 GB, free: 13.51 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01844/3.605, allocations: 8.498 MB / 1.026 GB, free: 5.633 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/3.606, allocations: 412.9 kB / 1.027 GB, free: 5.223 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/3.606, allocations: 94.25 kB / 1.027 GB, free: 5.121 MB / 0.573 GB Notification: Performance of pre-optimization done (n=538): time 8.876e-06/3.606, allocations: 2.812 kB / 1.027 GB, free: 5.121 MB / 0.573 GB Notification: Performance of matching and sorting (n=737): time 1.198/4.804, allocations: 117.7 MB / 1.142 GB, free: 102.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002262/4.807, allocations: 2.356 MB / 1.144 GB, free: 99.79 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02501/4.832, allocations: 9.426 MB / 1.153 GB, free: 92.36 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0026/4.834, allocations: 138.9 kB / 1.153 GB, free: 92.22 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008511/4.843, allocations: 8.189 MB / 1.161 GB, free: 84.86 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005322/4.848, allocations: 2.691 MB / 1.164 GB, free: 82.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00368/4.852, allocations: 281.2 kB / 1.164 GB, free: 82.19 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001796/4.854, allocations: 0.9013 MB / 1.165 GB, free: 81.45 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0228/4.877, allocations: 9.339 MB / 1.174 GB, free: 73.02 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02695/4.904, allocations: 16.08 MB / 1.19 GB, free: 55.01 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02716/4.931, allocations: 12.19 MB / 1.202 GB, free: 44.64 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002297/4.931, allocations: 64 kB / 1.202 GB, free: 44.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=1838) (initialization): time 0.2753/5.206, allocations: 45.23 MB / 1.246 GB, free: 6.891 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/5.207, allocations: 107.9 kB / 1.246 GB, free: 6.785 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.6708/5.877, allocations: 33.97 MB / 1.279 GB, free: 90.71 MB / 0.573 GB Notification: Tearing is skipped for strong component 3 because system size of 214 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.1123/5.99, allocations: 11.98 MB / 1.291 GB, free: 90.67 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02985/6.02, allocations: 3.145 MB / 1.294 GB, free: 90.67 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06624/6.086, allocations: 16.03 MB / 1.31 GB, free: 88.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03148/6.118, allocations: 1.312 MB / 1.311 GB, free: 88.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004477/6.122, allocations: 0.7722 MB / 1.312 GB, free: 88.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1051 * Number of states: 0 () * Number of discrete variables: 113 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1566): * Single equations (assignments): 1554 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(214,1.6%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.007529/6.13, allocations: 1.131 MB / 1.313 GB, free: 87.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004442/6.134, allocations: 1.083 MB / 1.314 GB, free: 87.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1021/6.236, allocations: 27.63 MB / 1.341 GB, free: 85.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08472/6.321, allocations: 24.9 MB / 1.365 GB, free: 77.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.231e-05/6.321, allocations: 40.66 kB / 1.365 GB, free: 77.66 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000163/6.321, allocations: 42.58 kB / 1.365 GB, free: 77.66 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1668/6.488, allocations: 56.91 MB / 1.421 GB, free: 30.33 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-05/6.488, allocations: 0 / 1.421 GB, free: 30.33 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01425/6.503, allocations: 1.151 MB / 1.422 GB, free: 29.23 MB / 0.573 GB Notification: Tearing is skipped for strong component 12 because system size of 211 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.01777/6.52, allocations: 2.109 MB / 1.424 GB, free: 27.12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003378/6.524, allocations: 162.3 kB / 1.424 GB, free: 26.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/6.539, allocations: 4.61 MB / 1.429 GB, free: 22.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002415/6.542, allocations: 1.701 MB / 1.43 GB, free: 20.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6608/7.202, allocations: 39.77 MB / 1.469 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005157/7.208, allocations: 1.092 MB / 1.47 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0065/7.214, allocations: 141.2 kB / 1.471 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01813/7.232, allocations: 0.7407 MB / 1.471 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004334/7.237, allocations: 0.6497 MB / 1.472 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002681/7.239, allocations: 195.1 kB / 1.472 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02222/7.262, allocations: 6.814 MB / 1.479 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.22e-07/7.262, allocations: 1.312 kB / 1.479 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02638/7.288, allocations: 3.729 MB / 1.482 GB, free: 100.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (498): * Single equations (assignments): 489 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(211,1.7%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1581/7.446, allocations: 40.7 MB / 1.522 GB, free: 98.83 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.08806/7.534, allocations: 26.83 MB / 1.548 GB, free: 90.86 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/7.534, allocations: 7.625 kB / 1.548 GB, free: 90.86 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.05934/7.594, allocations: 14.74 MB / 1.563 GB, free: 86.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01747/7.611, allocations: 1.653 MB / 1.564 GB, free: 85.42 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1383/7.75, allocations: 36.21 MB / 1.6 GB, free: 64.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03419/7.784, allocations: 9.097 MB / 1.609 GB, free: 57.77 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02713/7.811, allocations: 4.8 MB / 1.613 GB, free: 54.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01781/7.829, allocations: 6.764 MB / 1.62 GB, free: 48.31 MB / 0.5886 GB Notification: Performance of SimCode: time 1.493e-06/7.829, allocations: 0 / 1.62 GB, free: 48.31 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.652/9.481, allocations: 299.3 MB / 1.912 GB, free: 68.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/9.481, allocations: 196.3 kB / 1.912 GB, free: 67.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/24.51, allocations: 4.188 kB / 1.912 GB, free: 67.91 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat