Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.299e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6427, allocations: 97.46 MB / 0.4959 GB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.643, allocations: 71.97 kB / 0.496 GB, free: 6.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9749/1.618, allocations: 141.5 MB / 0.6342 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.647e-06/1.618, allocations: 0 / 0.6342 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003785/1.618, allocations: 121.7 kB / 0.6343 GB, free: 113.5 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0277/1.646, allocations: 6.084 MB / 0.6402 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/1.646, allocations: 9.562 kB / 0.6402 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009006/1.655, allocations: 1.385 MB / 0.6416 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05021/1.706, allocations: 6.539 MB / 0.648 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/1.723, allocations: 4.283 MB / 0.6522 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007941/1.723, allocations: 0.5006 MB / 0.6526 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005383/1.729, allocations: 0.6625 MB / 0.6533 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06019/1.789, allocations: 17.92 MB / 0.6708 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004117/1.79, allocations: 35.12 kB / 0.6708 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005345/1.795, allocations: 307 kB / 0.6711 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00475/1.8, allocations: 2.159 MB / 0.6732 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05132/1.851, allocations: 17.03 MB / 0.6899 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1312/1.982, allocations: 61.83 MB / 0.7502 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02369/2.006, allocations: 8.362 MB / 0.7584 GB, free: 39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006107/2.012, allocations: 2.54 MB / 0.7609 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03623/2.049, allocations: 11.84 MB / 0.7725 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/2.049, allocations: 56.56 kB / 0.7725 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=321): time 9.428e-06/2.049, allocations: 0 / 0.7725 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321): time 0.02694/2.076, allocations: 5.782 MB / 0.7782 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/2.076, allocations: 107 kB / 0.7783 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/2.088, allocations: 4.973 MB / 0.7831 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000582/2.089, allocations: 61.69 kB / 0.7832 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004436/2.093, allocations: 5.089 MB / 0.7881 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/2.095, allocations: 1.205 MB / 0.7893 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/2.096, allocations: 176 kB / 0.7895 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008995/2.097, allocations: 0.7186 MB / 0.7902 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01/2.107, allocations: 3.029 MB / 0.7931 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01949/2.127, allocations: 8.339 MB / 0.8013 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01809/2.145, allocations: 5.168 MB / 0.8063 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002438/2.145, allocations: 55.94 kB / 0.8064 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.4238/2.569, allocations: 10.69 MB / 0.8168 GB, free: 110 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/2.569, allocations: 87.41 kB / 0.8169 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00042/2.57, allocations: 188.4 kB / 0.8171 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/2.57, allocations: 278.8 kB / 0.8174 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01403/2.584, allocations: 2.079 MB / 0.8194 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006043/2.585, allocations: 373.6 kB / 0.8197 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/2.596, allocations: 1.295 MB / 0.821 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002271/2.598, allocations: 0.5437 MB / 0.8215 GB, free: 109.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1135): * Single equations (assignments): 1123 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002056/2.6, allocations: 0.7661 MB / 0.8223 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/2.601, allocations: 485 kB / 0.8228 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/2.603, allocations: 0.6616 MB / 0.8234 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001533/2.603, allocations: 58.58 kB / 0.8235 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/2.604, allocations: 0.7031 kB / 0.8235 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/2.604, allocations: 15.53 kB / 0.8235 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/2.642, allocations: 12.59 MB / 0.8358 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/2.642, allocations: 15.72 kB / 0.8358 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/2.646, allocations: 419.8 kB / 0.8362 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.081e-05/2.646, allocations: 24.72 kB / 0.8362 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/2.646, allocations: 63.7 kB / 0.8363 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-05/2.646, allocations: 34.73 kB / 0.8363 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/2.646, allocations: 21.22 kB / 0.8363 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009338/2.656, allocations: 6.547 MB / 0.8427 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/2.658, allocations: 0.5889 MB / 0.8433 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/2.659, allocations: 56.61 kB / 0.8433 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/2.662, allocations: 129.4 kB / 0.8435 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005488/2.663, allocations: 174 kB / 0.8436 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002807/2.663, allocations: 101 kB / 0.8437 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007932/2.671, allocations: 3.407 MB / 0.847 GB, free: 104 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.91e-07/2.671, allocations: 0 / 0.847 GB, free: 104 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01141/2.683, allocations: 1.99 MB / 0.849 GB, free: 103.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01097/2.694, allocations: 10.1 MB / 0.8589 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01638/2.71, allocations: 6.763 MB / 0.8655 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/2.71, allocations: 3.875 kB / 0.8655 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004697/2.715, allocations: 1.953 MB / 0.8674 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005532/2.721, allocations: 0.5738 MB / 0.8679 GB, free: 95.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0553/2.776, allocations: 15.27 MB / 0.8828 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01534/2.791, allocations: 5.582 MB / 0.8883 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01728/2.809, allocations: 3.659 MB / 0.8919 GB, free: 88.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008873/2.818, allocations: 3.323 MB / 0.8951 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of SimCode: time 3.867e-06/2.818, allocations: 0 / 0.8951 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2472/3.065, allocations: 111.8 MB / 1.004 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003791/3.065, allocations: 143.1 kB / 1.004 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.446/9.512, allocations: 4 kB / 1.004 GB, free: 7.305 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat