Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.095e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5475/0.682, allocations: 109.4 MB / 0.5076 GB, free: 10.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.6823, allocations: 79.95 kB / 0.5077 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3521/1.034, allocations: 74.2 MB / 0.5801 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.475e-06/1.035, allocations: 0 / 0.5801 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002418/1.035, allocations: 68 kB / 0.5802 GB, free: 15.71 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01376/1.049, allocations: 3.396 MB / 0.5835 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.049, allocations: 8.031 kB / 0.5835 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002978/1.052, allocations: 0.6471 MB / 0.5842 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/1.068, allocations: 2.085 MB / 0.5862 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/1.086, allocations: 3.936 MB / 0.59 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/1.086, allocations: 266.9 kB / 0.5903 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/1.088, allocations: 351.8 kB / 0.5906 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/1.116, allocations: 8.892 MB / 0.5993 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002446/1.116, allocations: 63.41 kB / 0.5994 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/1.117, allocations: 175.9 kB / 0.5995 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002311/1.12, allocations: 0.88 MB / 0.6004 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/1.143, allocations: 6.998 MB / 0.6072 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4626/1.606, allocations: 42.94 MB / 0.6492 GB, free: 95.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/1.62, allocations: 3.262 MB / 0.6524 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003494/1.624, allocations: 1.438 MB / 0.6538 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01517/1.639, allocations: 4.433 MB / 0.6581 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/1.639, allocations: 47.25 kB / 0.6581 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 6.963e-06/1.639, allocations: 0 / 0.6581 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.05402/1.693, allocations: 9.589 MB / 0.6675 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/1.693, allocations: 168.7 kB / 0.6677 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008524/1.702, allocations: 3.297 MB / 0.6709 GB, free: 89.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003823/1.702, allocations: 40.05 kB / 0.6709 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002774/1.705, allocations: 2.762 MB / 0.6736 GB, free: 87.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009109/1.706, allocations: 0.5166 MB / 0.6741 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007915/1.707, allocations: 107.1 kB / 0.6742 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000582/1.707, allocations: 0.5306 MB / 0.6747 GB, free: 86.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00453/1.712, allocations: 1.64 MB / 0.6763 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006802/1.719, allocations: 5.035 MB / 0.6813 GB, free: 81.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006354/1.725, allocations: 2.861 MB / 0.684 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001344/1.726, allocations: 38.75 kB / 0.6841 GB, free: 80.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0171/1.743, allocations: 6.271 MB / 0.6902 GB, free: 78.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.743, allocations: 60 kB / 0.6903 GB, free: 78.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/1.743, allocations: 119.9 kB / 0.6904 GB, free: 78.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.744, allocations: 331.3 kB / 0.6907 GB, free: 78.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00804/1.752, allocations: 1.285 MB / 0.692 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/1.756, allocations: 2.3 MB / 0.6942 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006131/1.762, allocations: 292.2 kB / 0.6945 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.763, allocations: 335.8 kB / 0.6948 GB, free: 76.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (666): * Single equations (assignments): 662 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001788/1.765, allocations: 0.5266 MB / 0.6953 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008533/1.766, allocations: 308.2 kB / 0.6956 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008014/1.774, allocations: 2.344 MB / 0.6979 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/1.774, allocations: 14.66 kB / 0.6979 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.774, allocations: 3.969 kB / 0.6979 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.806e-05/1.774, allocations: 14.25 kB / 0.6979 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/1.794, allocations: 5.935 MB / 0.7037 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/1.794, allocations: 0 / 0.7037 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.795, allocations: 173.6 kB / 0.7039 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003911/1.799, allocations: 0.7144 MB / 0.7046 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/1.8, allocations: 23.75 kB / 0.7046 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008789/1.809, allocations: 4.439 MB / 0.7089 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.809, allocations: 1.312 kB / 0.7089 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.82, allocations: 4.413 MB / 0.7133 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.821, allocations: 384.9 kB / 0.7136 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007913/1.822, allocations: 27.67 kB / 0.7136 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.824, allocations: 77.09 kB / 0.7137 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/1.824, allocations: 62.81 kB / 0.7138 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.825, allocations: 30.56 kB / 0.7138 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00545/1.83, allocations: 2.283 MB / 0.716 GB, free: 67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.21e-07/1.83, allocations: 7.812 kB / 0.716 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006598/1.837, allocations: 0.8284 MB / 0.7169 GB, free: 66.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/1.848, allocations: 5.346 MB / 0.7221 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00852/1.857, allocations: 3.786 MB / 0.7258 GB, free: 60 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.857, allocations: 0 / 0.7258 GB, free: 60 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/1.859, allocations: 1.079 MB / 0.7268 GB, free: 59.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/1.863, allocations: 363.9 kB / 0.7272 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.887, allocations: 7.026 MB / 0.734 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005077/1.892, allocations: 2.855 MB / 0.7368 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007338/1.899, allocations: 1.664 MB / 0.7384 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003652/1.903, allocations: 1.525 MB / 0.7399 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/1.903, allocations: 0 / 0.7399 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1596/2.062, allocations: 64.78 MB / 0.8032 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/2.063, allocations: 176.9 kB / 0.8034 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.416/7.479, allocations: 11.88 kB / 0.8034 GB, free: 3.434 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat