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 2.125/2.125, allocations: 209.4 MB / 216.9 MB, free: 6.742 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.546e-05, allocations: 4 kB / 267.6 MB, free: 5.398 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 48.7 MB / 316.3 MB, free: 4.605 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.5609, allocations: 89.69 MB / 406 MB, free: 2.879 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5613, allocations: 73.53 kB / 406.1 MB, free: 2.844 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7162/1.278, allocations: 92.4 MB / 498.5 MB, free: 88.77 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.425e-06/1.278, allocations: 0 / 498.5 MB, free: 88.77 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003131/1.278, allocations: 86.16 kB / 498.5 MB, free: 88.77 MB / 410.8 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.02418/1.302, allocations: 4.237 MB / 0.491 GB, free: 87.07 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/1.302, allocations: 9 kB / 0.491 GB, free: 87.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0336/1.336, allocations: 3.61 MB / 0.4945 GB, free: 86.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/1.354, allocations: 4.451 MB / 0.4989 GB, free: 86.24 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004895/1.355, allocations: 151.4 kB / 0.499 GB, free: 86.24 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003355/1.358, allocations: 257.9 kB / 0.4993 GB, free: 86.23 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02147/1.38, allocations: 8.17 MB / 0.5073 GB, free: 86.21 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03168/1.411, allocations: 10.71 MB / 0.5177 GB, free: 84.74 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003077/1.412, allocations: 33.44 kB / 0.5177 GB, free: 84.74 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/1.414, allocations: 17.09 kB / 0.5178 GB, free: 84.74 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002865/1.417, allocations: 1.341 MB / 0.5191 GB, free: 84.72 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08134/1.499, allocations: 38.76 MB / 0.5569 GB, free: 62.96 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008579/1.507, allocations: 5.085 MB / 0.5619 GB, free: 60.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005387/1.513, allocations: 2.92 MB / 0.5647 GB, free: 58.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002288/1.515, allocations: 1.888 MB / 0.5666 GB, free: 56.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/1.515, allocations: 56.56 kB / 0.5666 GB, free: 56.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=264): time 7.895e-06/1.515, allocations: 4 kB / 0.5666 GB, free: 56.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=285): time 0.05706/1.572, allocations: 16.7 MB / 0.5829 GB, free: 41.77 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.572, allocations: 77.16 kB / 0.583 GB, free: 41.69 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/1.578, allocations: 2.453 MB / 0.5854 GB, free: 39.52 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000797/1.579, allocations: 25.7 kB / 0.5854 GB, free: 39.49 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002511/1.581, allocations: 3.077 MB / 0.5884 GB, free: 36.69 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.583, allocations: 1 MB / 0.5894 GB, free: 35.79 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008115/1.584, allocations: 0 / 0.5894 GB, free: 35.79 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0005331/1.584, allocations: 0.5796 MB / 0.59 GB, free: 35.27 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006484/1.591, allocations: 2.725 MB / 0.5927 GB, free: 32.84 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009289/1.6, allocations: 6.094 MB / 0.5986 GB, free: 25.46 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00928/1.61, allocations: 4.099 MB / 0.6026 GB, free: 21.97 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/1.61, allocations: 36 kB / 0.6026 GB, free: 21.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.02811/1.638, allocations: 9.37 MB / 0.6118 GB, free: 13.3 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.638, allocations: 60.06 kB / 0.6118 GB, free: 13.24 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/1.638, allocations: 120 kB / 0.612 GB, free: 13.12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006568/1.645, allocations: 1.386 MB / 0.6133 GB, free: 11.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009879/1.655, allocations: 1.466 MB / 0.6147 GB, free: 10.26 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.669, allocations: 6.808 MB / 0.6214 GB, free: 3.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007782/1.677, allocations: 295.6 kB / 0.6217 GB, free: 3.051 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.679, allocations: 369.5 kB / 0.622 GB, free: 2.691 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (761): * Single equations (assignments): 754 * 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.001763/1.681, allocations: 412.9 kB / 0.6224 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01866/1.699, allocations: 5.776 MB / 0.6281 GB, free: 12.45 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.701, allocations: 300.1 kB / 0.6284 GB, free: 12.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02202/1.723, allocations: 6.408 MB / 0.6346 GB, free: 5.688 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001645/1.723, allocations: 54.25 kB / 0.6347 GB, free: 5.637 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.723, allocations: 11.38 kB / 0.6347 GB, free: 5.629 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.65e-05/1.723, allocations: 11.95 kB / 0.6347 GB, free: 5.617 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.343/2.066, allocations: 12.8 MB / 0.6472 GB, free: 92.09 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/2.066, allocations: 7.812 kB / 0.6472 GB, free: 92.09 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004705/2.071, allocations: 462.5 kB / 0.6476 GB, free: 92.09 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006859/2.078, allocations: 1.203 MB / 0.6488 GB, free: 92.09 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008125/2.079, allocations: 16.94 kB / 0.6488 GB, free: 92.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/2.094, allocations: 6.155 MB / 0.6548 GB, free: 90.9 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-05/2.094, allocations: 14.22 kB / 0.6548 GB, free: 90.9 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/2.119, allocations: 10.27 MB / 0.6649 GB, free: 89.45 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/2.122, allocations: 0.8131 MB / 0.6657 GB, free: 89.36 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/2.124, allocations: 12.95 kB / 0.6657 GB, free: 89.36 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003775/2.127, allocations: 164 kB / 0.6658 GB, free: 89.36 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/2.129, allocations: 166.8 kB / 0.666 GB, free: 89.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004052/2.129, allocations: 79.56 kB / 0.6661 GB, free: 89.34 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.004283/2.133, allocations: 1.604 MB / 0.6676 GB, free: 89.2 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.103e-06/2.133, allocations: 0 / 0.6676 GB, free: 89.2 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008364/2.142, allocations: 0.9946 MB / 0.6686 GB, free: 89.2 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (220): * Single equations (assignments): 213 * 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.0362/2.178, allocations: 12.77 MB / 0.6811 GB, free: 84.29 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02086/2.199, allocations: 6.652 MB / 0.6876 GB, free: 82.22 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.221e-05/2.199, allocations: 0 / 0.6876 GB, free: 82.22 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007869/2.207, allocations: 2.673 MB / 0.6902 GB, free: 81.23 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/2.21, allocations: 247 kB / 0.6904 GB, free: 81.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04514/2.255, allocations: 11.45 MB / 0.7016 GB, free: 77.04 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/2.266, allocations: 3.678 MB / 0.7052 GB, free: 75.69 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006442/2.273, allocations: 2.129 MB / 0.7073 GB, free: 73.98 MB / 426.8 MB Notification: Performance of SimCode: time 1.963e-06/2.273, allocations: 0 / 0.7073 GB, free: 73.98 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.396/6.669, allocations: 105.5 MB / 0.8103 GB, free: 97.01 MB / 442.8 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