Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.536/2.536, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.083e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5586/0.7078, allocations: 103.4 MB / 0.5017 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.7081, allocations: 71.97 kB / 0.5018 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4628/1.171, allocations: 103.9 MB / 0.6033 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/1.171, allocations: 0 / 0.6033 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000564/1.172, allocations: 84 kB / 0.6033 GB, free: 7.988 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.05993/1.232, allocations: 6.36 MB / 0.6095 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/1.232, allocations: 12.03 kB / 0.6096 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004161/1.236, allocations: 0.7894 MB / 0.6103 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4529/1.689, allocations: 7.354 MB / 0.6175 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07267/1.761, allocations: 17.75 MB / 0.6348 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005449/1.762, allocations: 312.1 kB / 0.6351 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002892/1.765, allocations: 447.7 kB / 0.6356 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0299/1.795, allocations: 10.46 MB / 0.6458 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003882/1.795, allocations: 78.92 kB / 0.6459 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001768/1.797, allocations: 206.6 kB / 0.6461 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002606/1.8, allocations: 1.056 MB / 0.6471 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02634/1.826, allocations: 8.881 MB / 0.6558 GB, free: 112.6 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.1596/1.986, allocations: 51.23 MB / 0.7058 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/2.005, allocations: 3.811 MB / 0.7095 GB, free: 72.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004058/2.009, allocations: 1.954 MB / 0.7114 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/2.009, allocations: 30.84 kB / 0.7115 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/2.009, allocations: 53.14 kB / 0.7115 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=188): time 6.322e-06/2.009, allocations: 3.562 kB / 0.7115 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=216): time 0.0737/2.083, allocations: 18.96 MB / 0.73 GB, free: 60.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004328/2.087, allocations: 6.169 MB / 0.736 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008332/2.096, allocations: 4.376 MB / 0.7403 GB, free: 50.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00069/2.097, allocations: 53.8 kB / 0.7404 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00286/2.099, allocations: 3.505 MB / 0.7438 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/2.101, allocations: 0.9123 MB / 0.7447 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/2.102, allocations: 143.9 kB / 0.7448 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004278/2.103, allocations: 0.6121 MB / 0.7454 GB, free: 45.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007033/2.11, allocations: 3.009 MB / 0.7484 GB, free: 43.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009572/2.119, allocations: 7.303 MB / 0.7555 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009639/2.129, allocations: 4.608 MB / 0.76 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/2.129, allocations: 44 kB / 0.76 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.08046/2.21, allocations: 15.16 MB / 0.7748 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/2.21, allocations: 71.95 kB / 0.7749 GB, free: 16.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06659/2.276, allocations: 8.912 MB / 0.7836 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06883/2.345, allocations: 6.731 MB / 0.7902 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/2.356, allocations: 1.692 MB / 0.7918 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4258/2.782, allocations: 15.68 MB / 0.8071 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01883/2.801, allocations: 0.7784 MB / 0.8079 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002382/2.803, allocations: 457.3 kB / 0.8083 GB, free: 108.7 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.002663/2.806, allocations: 0.6565 MB / 0.809 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.808, allocations: 451.7 kB / 0.8094 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/2.81, allocations: 0.6146 MB / 0.81 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03017/2.84, allocations: 5.974 MB / 0.8158 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.901e-05/2.841, allocations: 11.77 kB / 0.8159 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.715e-05/2.841, allocations: 12.53 kB / 0.8159 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03617/2.877, allocations: 10.39 MB / 0.826 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/2.877, allocations: 10.2 kB / 0.826 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004672/2.882, allocations: 446.7 kB / 0.8264 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02459/2.906, allocations: 3.595 MB / 0.83 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008422/2.907, allocations: 87.58 kB / 0.83 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.928, allocations: 13.59 MB / 0.8433 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004298/2.933, allocations: 5.85 MB / 0.849 GB, free: 94.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03438/2.967, allocations: 10.64 MB / 0.8594 GB, free: 92.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/2.969, allocations: 0.528 MB / 0.8599 GB, free: 92.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/2.97, allocations: 69.48 kB / 0.86 GB, free: 92.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008034/2.978, allocations: 337.8 kB / 0.8603 GB, free: 92.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/2.98, allocations: 184.6 kB / 0.8605 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003598/2.98, allocations: 74.67 kB / 0.8606 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008158/2.988, allocations: 3.085 MB / 0.8636 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.102e-06/2.988, allocations: 0 / 0.8636 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01116/2.999, allocations: 1.627 MB / 0.8652 GB, free: 91.39 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.04306/3.043, allocations: 11.98 MB / 0.8769 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03442/3.077, allocations: 8.891 MB / 0.8856 GB, free: 82.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/3.077, allocations: 3.281 kB / 0.8856 GB, free: 82.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01985/3.097, allocations: 4.588 MB / 0.89 GB, free: 80.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00842/3.105, allocations: 0.6351 MB / 0.8907 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06471/3.17, allocations: 13.97 MB / 0.9043 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/3.182, allocations: 3.784 MB / 0.908 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01373/3.196, allocations: 2.258 MB / 0.9102 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005847/3.202, allocations: 2.28 MB / 0.9124 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.794e-06/3.202, allocations: 0 / 0.9124 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.656/3.858, allocations: 116.2 MB / 1.026 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/3.858, allocations: 198.2 kB / 1.026 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/10.88, allocations: 3.938 kB / 1.026 GB, free: 119.1 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat