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.614/2.614, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.043e-05/5.062e-05, allocations: 7.984 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4617, allocations: 54.84 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.6475, allocations: 95.28 MB / 455.1 MB, free: 1.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6479, allocations: 78.23 kB / 455.2 MB, free: 1.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8385/1.486, allocations: 102.4 MB / 0.5445 GB, free: 103.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.486, allocations: 3.969 kB / 0.5445 GB, free: 103.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004887/1.487, allocations: 91.97 kB / 0.5446 GB, free: 103.3 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.05633/1.543, allocations: 6.373 MB / 0.5508 GB, free: 101.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/1.543, allocations: 7.75 kB / 0.5508 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004747/1.548, allocations: 0.7896 MB / 0.5516 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05879/1.607, allocations: 7.365 MB / 0.5588 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07217/1.679, allocations: 18.23 MB / 0.5766 GB, free: 99.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005265/1.68, allocations: 315.8 kB / 0.5769 GB, free: 99.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003254/1.683, allocations: 436.5 kB / 0.5773 GB, free: 99.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03219/1.715, allocations: 10.5 MB / 0.5876 GB, free: 93.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004431/1.716, allocations: 83.94 kB / 0.5877 GB, free: 93.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002271/1.718, allocations: 201.7 kB / 0.5878 GB, free: 93.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002798/1.721, allocations: 1.049 MB / 0.5889 GB, free: 93.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0267/1.748, allocations: 9.072 MB / 0.5977 GB, free: 88.35 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.09804/1.846, allocations: 51.22 MB / 0.6477 GB, free: 35.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/1.866, allocations: 3.821 MB / 0.6515 GB, free: 31.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004452/1.87, allocations: 1.953 MB / 0.6534 GB, free: 29.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/1.871, allocations: 28.02 kB / 0.6534 GB, free: 29.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/1.871, allocations: 62.78 kB / 0.6535 GB, free: 29.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=188): time 6.573e-06/1.871, allocations: 0 / 0.6535 GB, free: 29.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=216): time 0.1127/1.983, allocations: 19.23 MB / 0.6723 GB, free: 10.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008342/1.992, allocations: 6.177 MB / 0.6783 GB, free: 3.324 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/2.005, allocations: 4.455 MB / 0.6826 GB, free: 14.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008766/2.006, allocations: 57.14 kB / 0.6827 GB, free: 14.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00542/2.011, allocations: 3.5 MB / 0.6861 GB, free: 11.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002262/2.014, allocations: 0.9115 MB / 0.687 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/2.015, allocations: 140 kB / 0.6871 GB, free: 10.28 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001074/2.017, allocations: 0.6118 MB / 0.6877 GB, free: 9.664 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009512/2.026, allocations: 3.009 MB / 0.6907 GB, free: 6.652 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01439/2.041, allocations: 7.324 MB / 0.6978 GB, free: 13.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/2.059, allocations: 4.588 MB / 0.7023 GB, free: 8.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000239/2.059, allocations: 48 kB / 0.7023 GB, free: 8.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.4628/2.522, allocations: 15.56 MB / 0.7175 GB, free: 110.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/2.522, allocations: 71.75 kB / 0.7176 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08454/2.607, allocations: 8.915 MB / 0.7263 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09987/2.707, allocations: 6.729 MB / 0.7329 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01562/2.722, allocations: 1.692 MB / 0.7345 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03673/2.759, allocations: 15.7 MB / 0.7499 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/2.772, allocations: 0.7897 MB / 0.7506 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/2.774, allocations: 453.8 kB / 0.7511 GB, free: 102.7 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.003537/2.778, allocations: 0.6544 MB / 0.7517 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/2.78, allocations: 451.8 kB / 0.7521 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/2.783, allocations: 0.6127 MB / 0.7527 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02795/2.811, allocations: 5.98 MB / 0.7586 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.448e-05/2.811, allocations: 6.531 kB / 0.7586 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.785e-05/2.811, allocations: 12.92 kB / 0.7586 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03513/2.846, allocations: 10.42 MB / 0.7688 GB, free: 98.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.861e-05/2.846, allocations: 3.781 kB / 0.7688 GB, free: 98.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004415/2.85, allocations: 443.8 kB / 0.7692 GB, free: 98.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02383/2.874, allocations: 3.593 MB / 0.7727 GB, free: 98.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000849/2.875, allocations: 93.11 kB / 0.7728 GB, free: 98.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/2.896, allocations: 13.6 MB / 0.7861 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004627/2.901, allocations: 5.862 MB / 0.7918 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03619/2.937, allocations: 10.65 MB / 0.8022 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/2.94, allocations: 0.5394 MB / 0.8027 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002327/2.942, allocations: 71.5 kB / 0.8028 GB, free: 78.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007076/2.949, allocations: 336 kB / 0.8031 GB, free: 78.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/2.95, allocations: 188.6 kB / 0.8033 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005549/2.951, allocations: 72.45 kB / 0.8034 GB, free: 78.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009306/2.96, allocations: 3.145 MB / 0.8064 GB, free: 77.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.552e-06/2.96, allocations: 0 / 0.8064 GB, free: 77.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01102/2.971, allocations: 1.63 MB / 0.808 GB, free: 76.63 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.03688/3.008, allocations: 11.97 MB / 0.8197 GB, free: 64.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02625/3.035, allocations: 9.138 MB / 0.8286 GB, free: 55.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/3.035, allocations: 3.938 kB / 0.8287 GB, free: 55.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0161/3.051, allocations: 4.627 MB / 0.8332 GB, free: 50.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008334/3.059, allocations: 0.6291 MB / 0.8338 GB, free: 50.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0427/3.102, allocations: 14.04 MB / 0.8475 GB, free: 36.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008878/3.111, allocations: 3.785 MB / 0.8512 GB, free: 32.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01121/3.122, allocations: 2.263 MB / 0.8534 GB, free: 30.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006137/3.128, allocations: 2.288 MB / 0.8556 GB, free: 28.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/3.128, allocations: 0 / 0.8556 GB, free: 28.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7164/3.845, allocations: 117.3 MB / 0.9702 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/3.845, allocations: 194.8 kB / 0.9703 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/10.86, allocations: 0 / 0.9703 GB, free: 99.82 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