Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.931e-05/4.941e-05, allocations: 4 kB / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4815, allocations: 54.85 MB / 359.9 MB, free: 2.598 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.692, allocations: 96.91 MB / 456.8 MB, free: 72 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.6924, allocations: 74.06 kB / 456.8 MB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7807/1.473, allocations: 94.39 MB / 0.5383 GB, free: 104.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.473, allocations: 0 / 0.5383 GB, free: 104.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002466/1.474, allocations: 80.5 kB / 0.5384 GB, free: 104.4 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.02041/1.494, allocations: 4.242 MB / 0.5425 GB, free: 102.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.494, allocations: 10.28 kB / 0.5425 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004813/1.499, allocations: 0.879 MB / 0.5434 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02869/1.528, allocations: 3.61 MB / 0.5469 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01864/1.546, allocations: 4.451 MB / 0.5513 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006247/1.547, allocations: 346.2 kB / 0.5516 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003463/1.55, allocations: 451.4 kB / 0.552 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04708/1.598, allocations: 11.59 MB / 0.5633 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003802/1.598, allocations: 41.83 kB / 0.5634 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003366/1.601, allocations: 210.5 kB / 0.5636 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004055/1.606, allocations: 1.337 MB / 0.5649 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04226/1.648, allocations: 11.09 MB / 0.5757 GB, free: 96.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08865/1.737, allocations: 41.35 MB / 0.6161 GB, free: 67.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/1.755, allocations: 5.9 MB / 0.6219 GB, free: 61.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00581/1.761, allocations: 2.979 MB / 0.6248 GB, free: 59.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002196/1.763, allocations: 1.882 MB / 0.6266 GB, free: 57.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/1.763, allocations: 63.84 kB / 0.6267 GB, free: 57.08 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 7.945e-06/1.763, allocations: 3.938 kB / 0.6267 GB, free: 57.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.07127/1.835, allocations: 16.61 MB / 0.6429 GB, free: 41.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/1.835, allocations: 77.41 kB / 0.643 GB, free: 41.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006197/1.841, allocations: 2.666 MB / 0.6456 GB, free: 38.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007127/1.842, allocations: 65.53 kB / 0.6456 GB, free: 38.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002345/1.844, allocations: 2.97 MB / 0.6485 GB, free: 35.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001707/1.846, allocations: 1.016 MB / 0.6495 GB, free: 34.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009277/1.847, allocations: 116 kB / 0.6496 GB, free: 34.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005356/1.848, allocations: 0.5669 MB / 0.6502 GB, free: 34.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006825/1.854, allocations: 2.761 MB / 0.6529 GB, free: 31.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009088/1.863, allocations: 5.883 MB / 0.6586 GB, free: 23.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009003/1.873, allocations: 4.066 MB / 0.6626 GB, free: 19.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/1.873, allocations: 32 kB / 0.6626 GB, free: 19.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02721/1.9, allocations: 9.485 MB / 0.6719 GB, free: 10.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.701e-05/1.9, allocations: 57.67 kB / 0.672 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.9, allocations: 120.1 kB / 0.6721 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006379/1.907, allocations: 1.377 MB / 0.6734 GB, free: 8.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00928/1.916, allocations: 1.388 MB / 0.6748 GB, free: 7.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.931, allocations: 7.19 MB / 0.6818 GB, free: 72 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007699/1.939, allocations: 410 kB / 0.6822 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.941, allocations: 344 kB / 0.6825 GB, free: 15.36 MB / 474.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.002517/1.943, allocations: 0.5396 MB / 0.683 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.944, allocations: 300.1 kB / 0.6833 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02247/1.967, allocations: 6.573 MB / 0.6897 GB, free: 7.891 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001424/1.967, allocations: 51.89 kB / 0.6898 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/1.967, allocations: 7.953 kB / 0.6898 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.88e-05/1.967, allocations: 11.95 kB / 0.6898 GB, free: 7.824 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.434/2.401, allocations: 13.98 MB / 0.7035 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-05/2.401, allocations: 5.969 kB / 0.7035 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007355/2.408, allocations: 461.3 kB / 0.7039 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/2.42, allocations: 1.207 MB / 0.7051 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001034/2.421, allocations: 55.19 kB / 0.7051 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02533/2.446, allocations: 6.519 MB / 0.7115 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.518e-05/2.446, allocations: 13 kB / 0.7115 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04076/2.487, allocations: 10.38 MB / 0.7217 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004542/2.492, allocations: 0.8216 MB / 0.7225 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/2.494, allocations: 45.45 kB / 0.7225 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006156/2.5, allocations: 204.3 kB / 0.7227 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001492/2.501, allocations: 170.3 kB / 0.7229 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006516/2.502, allocations: 75.67 kB / 0.7229 GB, free: 103.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007161/2.509, allocations: 1.814 MB / 0.7247 GB, free: 103.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.974e-06/2.509, allocations: 2 kB / 0.7247 GB, free: 103.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01209/2.521, allocations: 1.132 MB / 0.7258 GB, free: 103.5 MB / 474.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.03695/2.558, allocations: 12.77 MB / 0.7383 GB, free: 97.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01564/2.574, allocations: 6.635 MB / 0.7448 GB, free: 94.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/2.574, allocations: 3.5 kB / 0.7448 GB, free: 94.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00645/2.581, allocations: 2.706 MB / 0.7474 GB, free: 93.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/2.584, allocations: 350.6 kB / 0.7477 GB, free: 93.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03847/2.623, allocations: 11.68 MB / 0.7591 GB, free: 89.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008495/2.631, allocations: 3.684 MB / 0.7627 GB, free: 88.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005716/2.637, allocations: 2.142 MB / 0.7648 GB, free: 86.52 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/2.637, allocations: 0 / 0.7648 GB, free: 86.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.256/6.893, allocations: 106.4 MB / 0.8687 GB, free: 9.082 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat