Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.511e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09862, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4197/0.5184, allocations: 89.11 MB / 410.9 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5188, allocations: 78.86 kB / 411 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3697/0.8885, allocations: 85.57 MB / 496.6 MB, free: 10.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.8885, allocations: 4 kB / 496.6 MB, free: 10.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001858/0.8887, allocations: 71.94 kB / 496.7 MB, free: 10.38 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01392/0.9027, allocations: 3.647 MB / 0.4886 GB, free: 6.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.9027, allocations: 16.03 kB / 0.4886 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003033/0.9058, allocations: 0.7833 MB / 0.4894 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02713/0.933, allocations: 3.508 MB / 0.4928 GB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2974/1.23, allocations: 4.136 MB / 0.4968 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00059/1.231, allocations: 294.1 kB / 0.4971 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003244/1.234, allocations: 389 kB / 0.4975 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0408/1.275, allocations: 10.21 MB / 0.5075 GB, free: 98.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/1.275, allocations: 26.41 kB / 0.5075 GB, free: 98.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001822/1.277, allocations: 176.6 kB / 0.5076 GB, free: 98.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003192/1.281, allocations: 1.213 MB / 0.5088 GB, free: 98.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02941/1.31, allocations: 9.86 MB / 0.5185 GB, free: 98.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07393/1.384, allocations: 35.48 MB / 0.5531 GB, free: 78.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.398, allocations: 4.928 MB / 0.5579 GB, free: 76.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004444/1.402, allocations: 2.269 MB / 0.5601 GB, free: 75.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002178/1.405, allocations: 1.882 MB / 0.562 GB, free: 73.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/1.405, allocations: 52.16 kB / 0.562 GB, free: 73.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 6.111e-06/1.405, allocations: 3.594 kB / 0.562 GB, free: 73.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.0405/1.445, allocations: 11.24 MB / 0.573 GB, free: 70.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/1.445, allocations: 73.97 kB / 0.5731 GB, free: 70.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/1.45, allocations: 2.342 MB / 0.5754 GB, free: 68.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000506/1.45, allocations: 62.58 kB / 0.5754 GB, free: 68.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.452, allocations: 2.687 MB / 0.578 GB, free: 66.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.453, allocations: 0.8511 MB / 0.5789 GB, free: 65.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/1.454, allocations: 105.2 kB / 0.579 GB, free: 65.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003146/1.454, allocations: 0.5396 MB / 0.5795 GB, free: 65.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004519/1.458, allocations: 2.14 MB / 0.5816 GB, free: 63.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006416/1.465, allocations: 5.027 MB / 0.5865 GB, free: 57.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007141/1.472, allocations: 3.315 MB / 0.5897 GB, free: 54.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.658e-05/1.472, allocations: 28 kB / 0.5898 GB, free: 54.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02071/1.493, allocations: 7.713 MB / 0.5973 GB, free: 47.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.35e-05/1.493, allocations: 50.16 kB / 0.5973 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.493, allocations: 108.5 kB / 0.5974 GB, free: 47.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/1.497, allocations: 0.7957 MB / 0.5982 GB, free: 47.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007553/1.505, allocations: 1.196 MB / 0.5994 GB, free: 46.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008087/1.513, allocations: 4.142 MB / 0.6034 GB, free: 42.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/1.518, allocations: 289.2 kB / 0.6037 GB, free: 42.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/1.519, allocations: 307.4 kB / 0.604 GB, free: 41.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 24 (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.color[3],axis.color[2],axis.color[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 (636): * Single equations (assignments): 629 * 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.001173/1.521, allocations: 486.4 kB / 0.6045 GB, free: 41.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/1.521, allocations: 260.5 kB / 0.6047 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1.534, allocations: 4.682 MB / 0.6093 GB, free: 37.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.714e-05/1.534, allocations: 45.03 kB / 0.6093 GB, free: 37.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.534, allocations: 4 kB / 0.6093 GB, free: 37.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.32e-05/1.534, allocations: 7.875 kB / 0.6093 GB, free: 37.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0281/1.562, allocations: 10.58 MB / 0.6197 GB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/1.562, allocations: 4 kB / 0.6197 GB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003269/1.566, allocations: 365.1 kB / 0.62 GB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003634/1.569, allocations: 0.6535 MB / 0.6207 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004966/1.57, allocations: 44.73 kB / 0.6207 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/1.577, allocations: 3.59 MB / 0.6242 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/1.577, allocations: 11.94 kB / 0.6242 GB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.593, allocations: 7.608 MB / 0.6317 GB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/1.595, allocations: 0.6537 MB / 0.6323 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007893/1.596, allocations: 37.17 kB / 0.6323 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/1.599, allocations: 139.8 kB / 0.6325 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/1.599, allocations: 134.4 kB / 0.6326 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.599, allocations: 67.98 kB / 0.6327 GB, free: 15.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003399/1.603, allocations: 1.591 MB / 0.6342 GB, free: 13.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.203e-06/1.603, allocations: 0 / 0.6342 GB, free: 13.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005285/1.608, allocations: 0.9364 MB / 0.6351 GB, free: 12.93 MB / 426.7 MB 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.01673/1.625, allocations: 10.05 MB / 0.6449 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01229/1.637, allocations: 5.265 MB / 0.6501 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.637, allocations: 5.875 kB / 0.6501 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004971/1.642, allocations: 1.999 MB / 0.652 GB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/1.645, allocations: 310.3 kB / 0.6523 GB, free: 11.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03766/1.683, allocations: 9.77 MB / 0.6619 GB, free: 1.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3792/2.062, allocations: 3.305 MB / 0.6651 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005046/2.067, allocations: 1.818 MB / 0.6669 GB, free: 105.6 MB / 442.7 MB Notification: Performance of SimCode: time 2.053e-06/2.067, allocations: 0 / 0.6669 GB, free: 105.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.132/6.2, allocations: 91.9 MB / 0.7566 GB, free: 66.88 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat