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.493/2.493, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.097e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4723, allocations: 54.86 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.6527, allocations: 95.29 MB / 455.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.6531, allocations: 71.97 kB / 455.2 MB, free: 1.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8269/1.48, allocations: 102.4 MB / 0.5445 GB, free: 103.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.48, allocations: 0 / 0.5445 GB, free: 103.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000452/1.481, allocations: 87.62 kB / 0.5446 GB, free: 103.2 MB / 458.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.05651/1.537, allocations: 6.375 MB / 0.5509 GB, free: 101.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.537, allocations: 11.45 kB / 0.5509 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004307/1.541, allocations: 0.7839 MB / 0.5516 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05683/1.598, allocations: 7.361 MB / 0.5588 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06827/1.667, allocations: 18.23 MB / 0.5766 GB, free: 99.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004446/1.667, allocations: 309.3 kB / 0.5769 GB, free: 99.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002747/1.67, allocations: 445.7 kB / 0.5773 GB, free: 99.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.028/1.698, allocations: 10.45 MB / 0.5876 GB, free: 93.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003203/1.698, allocations: 86.89 kB / 0.5876 GB, free: 93.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/1.699, allocations: 206.6 kB / 0.5878 GB, free: 93.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/1.702, allocations: 1.047 MB / 0.5889 GB, free: 93.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02408/1.726, allocations: 8.88 MB / 0.5975 GB, free: 88.59 MB / 458.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.07505/1.801, allocations: 51.23 MB / 0.6476 GB, free: 36.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/1.815, allocations: 3.797 MB / 0.6513 GB, free: 32.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004156/1.819, allocations: 1.948 MB / 0.6532 GB, free: 30.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/1.819, allocations: 30.36 kB / 0.6532 GB, free: 30.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.819, allocations: 59.73 kB / 0.6533 GB, free: 29.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=188): time 7.214e-06/1.819, allocations: 0 / 0.6533 GB, free: 29.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=216): time 0.07411/1.894, allocations: 19.21 MB / 0.672 GB, free: 10.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004559/1.898, allocations: 6.169 MB / 0.678 GB, free: 3.609 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/1.91, allocations: 4.451 MB / 0.6824 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007428/1.911, allocations: 56.83 kB / 0.6824 GB, free: 15.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004311/1.915, allocations: 3.5 MB / 0.6859 GB, free: 11.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001976/1.917, allocations: 0.9134 MB / 0.6868 GB, free: 10.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000906/1.918, allocations: 147.1 kB / 0.6869 GB, free: 10.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006069/1.919, allocations: 0.604 MB / 0.6875 GB, free: 9.953 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008863/1.928, allocations: 3.013 MB / 0.6904 GB, free: 6.938 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/1.941, allocations: 7.275 MB / 0.6975 GB, free: 13.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/1.953, allocations: 4.592 MB / 0.702 GB, free: 8.938 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/1.953, allocations: 48 kB / 0.7021 GB, free: 8.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.421/2.374, allocations: 15.13 MB / 0.7168 GB, free: 110.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/2.374, allocations: 75.55 kB / 0.7169 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08606/2.46, allocations: 8.912 MB / 0.7256 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1105/2.571, allocations: 6.724 MB / 0.7322 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/2.581, allocations: 1.69 MB / 0.7338 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0344/2.616, allocations: 15.7 MB / 0.7492 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/2.629, allocations: 0.7775 MB / 0.7499 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/2.631, allocations: 459.7 kB / 0.7504 GB, free: 102.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * 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 (870): * Single equations (assignments): 845 * 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.002874/2.634, allocations: 0.6568 MB / 0.751 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/2.635, allocations: 452.9 kB / 0.7514 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/2.637, allocations: 0.6098 MB / 0.752 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02724/2.665, allocations: 5.97 MB / 0.7579 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.691e-05/2.665, allocations: 13.8 kB / 0.7579 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.808e-05/2.665, allocations: 13.19 kB / 0.7579 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03377/2.699, allocations: 10.42 MB / 0.768 GB, free: 99.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/2.699, allocations: 7.078 kB / 0.7681 GB, free: 99.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004387/2.703, allocations: 441.3 kB / 0.7685 GB, free: 99.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02356/2.727, allocations: 3.595 MB / 0.772 GB, free: 98.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007998/2.728, allocations: 92.8 kB / 0.7721 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/2.748, allocations: 13.59 MB / 0.7854 GB, free: 89.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004532/2.753, allocations: 5.852 MB / 0.7911 GB, free: 83.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03551/2.789, allocations: 10.65 MB / 0.8015 GB, free: 79.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/2.791, allocations: 0.5377 MB / 0.802 GB, free: 79.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002129/2.793, allocations: 70.25 kB / 0.8021 GB, free: 79.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007409/2.8, allocations: 340.3 kB / 0.8024 GB, free: 79.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/2.802, allocations: 186.2 kB / 0.8026 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004493/2.802, allocations: 78.09 kB / 0.8026 GB, free: 79.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008771/2.811, allocations: 3.143 MB / 0.8057 GB, free: 78.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.811, allocations: 0 / 0.8057 GB, free: 78.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01093/2.822, allocations: 1.626 MB / 0.8073 GB, free: 77.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.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],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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.07662/2.898, allocations: 11.98 MB / 0.819 GB, free: 65.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02979/2.928, allocations: 8.884 MB / 0.8277 GB, free: 56.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/2.928, allocations: 0 / 0.8277 GB, free: 56.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01424/2.943, allocations: 4.58 MB / 0.8321 GB, free: 51.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/2.949, allocations: 0.6334 MB / 0.8328 GB, free: 51.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03885/2.988, allocations: 14 MB / 0.8464 GB, free: 37.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007511/2.995, allocations: 3.792 MB / 0.8501 GB, free: 33.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01043/3.006, allocations: 2.27 MB / 0.8524 GB, free: 31.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005185/3.011, allocations: 2.272 MB / 0.8546 GB, free: 29.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.873e-06/3.011, allocations: 0 / 0.8546 GB, free: 29.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6249/3.636, allocations: 116.6 MB / 0.9685 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/3.636, allocations: 193.7 kB / 0.9686 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/10.55, allocations: 0 / 0.9686 GB, free: 101.5 MB / 0.4948 GB 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