Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.439/2.439, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.562e-05/4.567e-05, allocations: 11.92 kB / 347.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3943, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.581, allocations: 103.7 MB / 0.5006 GB, free: 2.867 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5814, allocations: 71.97 kB / 0.5007 GB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7484/1.33, allocations: 85.96 MB / 0.5846 GB, free: 55.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.33, allocations: 0 / 0.5846 GB, free: 55.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001665/1.33, allocations: 67.98 kB / 0.5847 GB, free: 55.39 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01353/1.344, allocations: 3.592 MB / 0.5882 GB, free: 51.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.344, allocations: 8.031 kB / 0.5882 GB, free: 51.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00339/1.347, allocations: 0.7706 MB / 0.589 GB, free: 50.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0261/1.373, allocations: 3.489 MB / 0.5924 GB, free: 47.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01559/1.389, allocations: 3.992 MB / 0.5963 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/1.389, allocations: 291.4 kB / 0.5965 GB, free: 43.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/1.392, allocations: 375.8 kB / 0.5969 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/1.419, allocations: 10 MB / 0.6067 GB, free: 32.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/1.419, allocations: 23.81 kB / 0.6067 GB, free: 32.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/1.421, allocations: 175.9 kB / 0.6069 GB, free: 32.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/1.423, allocations: 1.176 MB / 0.608 GB, free: 30.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/1.449, allocations: 9.673 MB / 0.6174 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07124/1.521, allocations: 34.71 MB / 0.6513 GB, free: 1.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/1.537, allocations: 4.9 MB / 0.6561 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005463/1.542, allocations: 2.279 MB / 0.6584 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002797/1.545, allocations: 1.88 MB / 0.6602 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/1.545, allocations: 56.45 kB / 0.6602 GB, free: 8.043 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 6.242e-06/1.545, allocations: 0 / 0.6602 GB, free: 8.043 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.04635/1.592, allocations: 11.17 MB / 0.6712 GB, free: 12.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/1.592, allocations: 73.41 kB / 0.6712 GB, free: 12.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005039/1.597, allocations: 2.325 MB / 0.6735 GB, free: 10.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004937/1.597, allocations: 53.7 kB / 0.6735 GB, free: 10.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002497/1.6, allocations: 2.642 MB / 0.6761 GB, free: 7.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001488/1.601, allocations: 0.844 MB / 0.677 GB, free: 6.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/1.602, allocations: 104 kB / 0.6771 GB, free: 6.699 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004861/1.602, allocations: 0.5339 MB / 0.6776 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005614/1.608, allocations: 2.142 MB / 0.6797 GB, free: 4.008 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00854/1.617, allocations: 4.949 MB / 0.6845 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008185/1.625, allocations: 3.3 MB / 0.6877 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.492e-05/1.625, allocations: 28 kB / 0.6877 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.02254/1.648, allocations: 7.388 MB / 0.695 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/1.648, allocations: 48.22 kB / 0.695 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.648, allocations: 104 kB / 0.6951 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004213/1.652, allocations: 0.8005 MB / 0.6959 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007994/1.66, allocations: 1.185 MB / 0.697 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009556/1.67, allocations: 4.137 MB / 0.7011 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/1.675, allocations: 287.8 kB / 0.7014 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.676, allocations: 300 kB / 0.7016 GB, free: 11.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (630): * Single equations (assignments): 623 * 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.001292/1.677, allocations: 499.2 kB / 0.7021 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/1.678, allocations: 268.5 kB / 0.7024 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.692, allocations: 4.663 MB / 0.7069 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/1.692, allocations: 43.98 kB / 0.707 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.692, allocations: 0 / 0.707 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.455e-05/1.692, allocations: 11.97 kB / 0.707 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3778/2.07, allocations: 10.5 MB / 0.7172 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/2.07, allocations: 6.688 kB / 0.7172 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002977/2.073, allocations: 360.7 kB / 0.7176 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003409/2.077, allocations: 0.655 MB / 0.7182 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/2.077, allocations: 43.94 kB / 0.7183 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006689/2.083, allocations: 3.583 MB / 0.7218 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/2.084, allocations: 10.66 kB / 0.7218 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/2.099, allocations: 7.606 MB / 0.7292 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007558/2.1, allocations: 315.2 kB / 0.7295 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005511/2.1, allocations: 39.16 kB / 0.7295 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/2.103, allocations: 139.5 kB / 0.7297 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/2.103, allocations: 132.1 kB / 0.7298 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/2.103, allocations: 66.5 kB / 0.7299 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002995/2.106, allocations: 1.587 MB / 0.7314 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/2.106, allocations: 0 / 0.7314 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005306/2.112, allocations: 0.9289 MB / 0.7323 GB, free: 134.5 MB / 0.5105 GB 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.01597/2.128, allocations: 10.05 MB / 0.7421 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01049/2.138, allocations: 5.091 MB / 0.7471 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/2.138, allocations: 0 / 0.7471 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003868/2.142, allocations: 1.97 MB / 0.749 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/2.144, allocations: 321.4 kB / 0.7493 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/2.169, allocations: 9.607 MB / 0.7587 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004628/2.173, allocations: 3.265 MB / 0.7619 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003714/2.177, allocations: 1.75 MB / 0.7636 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/2.177, allocations: 0 / 0.7636 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.716/5.893, allocations: 89.95 MB / 0.8515 GB, free: 43.69 MB / 0.5105 GB