Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.511/2.511, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.45e-05/4.469e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4478, allocations: 54.85 MB / 359.9 MB, free: 2.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.641, allocations: 100.2 MB / 460 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.6414, allocations: 71.97 kB / 460.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3705/1.012, allocations: 71.81 MB / 0.5195 GB, free: 4.309 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.012, allocations: 4 kB / 0.5195 GB, free: 4.305 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002551/1.012, allocations: 71.98 kB / 0.5195 GB, free: 4.234 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01343/1.026, allocations: 3.348 MB / 0.5228 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.026, allocations: 16.03 kB / 0.5228 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002949/1.029, allocations: 0.6349 MB / 0.5234 GB, free: 172 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3643/1.393, allocations: 2.081 MB / 0.5255 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/1.409, allocations: 4.061 MB / 0.5294 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/1.41, allocations: 260.4 kB / 0.5297 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/1.412, allocations: 346.2 kB / 0.53 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/1.438, allocations: 8.761 MB / 0.5386 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/1.438, allocations: 61.34 kB / 0.5386 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/1.439, allocations: 170.3 kB / 0.5388 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002179/1.441, allocations: 0.87 MB / 0.5396 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02272/1.464, allocations: 6.892 MB / 0.5464 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05486/1.519, allocations: 42.6 MB / 0.588 GB, free: 71.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.531, allocations: 3.143 MB / 0.591 GB, free: 70.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/1.533, allocations: 1.411 MB / 0.5924 GB, free: 69.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008839/1.542, allocations: 4.088 MB / 0.5964 GB, free: 67.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/1.542, allocations: 46.03 kB / 0.5965 GB, free: 67.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 5.099e-06/1.542, allocations: 0 / 0.5965 GB, free: 67.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.05092/1.593, allocations: 9.389 MB / 0.6056 GB, free: 63.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.593, allocations: 173.2 kB / 0.6058 GB, free: 63.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008779/1.602, allocations: 3.28 MB / 0.609 GB, free: 61.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003822/1.603, allocations: 41.48 kB / 0.609 GB, free: 61.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002773/1.605, allocations: 2.67 MB / 0.6116 GB, free: 59.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009209/1.606, allocations: 0.5006 MB / 0.6121 GB, free: 59.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/1.607, allocations: 99.73 kB / 0.6122 GB, free: 59.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004512/1.607, allocations: 0.5405 MB / 0.6128 GB, free: 58.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.613, allocations: 1.628 MB / 0.6143 GB, free: 58.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008415/1.621, allocations: 4.993 MB / 0.6192 GB, free: 53.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/1.628, allocations: 2.851 MB / 0.622 GB, free: 52.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/1.628, allocations: 40 kB / 0.622 GB, free: 52.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01637/1.645, allocations: 6.108 MB / 0.628 GB, free: 46.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.527e-05/1.645, allocations: 56 kB / 0.6281 GB, free: 46.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/1.645, allocations: 124 kB / 0.6282 GB, free: 46.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009443/1.646, allocations: 341.8 kB / 0.6285 GB, free: 46.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007803/1.654, allocations: 1.271 MB / 0.6297 GB, free: 45.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/1.657, allocations: 2.335 MB / 0.632 GB, free: 42.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0059/1.663, allocations: 286.3 kB / 0.6323 GB, free: 42.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.664, allocations: 332.5 kB / 0.6326 GB, free: 42.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * 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.001313/1.666, allocations: 0.5133 MB / 0.6331 GB, free: 41.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008009/1.666, allocations: 308 kB / 0.6334 GB, free: 41.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007558/1.674, allocations: 2.321 MB / 0.6357 GB, free: 39.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-05/1.674, allocations: 20 kB / 0.6357 GB, free: 39.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.674, allocations: 4 kB / 0.6357 GB, free: 39.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.897e-05/1.674, allocations: 6.938 kB / 0.6357 GB, free: 39.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.692, allocations: 5.811 MB / 0.6414 GB, free: 34.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/1.692, allocations: 0 / 0.6414 GB, free: 34.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.693, allocations: 166.4 kB / 0.6415 GB, free: 34.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003786/1.697, allocations: 0.711 MB / 0.6422 GB, free: 34.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000266/1.698, allocations: 20 kB / 0.6423 GB, free: 34.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008305/1.706, allocations: 4.435 MB / 0.6466 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.706, allocations: 4.562 kB / 0.6466 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.716, allocations: 4.364 MB / 0.6508 GB, free: 26.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/1.719, allocations: 0.5314 MB / 0.6514 GB, free: 26.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.72, allocations: 16 kB / 0.6514 GB, free: 26.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/1.723, allocations: 81.2 kB / 0.6515 GB, free: 26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000459/1.723, allocations: 72.52 kB / 0.6515 GB, free: 25.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.723, allocations: 30.53 kB / 0.6516 GB, free: 25.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00517/1.728, allocations: 2.273 MB / 0.6538 GB, free: 23.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.728, allocations: 0 / 0.6538 GB, free: 23.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006103/1.735, allocations: 0.8219 MB / 0.6546 GB, free: 23.11 MB / 458.7 MB 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 (90): * Single equations (assignments): 86 * 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.01085/1.745, allocations: 5.27 MB / 0.6597 GB, free: 18.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008361/1.754, allocations: 3.733 MB / 0.6634 GB, free: 14.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/1.754, allocations: 0 / 0.6634 GB, free: 14.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/1.756, allocations: 1.057 MB / 0.6644 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/1.759, allocations: 355.2 kB / 0.6647 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/1.782, allocations: 7.339 MB / 0.6719 GB, free: 5.871 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004443/1.786, allocations: 2.834 MB / 0.6747 GB, free: 3.027 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003307/1.789, allocations: 1.562 MB / 0.6762 GB, free: 1.465 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/1.789, allocations: 0 / 0.6762 GB, free: 1.465 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.435/6.225, allocations: 81.2 MB / 0.7555 GB, free: 111 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat