Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.805/2.805, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.977e-05, allocations: 0 / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4386, allocations: 54.87 MB / 354.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.6412, allocations: 94.6 MB / 449 MB, free: 3.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/0.6416, allocations: 83.94 kB / 449.1 MB, free: 3.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9182/1.56, allocations: 100.8 MB / 0.537 GB, free: 90.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.56, allocations: 3.938 kB / 0.537 GB, free: 90.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004253/1.56, allocations: 91.44 kB / 0.5371 GB, free: 90.66 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.05977/1.62, allocations: 6.368 MB / 0.5433 GB, free: 84.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.62, allocations: 11.97 kB / 0.5433 GB, free: 84.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07225/1.692, allocations: 7.365 MB / 0.5505 GB, free: 76.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09853/1.791, allocations: 18.24 MB / 0.5683 GB, free: 58.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/1.791, allocations: 132.5 kB / 0.5684 GB, free: 58.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002826/1.794, allocations: 271.7 kB / 0.5687 GB, free: 58.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01824/1.813, allocations: 6.193 MB / 0.5747 GB, free: 52.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02709/1.84, allocations: 9.534 MB / 0.5841 GB, free: 41.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004679/1.84, allocations: 83.22 kB / 0.5841 GB, free: 41.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002251/1.842, allocations: 35.98 kB / 0.5842 GB, free: 41.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002946/1.845, allocations: 1.049 MB / 0.5852 GB, free: 40.4 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.08525/1.931, allocations: 49.29 MB / 0.6333 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008585/1.939, allocations: 3.186 MB / 0.6364 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005111/1.945, allocations: 1.898 MB / 0.6383 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/1.945, allocations: 27.62 kB / 0.6383 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.102e-05/1.945, allocations: 75.66 kB / 0.6384 GB, free: 468 kB / 442.7 MB Notification: Performance of pre-optimization done (n=188): time 7.915e-06/1.945, allocations: 4 kB / 0.6384 GB, free: 464 kB / 442.7 MB Notification: Performance of matching and sorting (n=216): time 0.0897/2.035, allocations: 18.8 MB / 0.6568 GB, free: 13.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002242/2.035, allocations: 332.4 kB / 0.6571 GB, free: 12.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/2.048, allocations: 3.975 MB / 0.661 GB, free: 8.918 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007978/2.049, allocations: 25.98 kB / 0.661 GB, free: 8.887 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005136/2.054, allocations: 3.547 MB / 0.6644 GB, free: 5.289 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00224/2.056, allocations: 0.8831 MB / 0.6653 GB, free: 4.395 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/2.058, allocations: 3.938 kB / 0.6653 GB, free: 4.391 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009696/2.059, allocations: 0.6279 MB / 0.6659 GB, free: 3.758 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009149/2.068, allocations: 2.908 MB / 0.6688 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3857/2.454, allocations: 7.319 MB / 0.6759 GB, free: 118.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/2.467, allocations: 4.512 MB / 0.6803 GB, free: 118.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003529/2.467, allocations: 47.19 kB / 0.6804 GB, free: 118.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=970) (initialization): time 0.09882/2.566, allocations: 14.72 MB / 0.6947 GB, free: 117.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/2.566, allocations: 73.72 kB / 0.6948 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07653/2.643, allocations: 8.805 MB / 0.7034 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08532/2.728, allocations: 6.672 MB / 0.7099 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/2.74, allocations: 1.729 MB / 0.7116 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03977/2.78, allocations: 15.23 MB / 0.7265 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01431/2.794, allocations: 0.6464 MB / 0.7271 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/2.797, allocations: 472.7 kB / 0.7276 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.003696/2.801, allocations: 0.4883 MB / 0.728 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03477/2.835, allocations: 6.682 MB / 0.7346 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/2.837, allocations: 430.9 kB / 0.735 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/2.84, allocations: 0.5703 MB / 0.7355 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03174/2.872, allocations: 5.882 MB / 0.7413 GB, free: 98.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-05/2.872, allocations: 8 kB / 0.7413 GB, free: 98.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.383e-05/2.872, allocations: 11.95 kB / 0.7413 GB, free: 98.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03957/2.912, allocations: 9.853 MB / 0.7509 GB, free: 88.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.076e-05/2.912, allocations: 4 kB / 0.7509 GB, free: 88.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007804/2.92, allocations: 443.3 kB / 0.7513 GB, free: 88.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03117/2.951, allocations: 3.534 MB / 0.7548 GB, free: 84.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008473/2.952, allocations: 63.91 kB / 0.7549 GB, free: 84.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02466/2.977, allocations: 13.39 MB / 0.7679 GB, free: 70.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005045/2.982, allocations: 5.61 MB / 0.7734 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04022/3.022, allocations: 10.45 MB / 0.7836 GB, free: 53.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/3.024, allocations: 0.4966 MB / 0.7841 GB, free: 53.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/3.026, allocations: 43.97 kB / 0.7841 GB, free: 53.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007533/3.034, allocations: 318.4 kB / 0.7844 GB, free: 53.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/3.035, allocations: 179.6 kB / 0.7846 GB, free: 52.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004981/3.036, allocations: 73.23 kB / 0.7847 GB, free: 52.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007444/3.043, allocations: 2.714 MB / 0.7873 GB, free: 50.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.001e-06/3.043, allocations: 0 / 0.7873 GB, free: 50.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01215/3.055, allocations: 1.547 MB / 0.7888 GB, free: 48.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET8103272843.x[3],$STATESET8103272843.x[2],$STATESET8103272843.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],$STATESET8103272842.x[3],$STATESET8103272842.x[2],$STATESET8103272842.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],$STATESET8103272841.x[3],$STATESET8103272841.x[2],$STATESET8103272841.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],$STATESET8103272840.x[3],$STATESET8103272840.x[2],$STATESET8103272840.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.04071/3.096, allocations: 11.79 MB / 0.8004 GB, free: 36.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02815/3.124, allocations: 8.792 MB / 0.8089 GB, free: 27.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/3.125, allocations: 4 kB / 0.8089 GB, free: 27.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0163/3.141, allocations: 4.532 MB / 0.8134 GB, free: 22.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006352/3.147, allocations: 0.5542 MB / 0.8139 GB, free: 22.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04307/3.19, allocations: 13.74 MB / 0.8273 GB, free: 8.789 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008752/3.199, allocations: 3.795 MB / 0.831 GB, free: 4.988 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01287/3.212, allocations: 2.294 MB / 0.8333 GB, free: 2.711 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006501/3.219, allocations: 2.276 MB / 0.8355 GB, free: 444 kB / 474.7 MB Notification: Performance of SimCode: time 1.843e-06/3.219, allocations: 0 / 0.8355 GB, free: 444 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8147/4.033, allocations: 110.6 MB / 0.9435 GB, free: 73.28 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002468/4.034, allocations: 158.8 kB / 0.9436 GB, free: 73.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.166/11.2, allocations: 0 / 0.9436 GB, free: 73.09 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat