Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.467e-05, allocations: 0 / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4102, allocations: 54.86 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.59, allocations: 94.61 MB / 449 MB, free: 3.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.5903, allocations: 67.97 kB / 449 MB, free: 3.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7515/1.342, allocations: 100.8 MB / 0.5369 GB, free: 90.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.342, allocations: 0 / 0.5369 GB, free: 90.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003715/1.342, allocations: 88 kB / 0.537 GB, free: 90.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.05209/1.394, allocations: 6.372 MB / 0.5432 GB, free: 84.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.394, allocations: 12.03 kB / 0.5432 GB, free: 84.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06104/1.455, allocations: 7.369 MB / 0.5504 GB, free: 76.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06436/1.52, allocations: 18.23 MB / 0.5682 GB, free: 58.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/1.52, allocations: 132.5 kB / 0.5683 GB, free: 58.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/1.523, allocations: 271.7 kB / 0.5686 GB, free: 58.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01536/1.538, allocations: 6.193 MB / 0.5746 GB, free: 52.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02376/1.562, allocations: 9.538 MB / 0.584 GB, free: 41.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003604/1.562, allocations: 83.2 kB / 0.584 GB, free: 41.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/1.564, allocations: 36 kB / 0.5841 GB, free: 41.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/1.566, allocations: 1.049 MB / 0.5851 GB, free: 40.48 MB / 426.7 MB 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.07552/1.642, allocations: 49.28 MB / 0.6332 GB, free: 5.938 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007899/1.65, allocations: 3.19 MB / 0.6363 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004652/1.655, allocations: 1.898 MB / 0.6382 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/1.655, allocations: 19.59 kB / 0.6382 GB, free: 0.625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.937e-05/1.655, allocations: 71.67 kB / 0.6383 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of pre-optimization done (n=188): time 6.562e-06/1.655, allocations: 0 / 0.6383 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of matching and sorting (n=216): time 0.1076/1.763, allocations: 18.82 MB / 0.6567 GB, free: 13.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/1.763, allocations: 340.3 kB / 0.657 GB, free: 12.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/1.774, allocations: 3.975 MB / 0.6609 GB, free: 8.996 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007361/1.774, allocations: 29.7 kB / 0.6609 GB, free: 8.961 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004572/1.779, allocations: 3.543 MB / 0.6644 GB, free: 5.367 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002084/1.781, allocations: 0.8831 MB / 0.6652 GB, free: 4.473 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/1.782, allocations: 4 kB / 0.6652 GB, free: 4.469 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006953/1.783, allocations: 0.6201 MB / 0.6658 GB, free: 3.844 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007947/1.791, allocations: 2.915 MB / 0.6687 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3616/2.152, allocations: 7.309 MB / 0.6758 GB, free: 118.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/2.164, allocations: 4.511 MB / 0.6802 GB, free: 118.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003607/2.164, allocations: 45 kB / 0.6803 GB, free: 118.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=970) (initialization): time 0.1004/2.265, allocations: 14.72 MB / 0.6946 GB, free: 117.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/2.265, allocations: 73.62 kB / 0.6947 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06309/2.328, allocations: 8.802 MB / 0.7033 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0677/2.396, allocations: 6.669 MB / 0.7098 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/2.406, allocations: 1.733 MB / 0.7115 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03277/2.439, allocations: 15.22 MB / 0.7264 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/2.452, allocations: 0.6524 MB / 0.727 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002128/2.454, allocations: 469.8 kB / 0.7275 GB, free: 107.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 718 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (894): * Single equations (assignments): 869 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002266/2.456, allocations: 0.4989 MB / 0.7279 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02799/2.484, allocations: 6.679 MB / 0.7345 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/2.486, allocations: 425.2 kB / 0.7349 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/2.488, allocations: 0.5801 MB / 0.7354 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02511/2.513, allocations: 5.882 MB / 0.7412 GB, free: 98.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.161e-05/2.513, allocations: 8 kB / 0.7412 GB, free: 98.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.105e-05/2.513, allocations: 13.8 kB / 0.7412 GB, free: 98.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02959/2.543, allocations: 9.852 MB / 0.7508 GB, free: 88.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/2.543, allocations: 0 / 0.7508 GB, free: 88.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004279/2.547, allocations: 439.4 kB / 0.7512 GB, free: 88.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02272/2.57, allocations: 3.537 MB / 0.7547 GB, free: 84.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008412/2.571, allocations: 71.69 kB / 0.7548 GB, free: 84.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/2.591, allocations: 13.38 MB / 0.7678 GB, free: 70.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003971/2.595, allocations: 5.615 MB / 0.7733 GB, free: 64.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03273/2.628, allocations: 10.44 MB / 0.7835 GB, free: 54.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/2.63, allocations: 0.5006 MB / 0.784 GB, free: 53.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001979/2.632, allocations: 43.95 kB / 0.784 GB, free: 53.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006467/2.638, allocations: 311.4 kB / 0.7843 GB, free: 53.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/2.64, allocations: 184.5 kB / 0.7845 GB, free: 53.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003178/2.64, allocations: 76.25 kB / 0.7846 GB, free: 52.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006472/2.646, allocations: 2.703 MB / 0.7872 GB, free: 50.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.52e-07/2.646, allocations: 0 / 0.7872 GB, free: 50.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01221/2.659, allocations: 1.556 MB / 0.7888 GB, free: 48.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET7660769675.x[3],$STATESET7660769675.x[2],$STATESET7660769675.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET7660769674.x[3],$STATESET7660769674.x[2],$STATESET7660769674.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET7660769673.x[3],$STATESET7660769673.x[2],$STATESET7660769673.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET7660769672.x[3],$STATESET7660769672.x[2],$STATESET7660769672.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[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 (156): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03403/2.693, allocations: 11.78 MB / 0.8003 GB, free: 36.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02428/2.717, allocations: 8.798 MB / 0.8089 GB, free: 27.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.717, allocations: 0 / 0.8089 GB, free: 27.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01399/2.731, allocations: 4.533 MB / 0.8133 GB, free: 23.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006082/2.737, allocations: 0.5506 MB / 0.8138 GB, free: 22.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04132/2.779, allocations: 13.75 MB / 0.8272 GB, free: 8.914 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009126/2.788, allocations: 3.782 MB / 0.8309 GB, free: 5.125 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0113/2.799, allocations: 2.304 MB / 0.8332 GB, free: 2.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006241/2.805, allocations: 2.268 MB / 0.8354 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of SimCode: time 1.543e-06/2.806, allocations: 0 / 0.8354 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6875/3.493, allocations: 110.5 MB / 0.9434 GB, free: 73.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/3.493, allocations: 153.6 kB / 0.9435 GB, free: 73.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.545/10.04, allocations: 7.938 kB / 0.9435 GB, free: 73.36 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat