Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.706/2.706, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.685e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4896, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.6865, allocations: 101.5 MB / 483.8 MB, free: 6.973 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.6868, allocations: 75.97 kB / 483.9 MB, free: 6.898 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.833/1.52, allocations: 102.8 MB / 0.573 GB, free: 103 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.917e-06/1.52, allocations: 8 kB / 0.573 GB, free: 103 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003883/1.52, allocations: 88 kB / 0.5731 GB, free: 102.9 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1498 * Number of variables: 1498 Notification: Performance of Generate backend data structure: time 0.05464/1.575, allocations: 6.38 MB / 0.5793 GB, free: 96.49 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.575, allocations: 8.031 kB / 0.5793 GB, free: 96.48 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004129/1.579, allocations: 0.7967 MB / 0.5801 GB, free: 95.71 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08963/1.669, allocations: 7.357 MB / 0.5873 GB, free: 88.33 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07552/1.744, allocations: 18.34 MB / 0.6052 GB, free: 70.04 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000478/1.745, allocations: 308.1 kB / 0.6055 GB, free: 69.74 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003008/1.748, allocations: 443.6 kB / 0.6059 GB, free: 69.3 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03025/1.778, allocations: 10.46 MB / 0.6161 GB, free: 57.75 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000426/1.779, allocations: 87.3 kB / 0.6162 GB, free: 57.66 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00174/1.781, allocations: 207.9 kB / 0.6164 GB, free: 57.46 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002592/1.783, allocations: 1.057 MB / 0.6174 GB, free: 56.39 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/1.809, allocations: 8.886 MB / 0.6261 GB, free: 47.5 MB / 458.8 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.08148/1.891, allocations: 51.32 MB / 0.6762 GB, free: 10.54 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/1.906, allocations: 3.799 MB / 0.6799 GB, free: 6.551 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005011/1.911, allocations: 1.952 MB / 0.6818 GB, free: 4.574 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/1.911, allocations: 28.16 kB / 0.6818 GB, free: 4.547 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.935e-05/1.911, allocations: 58.73 kB / 0.6819 GB, free: 4.48 MB / 474.8 MB Notification: Performance of pre-optimization done (n=188): time 6.192e-06/1.911, allocations: 0 / 0.6819 GB, free: 4.48 MB / 474.8 MB Notification: Performance of matching and sorting (n=216): time 0.09483/2.006, allocations: 19.26 MB / 0.7007 GB, free: 0.8516 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006943/2.013, allocations: 6.17 MB / 0.7067 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01422/2.027, allocations: 4.48 MB / 0.7111 GB, free: 5.562 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007703/2.028, allocations: 61.69 kB / 0.7112 GB, free: 5.496 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004812/2.033, allocations: 3.515 MB / 0.7146 GB, free: 1.934 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002134/2.035, allocations: 0.9103 MB / 0.7155 GB, free: 1.012 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/2.036, allocations: 136 kB / 0.7156 GB, free: 0.8789 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006575/2.037, allocations: 0.6119 MB / 0.7162 GB, free: 268 kB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4035/2.441, allocations: 3.011 MB / 0.7192 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/2.453, allocations: 7.296 MB / 0.7263 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/2.464, allocations: 4.608 MB / 0.7308 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001887/2.464, allocations: 43.97 kB / 0.7308 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.08503/2.549, allocations: 15.17 MB / 0.7456 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/2.549, allocations: 72.16 kB / 0.7457 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06449/2.614, allocations: 8.907 MB / 0.7544 GB, free: 126.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06983/2.684, allocations: 6.73 MB / 0.761 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/2.694, allocations: 1.69 MB / 0.7626 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03564/2.73, allocations: 15.69 MB / 0.778 GB, free: 114.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/2.743, allocations: 0.7851 MB / 0.7787 GB, free: 114.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/2.745, allocations: 460.7 kB / 0.7792 GB, free: 114 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (873): * Single equations (assignments): 848 * 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.003484/2.749, allocations: 0.6538 MB / 0.7798 GB, free: 113.4 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/2.751, allocations: 460.7 kB / 0.7802 GB, free: 113.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/2.753, allocations: 0.61 MB / 0.7808 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02785/2.781, allocations: 5.979 MB / 0.7867 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-05/2.781, allocations: 8 kB / 0.7867 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.187e-05/2.781, allocations: 15.2 kB / 0.7867 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03469/2.816, allocations: 10.43 MB / 0.7969 GB, free: 98.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-05/2.816, allocations: 4 kB / 0.7969 GB, free: 98.93 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004529/2.821, allocations: 443.4 kB / 0.7973 GB, free: 98.49 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02419/2.845, allocations: 3.596 MB / 0.8008 GB, free: 94.85 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008659/2.846, allocations: 79.92 kB / 0.8009 GB, free: 94.77 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/2.867, allocations: 13.6 MB / 0.8142 GB, free: 80.49 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004327/2.871, allocations: 5.861 MB / 0.8199 GB, free: 74.12 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03583/2.907, allocations: 10.64 MB / 0.8303 GB, free: 63.48 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/2.909, allocations: 0.5441 MB / 0.8308 GB, free: 62.92 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002253/2.912, allocations: 66.22 kB / 0.8309 GB, free: 62.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007247/2.919, allocations: 343.4 kB / 0.8312 GB, free: 62.52 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001612/2.921, allocations: 191.4 kB / 0.8314 GB, free: 62.33 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009849/2.922, allocations: 75.06 kB / 0.8315 GB, free: 62.26 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01478/2.936, allocations: 3.162 MB / 0.8346 GB, free: 59.11 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.024e-06/2.937, allocations: 4 kB / 0.8346 GB, free: 59.11 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01817/2.955, allocations: 1.626 MB / 0.8361 GB, free: 57.49 MB / 0.4949 GB 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.05891/3.014, allocations: 11.99 MB / 0.8479 GB, free: 45.36 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.04175/3.056, allocations: 8.893 MB / 0.8565 GB, free: 36.27 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/3.056, allocations: 4 kB / 0.8565 GB, free: 36.27 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02402/3.08, allocations: 4.571 MB / 0.861 GB, free: 31.46 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009802/3.09, allocations: 0.6309 MB / 0.8616 GB, free: 30.85 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06319/3.153, allocations: 14.05 MB / 0.8753 GB, free: 16.97 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01265/3.166, allocations: 3.789 MB / 0.879 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01095/3.177, allocations: 2.276 MB / 0.8813 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005409/3.182, allocations: 2.288 MB / 0.8835 GB, free: 8.621 MB / 0.4949 GB Notification: Performance of SimCode: time 1.633e-06/3.182, allocations: 0 / 0.8835 GB, free: 8.621 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6676/3.85, allocations: 117 MB / 0.9977 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/3.85, allocations: 197.5 kB / 0.9979 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/11.06, allocations: 0 / 0.9979 GB, free: 84.73 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat