Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.594/2.594, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.402e-05/4.425e-05, allocations: 5.969 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1536, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5542/0.7079, allocations: 103.4 MB / 0.5017 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.7082, allocations: 72.94 kB / 0.5018 GB, free: 460 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.451/1.159, allocations: 103.9 MB / 0.6032 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.255e-06/1.159, allocations: 0 / 0.6032 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004294/1.16, allocations: 87.98 kB / 0.6033 GB, free: 7.883 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: 1498 * Number of variables: 1498 Notification: Performance of Generate backend data structure: time 0.05762/1.217, allocations: 6.36 MB / 0.6095 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.217, allocations: 8.031 kB / 0.6095 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004409/1.222, allocations: 0.7855 MB / 0.6103 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.442/1.664, allocations: 7.36 MB / 0.6175 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08625/1.75, allocations: 17.75 MB / 0.6348 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005558/1.751, allocations: 311.3 kB / 0.6351 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/1.754, allocations: 444.5 kB / 0.6356 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02914/1.783, allocations: 10.46 MB / 0.6458 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003859/1.783, allocations: 85.95 kB / 0.6459 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/1.785, allocations: 201.6 kB / 0.6461 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002646/1.788, allocations: 1.06 MB / 0.6471 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02463/1.812, allocations: 8.886 MB / 0.6558 GB, free: 112.4 MB / 0.5105 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.07502/1.888, allocations: 51.22 MB / 0.7058 GB, free: 74.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/1.901, allocations: 3.806 MB / 0.7095 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004045/1.905, allocations: 1.957 MB / 0.7114 GB, free: 71.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/1.906, allocations: 26.47 kB / 0.7114 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/1.906, allocations: 61.77 kB / 0.7115 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=188): time 5.941e-06/1.906, allocations: 0 / 0.7115 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=216): time 0.06961/1.975, allocations: 18.95 MB / 0.73 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005571/1.981, allocations: 6.162 MB / 0.736 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0173/1.998, allocations: 4.379 MB / 0.7403 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008175/1.999, allocations: 57.53 kB / 0.7404 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004481/2.004, allocations: 3.502 MB / 0.7438 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.01027/2.014, allocations: 0.9122 MB / 0.7447 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/2.016, allocations: 144 kB / 0.7448 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007425/2.016, allocations: 0.6108 MB / 0.7454 GB, free: 45.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01879/2.035, allocations: 3.015 MB / 0.7483 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02641/2.062, allocations: 7.303 MB / 0.7555 GB, free: 33.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/2.074, allocations: 4.614 MB / 0.76 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/2.075, allocations: 44 kB / 0.76 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.08165/2.156, allocations: 15.15 MB / 0.7748 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/2.156, allocations: 76.95 kB / 0.7749 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06297/2.219, allocations: 8.912 MB / 0.7836 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06992/2.289, allocations: 6.731 MB / 0.7902 GB, free: 64 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/2.3, allocations: 1.688 MB / 0.7918 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4307/2.731, allocations: 15.69 MB / 0.8071 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01313/2.744, allocations: 0.7773 MB / 0.8079 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00225/2.747, allocations: 457.3 kB / 0.8083 GB, free: 108.3 MB / 0.5261 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.003073/2.75, allocations: 0.6485 MB / 0.809 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/2.751, allocations: 455.5 kB / 0.8094 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/2.754, allocations: 0.6111 MB / 0.81 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03018/2.784, allocations: 5.977 MB / 0.8158 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-05/2.785, allocations: 8.219 kB / 0.8158 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.365e-05/2.785, allocations: 19.59 kB / 0.8159 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03459/2.819, allocations: 10.4 MB / 0.826 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/2.819, allocations: 4.406 kB / 0.826 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/2.824, allocations: 440.6 kB / 0.8264 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02419/2.848, allocations: 3.595 MB / 0.83 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009608/2.849, allocations: 91.27 kB / 0.83 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/2.87, allocations: 13.6 MB / 0.8433 GB, free: 99.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004473/2.875, allocations: 5.842 MB / 0.849 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0412/2.916, allocations: 10.65 MB / 0.8594 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/2.919, allocations: 0.52 MB / 0.8599 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/2.921, allocations: 72.77 kB / 0.86 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009119/2.93, allocations: 336.6 kB / 0.8603 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001412/2.932, allocations: 184.5 kB / 0.8605 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004586/2.932, allocations: 72.52 kB / 0.8606 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01089/2.943, allocations: 3.088 MB / 0.8636 GB, free: 91.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.152e-06/2.943, allocations: 0 / 0.8636 GB, free: 91.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01612/2.959, allocations: 1.626 MB / 0.8652 GB, free: 91.23 MB / 0.5261 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.04137/3.001, allocations: 11.98 MB / 0.8769 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02423/3.025, allocations: 8.903 MB / 0.8856 GB, free: 82.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/3.025, allocations: 3.75 kB / 0.8856 GB, free: 82.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01444/3.04, allocations: 4.568 MB / 0.89 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006098/3.046, allocations: 0.6376 MB / 0.8907 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/3.083, allocations: 13.96 MB / 0.9043 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006245/3.089, allocations: 3.788 MB / 0.908 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009761/3.099, allocations: 2.265 MB / 0.9102 GB, free: 72.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004882/3.104, allocations: 2.275 MB / 0.9124 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.503e-06/3.104, allocations: 0 / 0.9124 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7224/3.826, allocations: 116.2 MB / 1.026 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/3.827, allocations: 199.7 kB / 1.026 GB, free: 118.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/10.93, allocations: 3.938 kB / 1.026 GB, free: 118.9 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat