Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.949/1.949, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.982e-05, allocations: 4 kB / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.5934, allocations: 90.09 MB / 411.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.5939, allocations: 79.94 kB / 412 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4066/1, allocations: 94.28 MB / 0.4944 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.001, allocations: 0 / 0.4944 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002452/1.001, allocations: 83.94 kB / 0.4945 GB, free: 0.6523 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: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.3058/1.307, allocations: 4.234 MB / 0.4986 GB, free: 97.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.307, allocations: 10.16 kB / 0.4986 GB, free: 97.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005001/1.312, allocations: 0.8785 MB / 0.4995 GB, free: 96.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02948/1.341, allocations: 3.611 MB / 0.503 GB, free: 96.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/1.361, allocations: 4.452 MB / 0.5074 GB, free: 96.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008299/1.361, allocations: 339.4 kB / 0.5077 GB, free: 96.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00349/1.365, allocations: 445.3 kB / 0.5081 GB, free: 96.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03898/1.404, allocations: 11.64 MB / 0.5195 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002947/1.404, allocations: 29.78 kB / 0.5195 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002932/1.407, allocations: 203.6 kB / 0.5197 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002874/1.41, allocations: 1.333 MB / 0.521 GB, free: 94.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03307/1.443, allocations: 11.22 MB / 0.532 GB, free: 94.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0885/1.532, allocations: 41.34 MB / 0.5723 GB, free: 69.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02622/1.558, allocations: 5.935 MB / 0.5781 GB, free: 66.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008111/1.566, allocations: 2.981 MB / 0.581 GB, free: 64.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00297/1.569, allocations: 1.884 MB / 0.5829 GB, free: 62.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.404e-05/1.57, allocations: 52.56 kB / 0.5829 GB, free: 62.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 1.061e-05/1.57, allocations: 0 / 0.5829 GB, free: 62.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.08014/1.65, allocations: 16.61 MB / 0.5992 GB, free: 48.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.65, allocations: 80.69 kB / 0.5992 GB, free: 48.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005764/1.656, allocations: 2.662 MB / 0.6018 GB, free: 46.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007202/1.656, allocations: 65.45 kB / 0.6019 GB, free: 46.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.659, allocations: 2.973 MB / 0.6048 GB, free: 43.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001627/1.66, allocations: 1.022 MB / 0.6058 GB, free: 42.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007414/1.661, allocations: 112 kB / 0.6059 GB, free: 42.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004247/1.662, allocations: 0.5683 MB / 0.6065 GB, free: 42.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006718/1.668, allocations: 2.759 MB / 0.6092 GB, free: 39.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009117/1.677, allocations: 5.918 MB / 0.6149 GB, free: 32.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009024/1.687, allocations: 4.075 MB / 0.6189 GB, free: 29.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.687, allocations: 32 kB / 0.6189 GB, free: 29.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02765/1.714, allocations: 9.783 MB / 0.6285 GB, free: 20.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/1.715, allocations: 52 kB / 0.6285 GB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/1.715, allocations: 112 kB / 0.6287 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006589/1.721, allocations: 1.389 MB / 0.63 GB, free: 18.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009344/1.731, allocations: 1.384 MB / 0.6314 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/1.746, allocations: 7.174 MB / 0.6384 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007303/1.753, allocations: 407.6 kB / 0.6388 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.755, allocations: 347.1 kB / 0.6391 GB, free: 9.332 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (717): * Single equations (assignments): 710 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001834/1.757, allocations: 0.5249 MB / 0.6396 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008016/1.757, allocations: 307.9 kB / 0.6399 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01936/1.777, allocations: 6.576 MB / 0.6463 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001162/1.777, allocations: 55.17 kB / 0.6464 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/1.777, allocations: 4 kB / 0.6464 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-05/1.777, allocations: 11.95 kB / 0.6464 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04545/1.823, allocations: 14.01 MB / 0.6601 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.513e-05/1.823, allocations: 8 kB / 0.6601 GB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004507/1.827, allocations: 455.3 kB / 0.6605 GB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006655/1.834, allocations: 1.212 MB / 0.6617 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007574/1.835, allocations: 51.98 kB / 0.6617 GB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3473/2.182, allocations: 6.506 MB / 0.6681 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-05/2.182, allocations: 11.62 kB / 0.6681 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0292/2.211, allocations: 10.38 MB / 0.6782 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003377/2.215, allocations: 0.8176 MB / 0.679 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/2.216, allocations: 50.84 kB / 0.6791 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004197/2.221, allocations: 203 kB / 0.6793 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/2.222, allocations: 163.2 kB / 0.6794 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00059/2.222, allocations: 80.36 kB / 0.6795 GB, free: 100.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005845/2.228, allocations: 1.816 MB / 0.6813 GB, free: 99.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.228, allocations: 0 / 0.6813 GB, free: 99.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008105/2.236, allocations: 1.134 MB / 0.6824 GB, free: 99.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02754/2.264, allocations: 12.78 MB / 0.6949 GB, free: 96.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01654/2.281, allocations: 6.821 MB / 0.7015 GB, free: 94.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/2.281, allocations: 0 / 0.7015 GB, free: 94.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006706/2.287, allocations: 2.737 MB / 0.7042 GB, free: 93.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/2.291, allocations: 353.1 kB / 0.7045 GB, free: 93.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03724/2.328, allocations: 11.68 MB / 0.716 GB, free: 89.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008091/2.336, allocations: 3.683 MB / 0.7195 GB, free: 88.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005675/2.342, allocations: 2.133 MB / 0.7216 GB, free: 86.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/2.342, allocations: 0 / 0.7216 GB, free: 86.31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.714/7.056, allocations: 107.2 MB / 0.8263 GB, free: 80.99 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat