Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.115e-05/4.129e-05, allocations: 7.938 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5301/0.6671, allocations: 103.7 MB / 0.502 GB, free: 292 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.6675, allocations: 71.97 kB / 0.5021 GB, free: 220 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3862/1.054, allocations: 85.98 MB / 0.586 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.775e-06/1.054, allocations: 7.938 kB / 0.5861 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001914/1.054, allocations: 64 kB / 0.5861 GB, free: 9.488 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01456/1.069, allocations: 3.592 MB / 0.5896 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.069, allocations: 8.031 kB / 0.5896 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00354/1.072, allocations: 0.7667 MB / 0.5904 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/1.1, allocations: 3.485 MB / 0.5938 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02182/1.122, allocations: 3.991 MB / 0.5977 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004984/1.122, allocations: 295.4 kB / 0.598 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002688/1.125, allocations: 375.8 kB / 0.5983 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03399/1.159, allocations: 10 MB / 0.6081 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002105/1.159, allocations: 23.81 kB / 0.6081 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002424/1.162, allocations: 175.9 kB / 0.6083 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002933/1.165, allocations: 1.176 MB / 0.6094 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3898/1.554, allocations: 9.668 MB / 0.6189 GB, free: 127 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07639/1.631, allocations: 34.71 MB / 0.6528 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.645, allocations: 4.911 MB / 0.6576 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004755/1.65, allocations: 2.276 MB / 0.6598 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/1.653, allocations: 1.872 MB / 0.6616 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/1.653, allocations: 54.62 kB / 0.6617 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 6.683e-06/1.653, allocations: 0 / 0.6617 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.04221/1.695, allocations: 11.17 MB / 0.6726 GB, free: 104 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/1.695, allocations: 72.12 kB / 0.6726 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/1.7, allocations: 2.332 MB / 0.6749 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005137/1.7, allocations: 53.28 kB / 0.675 GB, free: 103 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001829/1.702, allocations: 2.643 MB / 0.6775 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/1.703, allocations: 0.852 MB / 0.6784 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004198/1.704, allocations: 101.9 kB / 0.6785 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003119/1.704, allocations: 0.5299 MB / 0.679 GB, free: 100 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004532/1.709, allocations: 2.134 MB / 0.6811 GB, free: 99.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006644/1.715, allocations: 4.952 MB / 0.6859 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007127/1.722, allocations: 3.287 MB / 0.6891 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.515e-05/1.723, allocations: 29.72 kB / 0.6891 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.02091/1.744, allocations: 7.458 MB / 0.6964 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/1.744, allocations: 48.66 kB / 0.6965 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/1.744, allocations: 104.3 kB / 0.6966 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004086/1.748, allocations: 0.8029 MB / 0.6974 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007752/1.756, allocations: 1.179 MB / 0.6985 GB, free: 90.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008799/1.765, allocations: 4.136 MB / 0.7026 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00573/1.77, allocations: 285.9 kB / 0.7028 GB, free: 87.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/1.772, allocations: 307.7 kB / 0.7031 GB, free: 86.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 623 * Array equations: 6 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001682/1.773, allocations: 491.1 kB / 0.7036 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006939/1.774, allocations: 263.5 kB / 0.7038 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.788, allocations: 4.664 MB / 0.7084 GB, free: 82.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001171/1.788, allocations: 44.45 kB / 0.7084 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.788, allocations: 4 kB / 0.7084 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/1.788, allocations: 13.73 kB / 0.7085 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02974/1.818, allocations: 10.49 MB / 0.7187 GB, free: 73.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/1.818, allocations: 7.938 kB / 0.7187 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0033/1.821, allocations: 365.1 kB / 0.7191 GB, free: 73.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/1.825, allocations: 0.6472 MB / 0.7197 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005582/1.825, allocations: 49.05 kB / 0.7197 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007182/1.833, allocations: 3.593 MB / 0.7232 GB, free: 69.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.833, allocations: 11.94 kB / 0.7233 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/1.85, allocations: 7.602 MB / 0.7307 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/1.851, allocations: 308.3 kB / 0.731 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/1.852, allocations: 42.58 kB / 0.731 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/1.855, allocations: 133.7 kB / 0.7311 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007469/1.856, allocations: 141.5 kB / 0.7313 GB, free: 62.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/1.856, allocations: 63.56 kB / 0.7313 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004102/1.861, allocations: 1.578 MB / 0.7329 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.273e-06/1.861, allocations: 0 / 0.7329 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006814/1.867, allocations: 0.9422 MB / 0.7338 GB, free: 59.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 6 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01845/1.886, allocations: 10.04 MB / 0.7436 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.898, allocations: 5.091 MB / 0.7486 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/1.898, allocations: 4.938 kB / 0.7486 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00454/1.903, allocations: 1.976 MB / 0.7505 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/1.905, allocations: 321.9 kB / 0.7508 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/1.934, allocations: 9.156 MB / 0.7598 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007039/1.941, allocations: 3.256 MB / 0.7629 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008577/1.95, allocations: 1.957 MB / 0.7649 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004731/1.955, allocations: 1.698 MB / 0.7665 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of SimCode: time 3.607e-06/1.955, allocations: 0 / 0.7665 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5452/2.5, allocations: 64.16 MB / 0.8292 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/2.5, allocations: 160.1 kB / 0.8293 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.026/7.526, allocations: 3.938 kB / 0.8293 GB, free: 127.6 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat